Hi all

I've been testing the CoreServices with WebServices lately and had some issues 
with methods returning arrays.

We've setup a very simple Web Service with a method that returns an array of 
strings. My problem here is that when I get the results out of the NSDictionary 
returned by WSMethodInvocationInvoke call, I receive only the last string.

I've tried supplying a custom callback for it using 
WSMethodInvocationAddDeserializationOverride but nothing does, still only the 
last string finds its way in the result. I kind of understand why since both 
element returned have the same name (return) in the XML. We clearly see the 2 
elements in the debug XML In.

Its rather usual to return multiple elements from a WS, so my question: How can 
I tell the Framework to insert all items returned in my results? Is it possible 
with this framework in the first place?

Thanks for the help.
Eric.




Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to