I am a new comer to web service via SOAP protocol. And I'm developing a client side program using SOAP protocol. And I turned to kSoap lib. But I encountered a problem here.
I want to form a body part of a SOAP message like this:
And I used a SoapObject as the outBody. Here are my java codes:
SoapObject request = new SoapObject(nameSpace, "OnDemandRequest");
And I got:
And my question is how can I add the "id" attribute to the OnDemand property?
Thanks in advance! This problem is killing me...