10-19-2009 10:15 AM
I am trying to pass xml as a parameter into a webservice, however it does not appear to work.
The webservice is a .net service, one of the paramters required is a dataset. This is built in xml which I am putting into a string then adding it as a paramter using,
SoapObject rpc = new SoapObject(serviceNamespace, _soapAction);
I have no problems sending basic parameter types, just the complex type seems to be incorrect. Has any one else managed to use complex data types when communicating to a web service using Ksoap2?
Solved! Go to Solution.
10-19-2009 10:31 AM
10-19-2009 12:22 PM
Thanks for the reply,
Looking at the article it seems that you assign the mapping to the envelope, some of the parameters are ints, only one is complex and that is xsd:schema. How would this be added to one property as there seems to be no option for that?
10-20-2009 03:20 AM
10-20-2009 05:01 AM
Or if ur having trouble mapping stuff and if its jus Xml that u want to send across , u could simply convert the Xml to string and then send it. Its a crude way of doing it , i know but it will serve the purpose. ..