Chapter 6

Section 6.5

Implementing the HTTPS eWay BPEL Sample Projects

Building and Deploying the prjHTTPClient_BPEL Sample Project

Figure 16 HTTPS eWay Sample Project

In b o u n d F ile

A p p lica tio n

 

H T T P (S )

 

e W a y

F ile In , to

 

H T T P , to F ile

 

O u t

O u tb o u n d F ile

C o lla b o ra tio n

 

A p p lica tio n

The location of input and output files are defined by the File eWay properties. By default, the inbound File eWay reads from c:\temp\input*.txt. The default is changed for the Project’s outbound File eWay, which sends the resulting data to c:\temp\output%d.html (%d represents the serial index starting with integer 0).

Project Operations

The prjHTTPClient_BPEL Project operates as follows:

ƒFileIn: 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, HttpBpelService.

ƒHttpBpelService: Sends instructions to the desired HTTP system via the HTTPS eWay. HttpBpelService also receives the information from the HTTPS system, via the HTTPS eWay, then sends it to a File eWay, FileOut.

ƒHTTP_CLIENT: The HTTP client external application or system; the HTTPS eWay handles inbound and outbound communication with this system.

ƒFileOut: 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 input/output data files:

ƒGet_Sample.xml

ƒPost_Sample.xml

ƒMultipleData_In.dtd

These files have the following content:

GET Command: Get_Sample.xml

The input data file for the GET command is:

<website>

<method>GET</method>

<url>http://www.yahoo.com</url>

<data/>

</website>

HTTPS eWay Adapter User’s Guide

60

Sun Microsystems, Inc.

Page 60
Image 60
Sun Microsystems 5.1.1 manual Project Operations, Input and Output Data, GET Command GetSample.xml