Prev Next

Create BPEL 2.0 Web Service Operation

BPEL is an Orchestration language, which orchestrates services that are exposed using WSDL 1.1. It coordinates the execution of the various operations of these involved services. BPEL 2.0 supports WSDL 1.1 one-way and request-response operations only (and not solicit-response and notification operations). Enterprise Architect enables you to create, for BPEL Process and Pool elements, Web Service Operations that support either synchronous (request-response) or asynchronous (one-way) interactions.

Access

Context Menu

In the Project Browser or on a diagram:

Right-click on a BPEL Process or Pool element | BPEL | Create WebService

Options

Field/Button

Action

See also

Operation

Specify whether to create a new Web Service Operation or create one from an existing WSDL created / imported into Enterprise Architect (using the 'Import WSDL' dialog) by selecting either:

  • Create New, or
  • Create from existing WSDL PortType Operation
Model WSDL Import WSDL

Type

Specify whether to create a one-way or request-response Operation by selecting either:

  • Asynchronous or
  • Synchronous

Partnership Details

The interaction between the Web Service and the BPEL Process is modeled as a BPEL partnerLink. For this interaction, provide:

  • Name - Name of the BPEL partnerLink
  • Role - In the BPEL partnerLink, the name of either:
         -  myRole (if this operation belongs to the BPEL Process Web
            Service) or
         -  partnerRole (if this operation belongs to the Web Service of
            a Pool)

Web Service

  • When 'Create New' is selected in the 'Operation' field:
         -  PortType - Name of the WSDL 1.1 PortType (Interface)
         -  Operation - Name of the WSDL 1.1 PortType Operation
  • When 'Create from existing WSDL PortType Operation' is selected in the 'Operation' field:
         -  WSDL Package - Select an existing WSDL Package created or
            imported into Enterprise Architect
         -  PortType - Select a WSDL 1.1 PortType from the selected WSDL
            Package
         -  Operation - Select a WSDL 1.1 PortType Operation in the
             selected PortType

Input

When 'Create New' is selected in the 'Operation' field:

  • Message Name - Name of the WSDL 1.1 Message.
  • Properties - Click on the button to enter the WSDL 1.1 Message Part Name and XSDType

When 'Create from existing WSDL Port Type Operation' is selected in the 'Operation' field:

  • The fields in this tab are pre-filled with the details of the input WSDL 1.1 Message (of the WSDL 1.1 PortType Operation selected in the 'Operation' field in the 'Web Service' tab)

Output

When 'Create New' is selected in the 'Operation' field:

  • Message Name - Name of the WSDL 1.1 Message
  • Properties - Click on the button to enter the WSDL 1.1 Message Part Name and XSD Type

When 'Create from existing WSDL Port Type Operation' is selected in the 'Operation' field:

  • The fields in this tab are pre-filled with the details of the output WSDL 1.1 Message (of the WSDL 1.1 PortType Operation selected in the 'Operation' field in the 'Web Service' tab)

OK

Create a Web Service Operation based on the values entered in the dialog.

The operation is created in a Package that has the same name as the BPEL Process / Pool from which this dialog is invoked, under the SupportingElements Package.

SupportingElements

Cancel

Discard the values entered in the dialog and abort creating the Web Service Operation.

Help

Display this Help topic.

Notes

  • The 'Output' tab is not applicable for an Asynchronous operation