beautypg.com

Project operations, Input and output data – Sun Microsystems 5.1.1 User Manual

Page 98

background image

Chapter 7

Section 7.3

Implementing the HTTPS eWay JCD Sample Projects

Building and Deploying the prjHTTPClient_JCD Sample Project

HTTPS eWay Adapter User’s Guide

98

Sun Microsystems, Inc.

Project Operations

The prjHTTPClient_JCD Project operates as follows:

ƒ

FileClientIn

: The external file system that provides instructions to the inbound

File eWay; this eWay gets a text file containing the instructions and passes them to a
Business Process, jcdHttpClient1.

ƒ

jcdHttpClient1

: Sends instructions to the desired HTTP system via the HTTPS

eWay. jcdHttpClient1 also receives the information from the HTTPS system, via the
HTTPS eWay, then sends it to a File eWay, FileClientOut.

ƒ

eaHTTPClient

: The HTTP client external application or system; the HTTPS eWay

handles inbound and outbound communication with this system.

ƒ

FileClientOut

: The external file system that receives the information via HTTP;

another File eWay writes the received information to a text file on this system.

Input and Output Data

The HTTPS eWay Project uses the following data files:

ƒ

Get_Sample.xml

ƒ

Post_Sample.xml

ƒ

Sample_In.dtd

These files have the following content:

GET Command: Get_Sample.xml

The input data file for the GET command is:

GET
http://www.yahoo.com

POST Command: Post_Sample.xml

The input data file for the POST command is:

POST
http://localhost:12000/examples/servlet/

RequestParamExample

firstname^MyFirstName|lastname^MyLastName

Sample_In DTD: Sample_In.dtd

The eGate OTD wizard is used to create a DTD-based OTD. The input data file specifies
an URL for HTTP commands. The XML DTD code for this sample input data file is: