Skip navigation.
 
mlWebServicesCore.framework & SOAP?
FROM : Francis Lachapelle
DATE : Fri Nov 22 06:22:06 2002

Hi

I'm trying to use the new Web Services Core in OS X 10.2 to call a SOAP
service. It looks good but I need to change the encoding style of my
request to literal XML encoding
(http://xml.apache.org/xml-soap/literalxml) so that the service
properly returns a DOM Element. Reading the documentation and Apple
headers files, it seems easy :

WSMethodInvocationSetProperty(rpcCall, kWSSOAPBodyEncodingStyle,
kWSSOAPStyleDoc);

However, it doesn't change anything in the definition of the SOAP
envelope. Whatever I specified as the encoding parameter
(kWSSOAPStyleDoc or kWSSOAPStyleRPC), the only thing I see when
sniffing the constructed packets is the following comment (!):

<!-- RPC.style.encoding.requeested -->

And yes, this is regardless of the encoding style!

So what should I conclude? Simply that SOAP support is not fully
implemented in OS 10.2.2? Or maybe I am missing something?

Any help would be very appreciated!

Thanks!


Francis

[<email_removed> ~]$ od -c -N 120 /dev/random > ~/.signature
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
No related mails found.