I am trying to re-create the following XML request using NuSoap and send to a server. The server expects a request that looks like the following.
POST /UserRegistratoin/services/Register/ HTTP/1.0
Host: 192.168.0.3:9000
User-Agent: NuSOAP/0.9.5 (1.123)
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 899
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:v2="http://www.ipma.com.cn/schema/common/v2_1"
xmlns:loc="http://www.csapi.org/schema/parlayx/payment/amount_charging/v2_1/local">
<soapenv:Header>
<v2:RequestSOAPHeader>
<v2:User>895545</v2:User>
<v2:Password>098833</v2:Password>
<v2:timeStamp>20230303060629</v2:timeStamp>
</v2:RequestSOAPHeader>
</soapenv:Header>
<soapenv:Body>
<chargeAmount>
<endUserIdentifier>737329292929</endUserIdentifier>
<referenceCode>2</referenceCode>
</chargeAmount>
</soapenv:Body>
</soapenv:Envelope>