cancel
Showing results for 
Search instead for 
Did you mean: 

Adding values to XI Soap Header

0 Kudos

Hi All,

We have scenario, Soap to RFC. We are generating the wsdl for the ICO. We want the end system to send some values in the soap header(XI Soap header). We have used the keep header in the sender soap communication channel and added the value to the variable binding. When we generate the wsdl, there is no header in wsdl. We can only get the body.

Kindly let us know if what we are doing is correct.

Also please let us know how it can be  done.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Pradhan,

A few cents. You can use the standard module addSOAPHeaderBean () or you can use a XSL mapping (there are some examples in SCN) or java mapping to add them using the chekbox ponted out by Mark (Do Not Use SOAP Envelope).

Regards.

markangelo_dihiansan
Active Contributor
0 Kudos

Hi,


We want the end system to send some values in the soap header(XI Soap header). We have used the keep header in the sender soap communication channel and added the value to the variable binding. When we generate the wsdl, there is no header in wsdl. We can only get the body.

Checking the Keep Header option will only include the XI header as part of the response message. It will not be included in the request message. The variable binding allows you to place three variable headers (HTTP Headers) that you can use in dynamic config, it will not populate the SOAP Header at all.

If there is information in the SOAP Header that you need, you might as well run it in noSOAP mode by checking Do Not Use SOAP Envelope in your sender CC.

Regards,

Mark