crafter crafter - 1 month ago 10
Android Question

Ksoap2 complicated reaquest for beginners

How can i create ksoap2 request for this xml.

<soapenv:Envelope xmlns:soapenv="" xmlns:tem="">

I've tried requesting with soap object, but it does not work, i dont know what to do, little help will be appreciated


All you need is to create a SoapObject and pass it to bodyOut property of envelope.

SoapObject sub = new SoapObject(NAMESPACE, METHOD);
  sub.addProperty("strCode", value);
  envelope.bodyOut = sub;