crafter crafter - 1 year ago 136
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

Answer Source

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;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download