Problem Resolution
Author |
Thread:
APL Web Services and .NET |
E'Kong.Tse
|
APL Web Services and .NET
Posted:
Wednesday, July 20, 2005 9:46 AM (EST)
|
Hi,
I'm new at trying to get APL+Web Services to work with .NET and I'm running into problems.
I have a simple 'Hello World' function in APL and I have specified in the server configuration xml file that the function result type is of 'apl2soapwrapl'. I have also created the WSDL for it so that a web reference can be added in .NET. However, when I tried calling that function in .NET, the return value throws an exception because the result is wrapped in the correct SOAP envelope tags, but the HTTP response that should wrap around the SOAP envelope tags is expected to be of type 'text/xml' but it is currently of type 'application/octet-stream-soap'. How can I specify in the configuration file that after wrapping the result in SOAP tags, the HTTP response type should be 'text/xml'? I don't want to create the XML and SOAP tags inside the APL function that I'm calling if this is something I can set in the configuration file. Can someone please point me in the correct direction if they've gotten this to work in the past?
Thanks!
E'Kong
|
|
|