cancel
Showing results for 
Search instead for 
Did you mean: 

Statefull WebServices with XI

Former Member
0 Kudos

Hello,

We need to be able to call Statefull WebServices with XI.

In total we need to call 3 webservices in sequence. The first Webservice is the LogOn call to the external Application system. This webService logs on to the external application system with the user/password supplied in the webService. As a result the logon session is stored in the webServer session and passed as JSESSIONID in a cookie.

The following webServices need this cookie/JSESSIONID to have the logon session. How can we do something like this in XI?

Http Header of the SOAP request looks something like this :

Cookie:JSESSIONID=x0BRC23DF ...

Greetings,

Bart

Accepted Solutions (0)

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Bart,

1. You need a BPM.

2. You need to manually create the SOAP Envelope and add the Session ID to the SOAP Envelope in the Mapping and then in the Receiver SOAP adapter select option , "Do Not Use SOAP Envelope"

Whenever there is a need to add a Field to the SOAP Header, you need to manually create the SOAP Envelope in the mapping and then select the option i have pointed above.

regards

Bhavesh

Former Member
0 Kudos

Hello Bhavesh,

Thx for your answer. But the cookie needs to be retrieved from/set in the Http header, not the SOAP Header.

I'll try my luck with the message specific adapter variables.

Greetings,

Bart