Name space prefix issue with SOAP Web service

Name space prefix issue with SOAP Web service

  

Hello Everyone,


I am trying to consume a SOAP web service in my application, which should have elements with name space prefixes, something like that -

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v2="http://www.example.com/schemas/abc/framework/xyz/abc_common/v2/" xmlns:v1="http://www.example.com/schemas/customer/v1/">
   <soapenv:Header/>
   <soapenv:Body>
      <GetCompanyInfo>
         <v2:Metadata compId="111" timestamp="1900-01-01T05:57:16" location="22" country="US"/>
         <v1:CompanyId>111</v1:CompanyId>
         <v1:CompanyName>abc</v1:CompanyName>
         <v1:PostCode>12345</v1:PostCode>
      </GetCompanyInfo>
   </soapenv:Body>
</soapenv:Envelope>

I am able to generate request without prefixes but I need it with prefixes v1 and v2 as highlighted.

Has anybody faced similar problem, if yes please respond with the solution?


Many thanks in advance.


-Vaibhav Sharma

Vaibhav,

With Xml Records Extension in the forge you can try manipulate the base attribute and make this work using Xml Config that extension already have.


Hope helped and Regards