tags:

views:

17

answers:

0

Hi, we are calling POX (java) webservice from .NET code using Channel.Request method. we need to add custom namespace "xmlns:ser="http://services.billing.pl.XXX.com" in the Soap envelop message. Could you please let me know how to add this namespace in Soap envelope.

We need add the namespace xmlns:ser="http://services.billing.pl.XXX.com" as shown below.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.billing.pl.XXX.com"&gt;
  <soapenv:Header/>
  <soapenv:Body>
    <ser:GetBillPlansRequest>
      <policy Accountno="100">
        <premium premiumTypeCode="INS"/>
        <premium premiumTypeCode="PIF"/>
      </policy>
    </ser:GetBillPlansRequest>
  </soapenv:Body>
</soapenv:Envelope>