HTTP transport is one of
the largest mechanism through which integration happens between Siebel and
other Application. This happens in two modes.
The Scenario: We have a client which is going to send a request to other
system which we will call as Server.
1) Session
less Mode –
a) In this mode there is a connection
which gets established to the server using the Login Credentials, the message
or request is submitted to the server and then logs out it.
b) The session only last as
long as it takes to submit the request.
c) For every request a new session
gets created and authentication happens every time.
2) Session
Mode –
a) In this mode the client or
the request sender Logs in using the user credentials and will get an Id (i.e.
Session Id).
b) This Id is then used by
client to communicate to server whenever it needs to send request (send/request
data) to server.
c) In this mode the session
remains active for some time and after session the client gets Logged Off.
EAI HTTP Transport:
The EAI HTTP Transport
uses one of the following two methods with this transport:
a) Send - This
method supports outbound messages (XML documents sent from a Siebel application
to an external system).
b) SendReceive - This
method supports outbound messages (XML documents sent to a Siebel application
from an external system). This method is called Send and Receive a Response and
the HTTP response body is the response for the request.
GET and POST in Siebel - Get and Post both values are used to send the request to
other system. However when we have to send small data we use GET and whenever
the data is large or requires any data base operation we use POST.
Demo Outbound HTTP Transport Send method in
Session Less Mode.
Send method in session
less mode –
Input Argument:
a) <Value> - This is a required
argument for this message which contains the message which needs to be send to
the external system.
b) HTTPRequestMethod – This is an optional
parameter but it is uses to send the message.
c) HTTPRequestURLTemplate – This is an optional
parameter but this template is used for specifying the URL for data
Request(Provided by the external system).
Demo Outbound HTTP
Transport SendReceive method in Sessionless Mode.
Send Receive method in
session less mode -
Input Argument:
a) <Value> - This is an optional
argument for this message which contains the message which needs to be send to
the external system.
b) HTTPRequestMethod – This is an optional
parameter but it is uses to send the message.
c) HTTPRequestURLTemplate – This is an optional
parameter but this template is used for specifying the URL for data Request (Provided
by the external system).
Output Argument:
d) EndOfData – Returns True if end of data has been
reached.
e) TimedOut – Returns True if receive timed out and no data was available. False if
request completed.
Demo Outbound HTTP
Transport Send method in Session Mode.
In Session mode as we
create a session and for it some are the key parameters to login to external
system, Send the Request and Log Out of the system.
Send method in session
mode –
Send method in session
mode –
Input Argument:
a) <Value> - This is an optinonal argument
for this message which contains the message which needs to be send to the
external system.
b) HTTPRequestMethod – This is an optional
parameter but it is uses to send the message.
c) HTTPRequestURLTemplate – This is an optional
parameter but this template is used for specifying the URL for data Request
(Provided by the external system).
Additional Arguments
needed for session mode.
d) HTTPLoginMethod – This is optional HTTP Method to use for Login. Defaults to RequestMethod
e) HTTPLoginURLTemplate - Template for specifying URL for Login request.
f) HTTPLogoffMethod – This is optional HTTP Method
to use for Logoff. Defaults to LoginMethod
g) HTTPLogoffURLTemplate - Template for specifying
the URL for Logoff request.
Demo Outbound HTTP Transport SendReceive method
in Session Mode.
Input Argument:
a) <Value> - This is an optinonal argument
for this message which contains the message which needs to be send to the
external system.
b) HTTPRequestMethod – This is an optional
parameter but it is uses to send the message.
c) HTTPRequestURLTemplate – This is an optional
parameter but this template is used for specifying the URL for data Request
(Provided by the external system).
Additional Arguments
needed for session mode.
d) HTTPLoginMethod – This is optional HTTP Method to use for Login. Defaults to RequestMethod
e) HTTPLoginURLTemplate - Template for specifying URL for Login request.
f) HTTPLogoffMethod – This is optional HTTP Method
to use for Logoff. Defaults to LoginMethod
g) HTTPLogoffURLTemplate - Template for specifying
the URL for Logoff request
Note: I have not given
the User Name and Passwords and leave it for you to explore how to provide
them.
Output Argument:
h) EndOfData – Returns True if end of data has been
reached.
i) TimedOut – Returns True if receive timed out and no data was available. False if
request completed.
In this post I have
talked about sending the data from Siebel. In the next coming post I am going
to talk about the Receiving the data in Siebel.
No comments:
Post a Comment