WebServices, anybody?
WebServices, anybody?
- Subject: WebServices, anybody?
- From: Ondra Cada <email@hidden>
- Date: Sat, 24 Apr 2004 02:13:36 +0200
Hello,
I've got a strange problem: generating an array (of dicts) parameter, I
keep getting an XML SOAP request of a kind
<m:Query SOAP-ENC:arrayType=\"xsd:anyType[2]\"
xsi:type=\"SOAP-ENC:Array\">
<item_0 xsi:type=\"SOAP-ENC:Dictionary\"> ... </item_0>
<item_1 xsi:type=\"SOAP-ENC:Dictionary\"> ... </item_1>
</m:Query>
The problem is, the server (which is completely outside of my control)
does not want "item_N" elements; it wants elements of the same name,
say, QueryItem. Is there a way how can I ensure the sent SOAP request
looks like
<m:Query SOAP-ENC:arrayType=\"xsd:anyType[2]\"
xsi:type=\"SOAP-ENC:Array\">
<m:QueryItem xsi:type=\"SOAP-ENC:Dictionary\"> ...
</m:QueryItem>
<m:QueryItem xsi:type=\"SOAP-ENC:Dictionary\"> ...
</m:QueryItem>
</m:Query>
I've tried to install my own _myProc serializer using
WSMethodInvocationAddSerializationOverride(invocation,eWSArrayType,_myPr
oc,NULL);
but to no avail--_myProc does not get called...
Thanks a lot for any advice,
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.