Sun Microsystems 5.1.1 manual ƒ postJCEHTTPS

Models: 5.1.1

1 114
Download 114 pages 56.55 Kb
Page 105
Image 105

Chapter 7

Section 7.4

Implementing the HTTPS eWay JCD Sample Projects

Building and Deploying the prjHTTPServer_JCD Sample Project

ƒCreating a Project on page 107

ƒCreating the OTD on page 108

ƒCreating the Collaboration Definition (Java) on page 108

ƒCreating a Connectivity Map on page 108

ƒCreating an Environment on page 110

ƒConfiguring the eWays on page 110

ƒCreating and Activating the Deployment Profile on page 111

ƒCreating and Starting the Domain on page 111

ƒBuilding and Deploying the Project on page 111

ƒRunning the Sample on page 111

7.4.1Project Overview

Before you can run the Project, you must first copy the following .html input form file into any directory:

ƒpostJCEHTTPS

The content of postJCEHTTPS.html is:

<HTML><HEAD><TITLE>HTTPS Test Page</TITLE></HEAD> <BODY>

<FORM ACTION="http://localhost:18001/ Deployment1_servlet_HttpServerSample/ HttpServerSample" METHOD=POST>

<TABLE>

<TR><TD>First Name:</TD><TD><INPUT NAME=fname></TD></TR> <TR><TD>Last Name:</TD><TD><INPUT NAME=lname></TD></TR> <TR><TD>EMail:</TD><TD><INPUT NAME=email></TD></TR> <TR><TD>Sex:</TD><TD><INPUT type="radio" name="sex"

value="Male">Male</TD></TR> <TR><TD></TD><TD><INPUT type="radio" name="sex"

value="Female">Female</TD></TR>

<TR><TD></TD><TD></TD></TR>

</TABLE>

<BR>

<CENTER><INPUT TYPE=submit VALUE="Submit"></CENTER> </FORM>

</BODY>

</HTML>

You must make a change in the HTML code shown previously. In the code where it shows:

<FORM ACTION="http://localhost:18001/

Deployment1_servlet_HttpServerSample/

HttpServerSample" METHOD=POST>

You must make changes based on your own Environment. The logic for the ACTION parameter is:

http://<IS Server Name>:<IS port>/<Deployment_name>_servlet_ <servlet_url from properties>/<servlet_url from properties>

HTTPS eWay Adapter User’s Guide

105

Sun Microsystems, Inc.

Page 105
Image 105
Sun Microsystems 5.1.1 manual ƒ postJCEHTTPS