Bookshelf Home | Contents | Index | PDF |
Transports and Interfaces: Siebel Enterprise Application Integration > EAI HTTP Transport > Using the EAI HTTP Transport for Inbound Integration > Using the EAI HTTP Transport in Sessionless ModeUsing the EAI HTTP Transport in sessionless mode allows you to use one URL to perform Login, Request, and Logoff in a single HTTP request. This mode does not use session cookies because there is no login session between the HTTP requests. The disadvantage of this mode is the overhead incurred by the Application Object Manager needing to log in with every request. Table 23 presents each of the variables for sessionless mode. Example Request for the HTTP Protocol in Sessionless ModeIn this example using HTTP POST, the URL describes the parameters for the HTTP Inbound Transport call over HTTP. Unlike session mode, the SWEExtCmd is Execute, not ExecuteLogin. URL = http:// HTTP Body = SWEExtSource= NOTE: When using sessionless mode with the POST method, the XML data text must be URL-encoded to prevent any errors. When using the sessionless mode with the POST method, the data text includes the login credentials as well as the XML document. Therefore, it is recommended that the data text be URL-encoded and that the Content-Type header be set to Use an escape code for any special characters (that is, use an ampersand, followed by the special character's escape characters, followed by a semi-colon) before encoding them for the URL. For more information, see the topic on special (escape) characters in XML Reference: Siebel Enterprise Application Integration. Example for Sessionless ModeURL = http://www.example.com/eai_enu/start.swe HTTP Body = SWEExtSource=SiebelQuery&SWEExtCmd=Execute&UserName=user1&Password=login123 <SiebelMessage MessageId="" MessageType="Integration Object" IntObjectName="Sample Account"> |
Transports and Interfaces: Siebel Enterprise Application Integration | Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |