ksoap

How to call a .NET Webservice from Android using KSOAP2?

狂风中的少年 提交于 2019-11-26 01:57:00
问题 I have a problem while calling a webservice. I have a .NET web service on the server, and I am using KSOAP2 (ksoap2-j2se-full-2.1.2) in Android. While running the program I got an runtime exception like \"org.ksoap2.serialization.SoapPrimitive\". What should I do? Here is my code. package projects.ksoap2sample; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.ksoap2.transport.HttpTransportSE;