class EnsLib.Siebel.HTTPOutboundAdapter
extends EnsLib.HTTP.OutboundAdapter
A subclass that logs in to Siebel. It has a "virtual" StayConnected mode, i.e the HTTP TCP socket
is not persistent but a Session cookie maintains state.
parameter SETTINGS = "SWEExtSource,SWECredentials,UseCookies,HttpHeaderProps";
These are the production settings for this object
property %SWECredentialsObj
as Ens.Config.Credentials;
This is the credentials object containing the values to be used to access the datasouce
property HttpHeaderProps
as %String;
A list of properties to set from HTTP headers, in the form: pkg.class.prop=hdrname,pkg.class.prop=hdrname,...
property SWECredentials
as %String;
This is the ID name of the set of credentials values to be used to log in to Siebel Workflow Engine (SWE)
property SWEExtSource
as %String;
Tells the Siebel Server the name of our system that's calling in.
property UseCookies
as %Boolean [ InitialExpression = 1 ];
If non-zero, stay logged on to the remote system between handling Requests
property cookie
as %String;
property loggedIn
as %Boolean [ InitialExpression = 0 ];
method Execute(pRequest As Ens.Request, Output pResponse As Ens.Response)
as %Status
method Login()
as %Status
method Logoff()
as %Status
method OnInit()
as %Status
This user callback method is called just after %OnNew()
method OnTearDown()
as %Status
This user callback method is called just before %OnClose()
method SWECredentialsSet(pInVal As %String)
as %Status
This is a Set accessor method for the SWECredentials property.