WebServicesCore.framework & SOAP?
WebServicesCore.framework & SOAP?
- Subject: WebServicesCore.framework & SOAP?
- From: Francis Lachapelle <email@hidden>
- Date: Fri, 22 Nov 2002 00:22:06 -0500
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
[francis@chicgeek ~]$ od -c -N 120 /dev/random > ~/.signature
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.