cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting Message Type name and namespace tag from XML payload

Former Member
0 Kudos

Hi Gurus,

Need help. My payload looks like this

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

- <ns1:MT_O_sss xmlns:ns1="http://sap.com/xi/tm">

- <Job>

<Field name="xxxx" value="" />

<Field name="xxx" value="" />

<Field name="xxx" value="" />

</Job>

</ns1:MT_O_sss>

But The soap webservice is expecting it in

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

- <Job>

<Field name="xxxx" value="" />

<Field name="xxx" value="" />

<Field name="xxx" value="" />

</Job>

I have to remove the message type name and namespace tag.

So how can I achieve this. I am sending this payload using a Receiver Soap Adapter. Please help. I am kind of stuck.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member187563
Contributor
0 Kudos

hi,

you have to simply add one module in your communication channel

that is XMLAnonymizerBean

you can refer below for help:

http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm

hope it helps.

regards,

ujjwal kumar

Former Member
0 Kudos

Hi,

I had a similar problem. I solved it by importing the wsdl into my interface objects as an external definition. I then used the external message for defining my inbound interface (receiver interface) and doing all my mappings.

Try this, it should work.

Regards