cancel
Showing results for 
Search instead for 
Did you mean: 

How to keep the xml-declaration (<?xml...) inside the soap payload for a WS request

Former Member
0 Kudos

Hello together,

I am facing the following problem while trying to call a WS from a third party partner, it requires an xml-declaration-Tag inside the soap-body, so I am using Java mapping to put it inside the payload.

But the SOAP 1.1 Adapter, that I am using, removes the declaration after the mapping and before sending the soap-message:

Do you have any idea how could I escape the adapter behavior?

BR

Volha

Accepted Solutions (1)

Accepted Solutions (1)

justin_santhanam
Active Contributor
0 Kudos

Hello Volha,

As Raghu mentioned enable the Check box - "Do not use SOAP envelope". Then with either XSLT mapping or Java mapping try to build the SOAP envelope in the mapping program itself.

Thanks!

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello,

That is standard soap header added by soap channel.

Try removing Do not soap enevlope in the soa channel and check.