09-06-2010 02:31 AM
I have seen examples where they have used ClassMap to provide mapping for complex types, but they are only with ksoap.
i tried the same with ksoap2 but it does not recognize ClassMap??? why is it so? am i missing something?
09-06-2010 05:32 AM
Okay i guess i will have to use SoapSerializationEnvelope.addMapping to include complex types into the call to the web service.
But here i need some assistance on what parameters i need to pass to the method, Can someone assist me with the same please?
09-06-2010 05:35 AM
09-06-2010 06:34 AM
i have already gone thru this link,
Well i am looking for the value that i need to pass as parameters in envelope.addMapping() more specifically what should i pass as the namespace argument?
Do i pass the namespace of my current webservice (http://www.tempuri.org/) ? otherwise how do i specify the value for the namespace?
09-06-2010 06:54 AM
the namespace for each element is defined in the wsdl. simple webservices may have only a single namespace, complex webservices have a lot of imports and definitions.
09-06-2010 07:45 AM
i tried the default service namespace .i.e. http://tempuri.org/ but i got a null exception. Also trying other urls have not given the desired result.
Clearly i am missing something fundamental here. But i am still looking.