cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove <?xml version="1.0" encoding="UTF-8"?> in receiver payload

Former Member
0 Kudos

hi experts,

how to remove <?xml version="1.0" encoding="UTF-8"?> from receiver payload.

my source srtucture is ,

<?xml version="1.0" encoding="UTF-8"?>

<ns0:entity-data xmlns:ns0="http://www.xxx.com">

<Customer>

<CustNo>xxx</CustNo>

</Customer>

</ns0:entity-data>

in receiver payload i dont wont " <?xml version="1.0" encoding="UTF-8"?> "

i want receiver payload

<ns0:entity-data xmlns:ns0="http://www.xxx.com">

<Customer>

<CustNo>xxx</CustNo>

</Customer>

</ns0:entity-data>

can any one provide me the solution for this.

regards,

ganesh

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Use XSLT Mapping or Java Mapping to achieve this.

Answers (2)

Answers (2)

Former Member
0 Kudos

hi vijayakumar,

thanx for ur response....

Shabarish_Nair
Active Contributor
0 Kudos

use a java mapping and replace the <?xml version="1.0" encoding="UTF-8"?> with and empty string