Closed GoogleCodeExporter closed 9 years ago
SoapObject soapObject = new SoapObject(getNamespace(), getMethodName());
if(params != null && !params.isEmpty()){
for(Map.Entry<String, String> e : params.entrySet()){
PropertyInfo info = new PropertyInfo();
info.setName(e.getKey());
info.setValue(e.getValue());
info.setType(String.class);
soapObject.addProperty(info);
}
SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.setOutputSoapObject(soapObject);
HttpTransportSE androidHttpTransport = new HttpTransportSE(getUrl());
androidHttpTransport.debug = true;
try {
androidHttpTransport.call(getSoapAction(), envelope);
Log.e("Soap error, request ",androidHttpTransport.requestDump);
Log.e("Soap error, response ",androidHttpTransport.responseDump);
response = (SoapObject)envelope.getResponse();
Log.e("Object response", response.toString());
} catch (Exception e) {
Log.e(e.getMessage(), e.toString());
e.printStackTrace();
}
Original comment by shoaibas...@yahoo.com
on 8 Jul 2013 at 11:43
Duplicate of http://code.google.com/p/ksoap2-android/issues/detail?id=158
Original comment by shoaibas...@yahoo.com
on 8 Jul 2013 at 12:05
Original comment by mosa...@gmail.com
on 8 Jul 2013 at 6:07
Original issue reported on code.google.com by
shoaibas...@yahoo.com
on 8 Jul 2013 at 11:39