Siebel Web UI Dynamic Developer Kit Guide > Using Native Web Service Technology Stacks >

Implementing Siebel Session Management and Authentication SOAP Headers


IBM WebSphere and Oracle WebLogic provide native technology stacks for supporting Web service clients. To implement Siebel session management and authentication SOAP headers using these stacks, you need to write custom code for setting and getting the SOAP headers. See the following topics for examples:

Siebel session management and authentication SOAP headers are used to pass user credentials and session information back and forth between the Siebel Server and the custom UI. The two primary scenarios for using Siebel session management and authentication SOAP headers are:

  • The custom UI sends a valid username and password to the Siebel Server in the SOAP header request. The Siebel Server returns a SessionToken containing a Session ID in the SOAP header response.
  • The custom UI sends a SessionToken (received from a previous login) to the Siebel Server in the SOAP header request. The Siebel Server uses the SessionToken to reconnect to an open session and then returns a new SessionToken in the SOAP header response.

    NOTE:  Requests (except for login requests) must include a SessionToken returned in the previous response from the Siebel Server.

Table 7 summarizes the Siebel session management and authentication SOAP headers.

Table 7. Siebel Session Management and Authentication SOAP Headers
Name
Description
Sample Siebel SOAP Headers

SessionType

Type of session (Stateful, Stateless, or Server Managed).

<soapenv:Header xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<ns1:SessionType xmlns:ns1="http://siebel.com/webservices">stateless</ns1:SessionType>
<ns2:UsernameToken xmlns:ns2="http://siebel.com/webservices">SADMIN</ns2:UsernameToken>
<ns3:PasswordText xmlns:ns3="http://siebel.com/webservices">MSSQL</ns3:PasswordText>
</soapenv:Header>

NOTE:  Values for SessionType are case insensitive.

UsernameToken

User's Login ID name.

PasswordText

Password used by the Login ID.

SessionToken

Siebel generated token (encrypted) that includes Session ID, username, and password.

<siebel-header:SessionToken xmlns:siebelheader="http://siebel.com/webservices">MN9SxI9Any9zGQTOFIuJEJfCXjfI0G- 9ZOOH4lJjbSd2P.G7vySzo07sFeJxUA0WhdnK</siebel-header:SessionToken>
</SOAP-ENV:Header>

For detailed information about Siebel session management and authentication SOAP headers, see Integration Platform Technologies: Siebel Enterprise Application Integration.

Siebel Web UI Dynamic Developer Kit Guide Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.