Skip to Content

How to connect to SAP PI to Thirdparty using webservice via Jsession ID or not ?

Hi Gurus,

I have a req like SAP PI to connect to thirdpary system via webservices.Inorder to connect to that we are using SOAP Adapeter to connect to TPT system,but we are not able to connect to that system.

When i tried to post the data from SOAP UI we can able to connect but from PI we couldnot able to connect.

Is the target system is using Session ID ,If PI wants to connect to that system do we need to connect using Session ID ? If yes how can we conenct using SOAP adapter ? Please see the below data

When i have seen the raw data in SOAP UI it is as below:

Request message


Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8

SOAPAction: "abcd" Content-Length: 4601


Connection: Keep-Alive User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

Cookie: BIGipServerpool_abcd=445632326442.232.0000; JSESSIONID=97504eifwfwiewei9CF6A31AAEE382158

Cookie2: $Version=1 Authorization: Basic c3ZjQXJpYmE6JHZjQFJpYmE3MjY=

Does it mean is Thirdparty using Session ID or not ? Please confirm.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 31, 2017 at 11:37 AM

    Hi Sahiti,

    AFAIK the JSESSIONID implies a cookie in the communication. AFAIK you can do it with your own java development or with SOAP AXIS ( The AXIS libraries are not installed by default in PI, your basis team would need to install them.


    Add comment
    10|10000 characters needed characters exceeded

    • Hi Inaki,

      We have installed the axis adapter in our system.But while configuring as per the above document,they mentioned to use UDF in the message mapping to pass cookie.

      My Target request str looks like



      <field1></field1> so on



      I have few queries:

      a) Could you please let me know where to pass the session id /cookie in the target str ?

      b) Do we need to create a separate mapping with one node or have to use the same in the mapping as per the above str ?

      Thanks in Advance!!