Search code examples
androidweb-servicesksoap2

webservice on android with ksoap2 too slow


I have an android application acessing an webservice that returns a big result. The return type, on the webservice C# server, is the type XmlElement. My problem is, when I call it using ksoap2 on the android app, it takes a lot of time to process the result. As the result is a xml, how can I force the ksoap to give me an String result without process it into a SoapObject? Or there is another way to process the result more quickly?

Thanks and sorry for my bad english


Solution

  • I guess http get or post and sax xml parser can be used without soap. You will get faster response, smaller app size.