I want to create SOAP request programatically having following structure by using the ksoap2-android-assembly-2.5.8-jar-with-dependencies.jar :
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:con="http://www.google.com/Consumer/">
<soapenv:Header>
<con:RequestHeader>
<!--Optional:-->
<serviceId></serviceId>
<serviceCode>CUSTREG</serviceCode>
<phaseCode>MOBREG</phaseCode>
<subTransactionCode>MOBREG</subTransactionCode>
<interactionCode>LOGIN</interactionCode>
<!--Optional:-->
<bearer></bearer>
<!--Optional:-->
<clientRefId></clientRefId>
</con:RequestHeader>
</soapenv:Header>
<soapenv:Body>
<con:Login>
<LoginRequest>
<uniqueId>+911234567890</uniqueId>
<password>123456</password>
<!--Optional:-->
<uuid></uuid>
</LoginRequest>
</con:Login>
</soapenv:Body>
</soapenv:Envelope>
Thanks in Advance.