Topic
Prev Next

Create BPEL 1.1 Web Service

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 1.1 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 | BPEL | Create WebService

Options

Field/Button

Action

See also

Operation

Specify whether to create a new Web Service 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
Import WSDL Model 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 a:

  • Name - Name of the BPEL partnerLink
  • Role - 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)
    of the BPEL partnerLink

Web Service

  • When 'Create New' is selected in the 'Operation' field:
         -  Web Service Name - Name of the WSDL 1.1 Web Service
         -  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 / imported into Enterprise Architect
         -  Web Service Name - Name of the WSDL 1.1 Web Service; the default is the name of the selected WSDL Package
         -  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 XSD Type

When 'Create from existing WSDL PortType 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 Port Type Operation selected in the 'Operation' field in the 'Web Service' tab)

Output

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

  • Message Name - The 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 Port Type 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, whose name is the same as that of 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