Sun Microsystems 5.1.1 Https eWay With eInsight, Server Mode Operation, Node Name Description

Models: 5.1.1

1 114
Download 114 pages 56.55 Kb
Page 56
Image 56

Chapter 6

Section 6.2

Implementing the HTTPS eWay BPEL Sample Projects

HTTPS eWay With eInsight

6.2HTTPS 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.1Server 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

Checks or sets whether the requested session ID came in as a

ookie

cookie.

 

 

isRequestedSessionIdFromU

Checks or sets whether the requested session ID came in as part of

RL

the request URL.

 

 

isRequestedSessionIdValid

Checks or sets whether the requested session ID is still valid.

 

 

HTTPS eWay Adapter User’s Guide

56

Sun Microsystems, Inc.

Page 56
Image 56
Sun Microsystems 5.1.1 manual Https eWay With eInsight, Server Mode Operation, Receive Business Rule Designer Output Nodes