Skip to Content
0
Former Member
Jul 21, 2016 at 06:35 AM

replace Namespace in SOAP Receiver Payload

176 Views

Hi Experts ,

I have a requirement to replace the namespace prefix in the below XML., before calling the webservice using SOAP Receiver.

Input :

<ns1:updatecustomer xmlns:ns1="http://www.examples.com/wsdl/cust.wsdl">

<field1>1</field1>

<field2>2</field2>

</ns1:updatecustomer>

Expected Output :

<urn:updatecustomer xmlns:urn="http://www.examples.com/wsdl/cust.wsdl">

<field1>1</field1>

<field2>2</field2>

</urn:updatecustomer>

I have tried using XMLAnonymizerBean and it has not worked . Please suggest how this requirement can be achieved.

Regards,

Nick