cancel
Showing results for 
Search instead for 
Did you mean: 

Removing name space in message payload

former_member205100
Participant
0 Kudos

Hi All,

My scenario is JMS - PO - ECC (proxy - soap)

when I pass the xml payload the output of the message is generating with the namespace reference in each field ( which are being referred from other xsd while creating)

, I just want to delete those namespace before I send to ECC? the reason is the proxy is throwing an error saying Invalid payload content as it could not recognise the field with name space. I tried using anonymizer but didnt help , can this be achieved with other way?

or some issue with proxy generation in ECC, is there a statement that ECC should not receive the payload with namespace reference at field level.

Please advise on this.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member190293
Active Contributor
0 Kudos

Hi Sethuraman!

If your scenario is pass-through you could use XSL transformation in MessageTransformBean to remove namespaces from message.

Regards, Evgeniy.

former_member205100
Participant
0 Kudos

Hi,

the target structure is quite a complex and large so no point in doing that moreover its just a pass through and so both source and target structure remains same.

can this be done via mapping ?

Harish
Active Contributor
0 Kudos

Hi,

If you are using the Message type and data type, then remove the XML namespace from Message type. Refer the below blog for more details

https://blogs.sap.com/2005/12/05/how-to-remove-namespaces-in-mapping-xi/

regards,

Harish