2 https eway with einsight, 1 server mode operation, Https eway with einsight – Sun Microsystems 5.1.1 User Manual
Page 56: Server mode operation
 
Chapter 6
Section 6.2
Implementing the HTTPS eWay BPEL Sample Projects
HTTPS eWay With eInsight
HTTPS eWay Adapter User’s Guide
56
Sun Microsystems, Inc.
6.2
HTTPS eWay With eInsight
An eInsight Business Process Activity can be associated with the HTTPS eWay during 
the system design phase. To make this association, select the desired GET or POST 
operation under the eWay in the Enterprise Explorer and drag it onto the eInsight 
Business Process Designer canvas.
The operation is automatically changed to an Activity with an icon identifying the 
component that is the basis for the Activity. At run time, eInsight invokes each step in 
the order defined by the Business Process. Using eInsight’s Web Services interface, the 
Activity in turn invokes the HTTPS eWay.
6.2.1
Server Mode Operation
Instead of GET and POST operations, the eWay’s server mode processes a Request 
operation. In addition these operations, the eInsight Business Rule Designer allows 
you to perform a variety of actions, represented by nodes in the Output and Input 
panes.
The actions allowed vary, depending on whether you are using the Receive or Reply 
functions. These actions allow you to perform operations in the same way as making 
calls using Java methods.
Table 10 explains the functions of these nodes.
Table 10 Receive: Business Rule Designer Output Nodes
Node Name
Description
authType
Gets or sets the name of the authentication scheme used to protect 
the servlet.
byteArray
Gets or sets the contents of the message as a byte array.
characterEncoding
Gets or sets the name of the character encoding used.
contentLength
Gets or sets the length, in bytes, of the message body.
contents
Sets the contents of the reply.
contentType
Gets or sets the MIME type of the body of the message, or null if the 
type is not known.
contextPath
Gets or sets the portion of the message URI that indicates the 
context of the message.
errorStatusCode
Gets or sets the error status code.
errorStatusMsg
Gets or sets the error status message.
isRequestedSessionIdFromC
ookie
Checks or sets whether the requested session ID came in as a 
cookie.
isRequestedSessionIdFromU
RL
Checks or sets whether the requested session ID came in as part of 
the request URL.
isRequestedSessionIdValid
Checks or sets whether the requested session ID is still valid.