10.3 and WebServices kWSSOAPMessageHeaders
10.3 and WebServices kWSSOAPMessageHeaders
- Subject: 10.3 and WebServices kWSSOAPMessageHeaders
- From: Peer Allan <email@hidden>
- Date: Thu, 7 Jul 2005 09:01:55 -0500
Hi all,
I have been working on a SOAP client and trying to use the Web services
API. The problem I have run into is on Panther and trying to set SOAP
headers. The following call does not work under Panther:
WSMethodInvocationSetProperty(soapCall, (CFStringRef)
kWSSOAPMessageHeaders, (CFArrayRef) soapHeaders);
What should be happening is that the above call would create the
<env:header> section for my SOAP message, but according to debug dump
of the SOAP message it isn't there. I don't get any errors, except
faults from the SOAP service for not including the header.
According to the online docs
(http://developer.apple.com/documentation/Networking/Conceptual/
UsingWebservices/3_ref_folder/chapter_3.2_section_6.html and
http://developer.apple.com/documentation/Networking/Conceptual/
UsingWebservices/1_intro_folder/chapter_1_section_1.html#//apple_ref/
doc/uid/TP30000985-CH204) and the header file
(WebServicesCore/WSMethodInvocation.h) this should work on 10.2+.
I should also note that this DOES work correctly under Tiger, but I
need Panther compatibility. Does anyone know if this is supposed to
work under Panther or am I going to have to find another way to do this
without using Apple's API?
Thanks
Peer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden