beautypg.com

2 creating a project, 3 creating the otd, Creating a project – Sun Microsystems 5.1.1 User Manual

Page 61: Creating the otd

background image

Chapter 6

Section 6.5

Implementing the HTTPS eWay BPEL Sample Projects

Building and Deploying the prjHTTPClient_BPEL Sample Project

HTTPS eWay Adapter User’s Guide

61

Sun Microsystems, Inc.

POST Command: Post_Sample.xml

The input data file for the POST command is:

POST
http://:/examples/servlet/

RequestParamExample

firstnameMyFirstName
lastnameMyLastName

Sample DTD: MultipleData_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:






The MultipleData_In.dtd file defines the following elements:

ƒ

Method

: Defines whether the file is for a GET or POST command.

ƒ

URL

: Defines the address of the target HTTP server.

ƒ

Data

: Stores the name/value pair used in the POST command; you can use as

many name/value pairs as you need.

Instead of getting and posting relative to an external Internet site, this Business Process
sample uses the eGate Integration Server and does these operations internally. If
external Internet access is available, you can use that URL in the URL tag.

6.5.2

Creating a Project

The first step is to create a new Project in the Enterprise Designer.

1

Start the Enterprise Designer.

2

From the Project Explorer tree, right-click the Repository and select New Project. A
new Project (Project1) appears on the Project Explorer tree.

3

Right-click Project1 and select Rename form the shortcut menu. Rename the Project
(for this sample, prjHTTPClient_BPEL).

6.5.3

Creating the OTD

The next step is to create a Data Type Definition (DTD) OTD as an input file for this
HTTPS sample Project.

Steps required to create new DTD:

1

In the Enterprise Explorer, right-click prjHTTPClient_BPEL and select New >
Object Type Definition

from the pop-up menu.