Example Request for the HTTP Protocol in Sessionless Mode

In 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://webserver/path

HTTP Body = SWEExtSource=source&SWEExtCmd=Execute&UserName=username&Password=password&SWEExtData=data text
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 application/x-www-form-urlencoded without specifying the character set (for example, ;charset=UTF-8).

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 Mode

URL = http://www.example.com/siebel/app/eai/enu

HTTP Body = 
SWEExtSource=SiebelQuery&SWEExtCmd=Execute&UserName=user1&Password=login123
&SWEExtData=<?xml version="1.0" encoding="UTF-8"?>

<SiebelMessage MessageId="" MessageType="Integration Object" IntObjectName="Sample 
Account">

<ListofSampleAccount>
  <Account>
    <Name>A. K. Parker Distribution</Name>
    <ListOfContact>
      <Contact>
        <FirstName>Stan</FirstName>
        <LastName>Graner</LastName>
      </Contact>
    </ListOfContact>
  </Account>
</ListofSampleAccount>

</SiebelMessage>