Web Services #2
Web Services #2
- Subject: Web Services #2
- From: Davindra Singh <email@hidden>
- Date: Fri, 27 Jun 2003 00:29:37 -0700
Thanks guys for the quick response.
I have another question for you.
In the same Web Service and Client example, I have a function on the Web Service that returns all the Users in the Database, in an NSArray. The Client then calls the WOWebServiceClient.invoke() method with all the correct parameters, and the results are returned. However the results are returned in the form of an Object. The Object contains the NSArray. When I try to cast the Object to an NSArray, I get a single dimension NSArray with the Object as an element. I haven't been able to get access to the elements of the original NSArray. I know this is probably a simple mistake, but I'm wondering if someone could demonstrate how to get the NSArray out of the Object the invoke method returns.
Also I've noticed that when I returned the NSArray of Users, it got converted to an NSArray of com.webobjects.webservices.support.xml.WOStringKeyMap's. I figured that was common stuff, but I was curious if I should include the java files that EOModeler created into my client class to cast the com.webobjects.webservices.support.xml.WOStringKeyMap's back into Users, or if that was impossible.
Any help would be appreciated.
Thanks in advance.
-Dave
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.