Sun Microsystems 5.1.1 manual Receive Business Rule Designer Output Nodes

Page 57

Chapter 6

Section 6.2

Implementing the HTTPS eWay BPEL Sample Projects

HTTPS eWay With eInsight

Table 10 Receive: Business Rule Designer Output Nodes (Continued)

Node Name

Description

 

 

 

 

isSecure

Gets or sets a boolean indicating whether this message was made

 

using a secure channel, such as HTTPS.

 

 

method

Gets or sets the name of the HTTP method with which this message

 

was made; for example, GET, POST, or PUT.

 

 

name (WebHeaderList)

Gets or sets the name of the current Web header list.

 

 

name (WebParameterList)

Gets or sets the value of a request parameter as a String, or null if

 

the parameter does not exist.

 

 

pathInfo

Gets or sets any extra path information associated with the URL the

 

client sent when it made this message.

 

 

pathTranslated

Gets or sets any extra path information after the servlet name but

 

before the query string.

 

 

protocol

Gets or sets the name and version of the protocol the message uses

 

in the form protocol/majorVersion.minorVersion, for example,

 

HTTP/1.1.

 

 

queryString

Gets or sets the query string that is contained in the message URL

 

after the path.

 

 

redirectLocation

Gets or sets the URL to which the client is to be redirected.

 

 

remoteAddr

Gets or sets the Internet Protocol (IP) address of the client that sent

 

the message.

 

 

remoteHost

Gets or sets the fully qualified name of the client that sent the

 

message.

 

 

remoteUser

Gets or sets the log-in of the user making this request, if the user

 

has not been authenticated.

 

 

requestedSessionId

Gets or sets the session ID specified by the client.

 

 

requestURI

Gets or sets the part of this message's URL from the protocol name

 

up to the query string in the first line of the HTTP message.

 

 

requestURL

Gets or sets the reconstructed URL the client used to make the

 

request.

 

 

scheme

Gets or sets the name of the scheme used to make this request; for

 

example HTTP, HTTPS, or FTP.

 

 

serverName

Gets or sets the host name of the server that received the message.

 

 

serverPort

Gets or sets the port number on which this message was received.

 

 

servletPath

Gets or sets the part of this request's URL that calls the servlet.

 

 

status

Sets the status of the reply.

 

 

text

Gets or sets the contents of the message as a string.

 

 

values (WebHeaderList)

Gets or sets an array String objects containing all the values

 

contained in the current Web header.

 

 

values (WebParameterList)

Gets or sets an array String objects containing all the values the

 

given request parameter has, or null if the parameter does not exist.

 

 

HTTPS eWay Adapter User’s Guide

57

Sun Microsystems, Inc.

