TIBCO ActiveMatrix BusinessWorks™

This section describes the case of a SOAP client based on ActiveMatrix BusinessWorks™.

The user wants to maintain a session (Statefull) across multiple web service calls. In this case, the user must invoke the Login service and BusinessWorks needs to maintain the sessionId returned from Login service in global context and appended the jsessionid=<> to the endpoint URL.

The user credentials are provided at the time of login and for every subsequent call the jsessionid token is passed. The BW-client provides an input area for the SOAPRequestReply activity as shown in the following figure:

If the user does not want to maintain a session (Stateless), the user need not invoke the Login service. However, you need to provide the userInfo in every consecutive invocation of any service. If the userInfo is not provided, an error is displayed.