View Single Post
Old 12-23-2008, 01:54 PM   #23
shadowconsulting
New Member
 
Join Date: Nov 2008
Model: 8220
PIN: N/A
Carrier: T-Mobile
Posts: 1
Arrow Complex Types

Has anyone here been using ksoap2 with complex web services? I have gotten basic web service calls working with no problem. But in the project I am working on we have nested classes and data in almost all of the webservice calls and I am trying to use the ksoap2 ClassMap functionality to get my java objects populated. Even using it on a simple webservice call I can not seem to get the mapping correct. I end up getting ClassCastExceptions thrown. I have been able to view the data using the debug functionality in ksoap2 and the data I am getting should match up just fine with what object I am trying to cast the data to, but it doesn't work for some reason. If anyone has hints or worked on more complex webservice calls with ksoap let me know I could use all the help I can get right now on this. Examples would be good too. I have yet to find examples for ksoap that use complex types and nest class data structures.

Thanks!

- Dorian
Offline   Reply With Quote