Cocoa datatype SOAP encoding
Cocoa datatype SOAP encoding
- Subject: Cocoa datatype SOAP encoding
- From: "Tom Chen" <email@hidden>
- Date: Tue, 25 Nov 2008 13:13:42 -0800
I am trying to create a SOAP request in Cocoa. One of the parameters
of the request is an array of <Field>'s. What Cocoa datatype maps to
this SOAP parameter? The server is expecting something in the format
of:
<something>
<Field>
<x1>
<x2>
</Field>
<Field>
<x1>
<x2>
</Field> // Any number of <Field>'s after this, etc.
</something>
The problem with an NSArray is that when it is encoded, it results in
the tag being named <item_0>, <item_1>, etc. instead of <Field>. The
problem with using an NSDictionary is that there can only be one key
named Field. Does anyone know what Cocoa datatype is needed?
Thanks,
--Thomas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden