Skip to Content
0

Removing name space in message payload

Dec 15, 2016 at 11:26 PM

58

avatar image

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.

image.png (21.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Harish Mistri Dec 15, 2016 at 11:55 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Sethuraman Tamilarasan Dec 16, 2016 at 07:53 AM
0

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 ?

Share
10 |10000 characters needed characters left characters exceeded
Evgeniy Kolmakov Dec 16, 2016 at 07:56 AM
0

Hi Sethuraman!

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

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded