httptransportse

HttpTransportSE requestDump gives NullPointerException

别来无恙 提交于 2019-12-20 04:37:56
问题 I'm trying to access a webservice in Android via Ksoap2 for Android. The SoapObject is created OK, the S.O.P of the bodyOut outputs the desired strings. But when I do a requestDump of the HttpTransportSE object I create to make the call, a NullPointerException happens. In other words, the transport object is null. How can this happen? Web Service is at http://srilanka.lk:9080/services/CropServiceProxy?wsdl This service works very well with SoapUI. SoapUI Request: <soap:Envelope xmlns:soap=