Hi All I'm using the KSOAP2 2.6.5 but I also used 2.4 until the 2.6.5 and i received the same error:
private String METHOD = "getTicket";
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
SoapObject request = new SoapObject(NAMESPACE, METHOD);
request.addAttribute("login", "testeallin");
request.addAttribute("senha", "allin@teste456");
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
SoapEnvelope.VER11);
envelope.setOutputSoapObject(request);
HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
try {
log("point A");
androidHttpTransport.call(SOAP_ACTION, envelope);
log("point B");
String resultsRequestSOAP = envelope.getResponse().toString();
log("point C");
log(resultsRequestSOAP);
} catch (Exception e) {
e.printStackTrace();
log(e.toString());
}
}
private void log(String msg) {
Log.d("KSOAP2", msg);
}