Sun Microsystems SAP BAPI manual Create the Java Collaboration Definitions

Models: SAP BAPI

1 123
Download 123 pages 59.81 Kb
Page 73
Image 73

Chapter 6

Section 6.5

Reviewing the Sample Projects

Building and Deploying the prjBAPIOutbound Sample Project

3Enter a new name for the OTD. For this example, use CustBAPI.

4Click Finish to create the CustBAPI OTD.

5Open the new CustBAPI OTD and add a new field under the CustBAPI element and rename it test1.

6.5.3Create the Java Collaboration Definitions

The next step is to create the Java Collaboration Definitions using the Collaboration Definition Wizard (Java). Once you create a Collaboration Definition, you can write the Business Rules using the Collaboration Editor.

Steps required to create the jcdFlightGetList Collaboration:

1From the Project Explorer, right-click the sample Project and select New > Collaboration Definition (Java) from the shortcut menu. The Collaboration Definition Wizard (Java) appears.

2Name your Collaboration jcdFlightGetList.

3Under Web Service Type, select New: Create a new Web Service operation, and then click Next.

4Enter the operation name flightInput and click Next.

5Select prjBAPIOutbound > CustBAPI, and then click Next.

6Select prjBAPIOutbound > Flight, then click Add. The Flight OTD appears in a list of selected OTDs.

7Click Finish, the jcdFlightGetList Collaboration is created.

Figure 43 jcdFlightGetList Collaboration

eWay™ Adapter for SAP BAPI User’s Guide

73

Sun Microsystems, Inc.

Page 73
Image 73
Sun Microsystems SAP BAPI manual Create the Java Collaboration Definitions