Need information on Stateful and Stateless Web Services (Doc ID 482631.1)

Last updated on MAY 11, 2017

Applies to:

Siebel System Software - Version 7.8.2.3 [19221] and later
z*OBSOLETE: Microsoft Windows Server 2003
Product Release: V7 (Enterprise)
Version: 7.8.2.3 [19221] - 8.x
Database: Oracle 10.1.0.5
Application Server OS: Microsoft Windows 2003 Server SP1
Database Server OS: Sun Solaris 10

This document was previously published as Siebel SR 38-3325034511.



Symptoms

In production, we are currently using SessionType = None for all the inbound web services. Since that there is a possibility that the number of requests might increase in the future, the development team is currently exploring the possible options to implement stateful/stateless session type without increasing the number of Siebel servers (max EAI tasks).

We were able to test the sessiontype stateful and stateless but we were not able to find any differences. It was mentioned in the bookshelf that stateless session type does not require relogin in case that the session is closed. However, we got an error message upon using a token from a closed session.:

Error Code: 23939 Error Message: Error: Inbound SOAP Message - Session Token is missing or invalid or has expired


We also tried changing the sessiontype to stateful and use the same token, same error was encountered.

We also tried passing the UsernameToken, PasswordText, SessionType and SessionToken in the header but this always create a new session (which we do not want).

Can you clarify the difference between stateful and stateless? Which one would you recommend? Initially we are leaning towards stateless since a relogin will be done automatically (as stated in the bookshelf). But it seems that it is not working as expected. Are there additional parameters to be added in the header to make the stateless work apart from those mentioned in the bookshelf?

What does the integration team has to do in case that the integration server received the error message stated above?

What are the recommended values for SessionTokenTimeout, SessionTokenMaxAge and SessionTimeout?

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms