Gopi Krishnan

Gopi Krishnan

  • NA
  • 308
  • 7.3k

Reg:SOAP Webservice

Aug 3 2018 2:14 AM
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://tempuri.org/">
<env:Body>
<tem:ApplyTransactionResponse xmlns:at="http://cps.huawei.com/cpsinterface/goa/at" xmlns:goa="http://cps.huawei.com/cpsinterface/goa" xmlns:tem="http://tempuri.org/">
<at:ResponseCode>1</at:ResponseCode>
<at:ResponseDesc>Player is not available</at:ResponseDesc>
<at:Parameters>
<goa:Parameter>
<goa:Key>BillRefNumber</goa:Key>
<goa:Value> </goa:Value>
</goa:Parameter>
<goa:Parameter>
<goa:Key>TransID</goa:Key>
<goa:Value> </goa:Value>
</goa:Parameter>
<goa:Parameter>
<goa:Key>UtilityName</goa:Key>
<goa:Value> </goa:Value>
</goa:Parameter>
<goa:Parameter>
<goa:Key>CustomerName</goa:Key>
<goa:Value> </goa:Value>
</goa:Parameter>
<goa:Parameter>
<goa:Key>Amount</goa:Key>
<goa:Value> </goa:Value>
</goa:Parameter>
</at:Parameters>
</tem:ApplyTransactionResponse>
</env:Body>
</env:Envelope
 
this is thae actual response and also it comes correctly in our url but client check in SOAP UI Tools like POSTMAN and all it added some additional xml tags like below
 
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ApplyTransactionRequestResponse xmlns="http://tempuri.org/">
<ApplyTransactionRequestResult>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://tempuri.org/">
<env:Body>
<tem:ApplyTransactionResponse xmlns:at="http://cps.huawei.com/cpsinterface/goa/at" xmlns:goa="http://cps.huawei.com/cpsinterface/goa" xmlns:tem="http://tempuri.org/">
<at:ResponseCode>1</at:ResponseCode>
<at:ResponseDesc>Player is not available</at:ResponseDesc>
<at:Parameters>
<goa:Parameter>
<goa:Key>BillRefNumber</goa:Key>
<goa:Value></goa:Value>
</goa:Parameter>
<goa:Parameter>
<goa:Key>TransID</goa:Key>
<goa:Value></goa:Value>
</goa:Parameter>
<goa:Parameter>
<goa:Key>UtilityName</goa:Key>
<goa:Value></goa:Value>
</goa:Parameter>
<goa:Parameter>
<goa:Key>CustomerName</goa:Key>
<goa:Value></goa:Value>
</goa:Parameter>
<goa:Parameter>
<goa:Key>Amount</goa:Key>
<goa:Value></goa:Value>
</goa:Parameter>
</at:Parameters>
</tem:ApplyTransactionResponse>
</env:Body>
</env:Envelope>
</ApplyTransactionRequestResult>
</ApplyTransactionRequestResponse>
</soap:Body>
</soap:Envelope>
 
how can i remove that unwanted tags plz give any soultion

Answers (2)