Hi i want to make a request for soap using above soap xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:sap-com:document:sap:soap:functions:mc-style">
<soapenv:Header/>
<soapenv:Body>
<urn:AvailCheck>
<IUvail>
<Unit>PC</Unit>
<Qty>3000</Qty>
</IUvail>
</urn:AvailCheck>
</soapenv:Body>
</soapenv:Envelope>
So I created a code using ksoap library. i created an object for soapobject
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
and added the properties like this
request.addProperty("Unit", "PC");
request.addProperty("Qty", "3000");
but problem is i cant add <IUvail> in the requset.. So how can i add this?
You can pass a complex object (IUvail) like this:
IUvail.javaThen
Where NAMESPACE, URL, METHOD_NAME and TARGET_NAMESPACE depends on your ws.