Sun Microsystems 5.1.1 manual ƒ postJCEHTTPS.html input file

Page 111

Chapter 7

Section 7.4

Implementing the HTTPS eWay JCD Sample Projects

Building and Deploying the prjHTTPServer_JCD Sample Project

7.4.8Creating and Activating the Deployment Profile

Deployment Profiles are used to assign Collaborations and message destinations to the Integration Server and message server. Deployment profiles are created using the Deployment Editor.

Follow the steps outlined in “Creating and Activating the Deployment Profile” on page 80 to create and deploy a deployment profile for the prjHTTPServer_JCD Project. If you have enabled the HTTPS eWay’s SSL feature, you must ensure that your Logical Host’s Java Software Development Kit (SDK) versions match. For further information, see Table 8 on page 50.

7.4.9Creating and Starting the Domain

To deploy your Project you must first create a domain. After the domain is created, the Project is built and then deployed.

Follow the steps outlined in “Creating and Starting the Domain” on page 81 to create and deploy a domain for the prjHTTPServer_JCD Project.

7.4.10Building and Deploying the Project

The Build process compiles and validates the Project’s Java files and creates the Project EAR file. Follow the steps outlined in “Building and Deploying the Project” on page 82 to build and deploy the prjHTTPServer_JCD Project.

7.4.11Running the Sample

The prjHTTPServer_JCD Project includes the following sample files:

ƒpostJCEHTTPS.html (input file)

ƒpostHTTPS.html (sample output file example)

To run your deployed sample Project, do the following:

1From your configured input directory, paste (or rename) the sample input file to trigger the eWay.

2From your output directory, verify the output data.

Running the Sample in SSL Mode

To enable and run an HTTPS Server project in SSL mode, the Logical Host’s server policy file must be changed as follows:

1Scroll to the Logical Host directory:

<JavaCAPS51>\logicalhost\is\lib\install\templates\

where <JavaCAPS51> is the location of your Sun Java Composite Application Platform Suite installation

2Enter the following statements in the server.policy file:

HTTPS eWay Adapter User’s Guide

111

Sun Microsystems, Inc.

Image 111
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 Https eWay Javadoc ScopeIntended Audience Text ConventionsRelated 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 systemSteps to extract the Sample Projects include After InstallationExtracting the Sample Projects and Javadocs Steps to extract the Javadoc includeImport the Project Ican 5.0 Project Migration ProceduresInstall Java Caps Export the ProjectInstalling Enterprise Manager eWay Plug-Ins Https eWay Alert Codes Viewing Alert CodesTo add plug-ins from the Enterprise Manager To View the 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 HackerCreating a KeyStore in JKS Format KeyStores and TrustStoresGenerating a KeyStore and TrustStore KeyStoresTo generate a KeyStore Creating a KeyStore in PKCS12 Format To create a new TrustStore Using an Existing TrustStoreTrustStores Creating a 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 PropertiesHttp eWay-HTTP Settings Configuring the Connectivity Map Https eWay PropertiesHttps eWay Configuration Sections Include Https Server eWay Configuration Sections IncludeEWay Environment Properties Http Server eWay-HTTP Server External ConfigurationEnvironment Configuration-HTTP Settings Http SettingsEnvironment Configuration-Proxy Configuration Proxy ConfigurationProxy Username Proxy passwordSecurity Name Description Required Value Proxy PortAuthentication Environment Configuration-Security, AuthenticationEnvironment Configuration-Security, SSL Com.ibm.jsse.IBMJSSEProvid Name Description Required Value Jsse Provider ClassCom.sun.net.ssl.internal.ssl.P RoviderRequired Values Additional SSL Section NotesVerify hostname DescriptionConnection 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 ProjectsNode Name Description Server Mode OperationHttps eWay With eInsight Receive Business Rule Designer Output NodesReceive 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 Sample DTD MultipleDataIn.dtd Post Command PostSample.xmlCreating a Project Creating the OTDOTD 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 MapTo select external applications Selecting External ApplicationsPopulating the Connectivity Map Defining the Business ProcessSteps required to bind eWay components together Binding the eWay ComponentsEnvironment Editor envHTTPClientBPEL Creating an EnvironmentCmHTTPClient Outbound File eWay Settings Configuring the eWaysConfiguring the Https eWay Properties CmHTTPClient Inbound 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