cancel
Showing results for 
Search instead for 
Did you mean: 

REST Adapter - User Sessions do not close/end

Former Member
0 Kudos

Hello everybody!

We have exposed some function modules as RESTFul Services (using REST Sender Adapter). The problem is: we are calling these services  using different kinds of clients (like SOAP UI) and even after the end of the execution of the function module the user sessions stay opened in SAP PI. The sessions stay opened for 1.800 seconds (timeout parameter)!

This only happens with REST Adapter! We have lots of function modules exposed as SOAP Services whose user sessions are closed immediately after the execution of the function module! Looking at SAP Management Console we see that sessions opened via REST Adapter have the "State" column set to "Sticky". On the other hand, session opened via SOAP Adapter ARE NOT “Sticky”!

Using SOAP UI we have even tried to set "Connection: close" HTTP Header parameter, but it did not solve our problem!

Any ideas ?

Thank you in advance

Julio

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I had a feedback from SAP that there is a note to patch this problem! I am sharing this here for future references!

#2193125 - Using the REST adapter NetWeaver may run out of http sessions