Image 57
Contents EWAY Https Adapter USER’S Guide Version Contents Http Settings Proxy Configuration Security Authentication Http OTD Method DescriptionsAdditional SSL Section Notes Verify hostname Server Mode Operation Connection Pool SettingsImplementing the Https eWay JCD Sample Projects Running the Sample Running the Sample in SSL ModeWhat’s in This Chapter About Http and HttpsAbout the Https eWay Http MessagesWeb Browser Cookies Sample Http Exchange in Client Mode GET and Post MethodsCookie Expiration Date Checking Body Html Sample Http Exchange in Server ModeSample Input Form What’s New in This ReleaseAbout This Document Intended Audience ScopeText Conventions Https eWay JavadocRelated Documents Sun Microsystems, Inc. Web SiteDocumentation Feedback Https eWay System Requirements Installing the Https eWayAfter you have installed eGate or eInsight, do the following Installing the Https eWay on an eGate supported systemExtracting the Sample Projects and Javadocs After InstallationSteps to extract the Javadoc include Steps to extract the Sample Projects includeInstall Java Caps Ican 5.0 Project Migration ProceduresExport the Project Import the ProjectInstalling Enterprise Manager eWay Plug-Ins To add plug-ins from the Enterprise Manager Viewing Alert CodesTo View the eWay Alert Codes Https eWay Alert CodesHTTPCLIENTEWAY-CONNECT Https Client OTD Overview of eWay OTDsHttp OTD Method Descriptions Https Server OTDInput Server Request Node Working with the Server OTD Input Server Response NodeSendResponse Example Collaboration ExampleOverview Operating SSLHttps eWay HackerGenerating a KeyStore and TrustStore KeyStores and TrustStoresKeyStores Creating a KeyStore in JKS FormatTo generate a KeyStore Creating a KeyStore in PKCS12 Format TrustStores Using an Existing TrustStoreCreating a TrustStore To create a new TrustStoreSSL Handshaking Client ServerEWay Server Web Client EWayCreating a Sample CA Certificate Using the OpenSSL UtilitySigning Certificates With Your Own CA # SSLeay example properties file Windows OpenSSL.cnf File ExampleChapter Section Operating SSL Using the OpenSSL Utility Copyright 1998-2001 The OpenSSL Project. All rights reserved Configuring the eWay Connectivity Map Properties Creating and Configuring the Https eWayTo configure the Https Server eWay properties To configure the Https eWay propertiesConnectivity Map with Components Server Configuring the eWay Environment PropertiesEWay Connectivity Map Properties To Configure the Environment PropertiesHttps eWay Configuration Sections Include Configuring the Connectivity Map Https eWay PropertiesHttps Server eWay Configuration Sections Include Http eWay-HTTP SettingsEWay Environment Properties Http Server eWay-HTTP Server External ConfigurationEnvironment Configuration-HTTP Settings Http SettingsEnvironment Configuration-Proxy Configuration Proxy ConfigurationSecurity Proxy passwordName Description Required Value Proxy Port Proxy UsernameAuthentication Environment Configuration-Security, AuthenticationEnvironment Configuration-Security, SSL Com.sun.net.ssl.internal.ssl.P Name Description Required Value Jsse Provider ClassRovider Com.ibm.jsse.IBMJSSEProvidVerify hostname Additional SSL Section NotesDescription Required ValuesConnection Pool Settings Environment Configuration-Connection Pool SettingsAdditional information Setting Acceptor Threads Property for Https Server Mode EInsight Engine and Components Implementing the Https eWay Bpel Sample ProjectsHttps eWay With eInsight Server Mode OperationReceive Business Rule Designer Output Nodes Node Name DescriptionReceive Business Rule Designer Output Nodes Importing a Sample Project About the Https eWay eInsight Sample ProjectsProject Overview Building and Deploying the prjHTTPClientBPEL Sample ProjectGET Command GetSample.xml Project OperationsInput and Output Data Creating a Project Post Command PostSample.xmlCreating the OTD Sample DTD MultipleDataIn.dtdOTD Wizard Selection Include DTDs to Selected List OTD Options Creating a Business ProcessLogic of the Business Process Business Process Cases To create a Business ProcessCase Activity Result Business Process Icons Client Business Process With Link Business Rules Client Business Rule Designer First Link Business Rule Business Rule Designer Second Link Business Rule Business Rule Designer Third Link Business Rule Business Rule Designer Case 1 Business Rule Business Rule Designer Case 2 Business Rule Decision Gate Properties Dialog Box Case To create a Connectivity Map Creating a Connectivity MapPopulating the Connectivity Map Selecting External ApplicationsDefining the Business Process To select external applicationsSteps required to bind eWay components together Binding the eWay ComponentsEnvironment Editor envHTTPClientBPEL Creating an EnvironmentConfiguring the Https eWay Properties Configuring the eWaysCmHTTPClient Inbound File eWay Settings CmHTTPClient Outbound File eWay SettingsCreating and Activating the Deployment Profile Configuring the Integration ServerCreate and Start the Domain Creating and Starting the DomainBuilding and Deploying the Project Running the SampleBuild the Project Building and Deploying the prjHTTPServerBPEL Sample Project ƒ postBPELHTTPS Content of postBPELHTTPS.html isServer Sample Project Original Form Project FormsServer Sample Project Input Form Next step is to create the Project’s Business Process Business Process Icons for Receive and Reply Business Process Icons With Server Business Rules Business Rule Designer Server Receive Business Rule Creating a Connectivity Map Connectivity Map With Components prjHTTPServerBPEL Creating an Environment ƒ postBPELHTTPS.html input file Running the Sample in SSL ModePermission java.util.PropertyPermission * read, write About the Https eWay JCD Sample Projects Implementing the Https eWay JCD Sample ProjectsBuilding and Deploying the prjHTTPClientJCD Sample Project Https eWay Sample Project Java Collaboration Based SampleIn DTD SampleIn.dtd Creating the Collaboration Definition Java JcdHTTPClient Collaboration Definition Part 101 Connectivity Map With Components prjHTTPClientJCD 103 ƒ Project Overview on Building and Deploying the prjHTTPServerJCD Sample Projectƒ postJCEHTTPS 106 107 JcdHTTPServer Collaboration Definition Connectivity Map With Components prjHTTPServerJCD 110 ƒ postJCEHTTPS.html input file 112 Index 114