Working with existing web services

The Artifacts view allows you to organize and browse external Web service artifacts, such as WSDL and XML schemas and business process models. You can import artifacts from a local file system. Once artifacts are imported, you can perform various actions to copy information to the process model.

Importing Artifacts

  1. Select the folder in the Artifacts view
  2. Click File->Import.
  3. Click the type of artifact you want to import. Enter a File Import Source (path name in a file system) and click Next. Specify whether you want to find a web service from the unit test UDDI Registry or a public UDDI Registry.
  4. Click Finish.
  5. Enter a search request to locate the web service.

Working with external Artifacts

You can use drag and drop to copy a portion of metadata in the artifact from the Artifacts view into a process model. When you do so, the change does not appear on the model; it is only reflected in the Properties view.

  1. In the Artifacts view, select any WSDL artifact and expand the Ports folder.
  2. For each PortType in the PortTypes folder, there may be one or more operations. Drag any operation to the blank space to create an activity from the operation.

The following table describes the available actions.

Artifact

Target element in BPM editor to which it can be added

Description

Create (operation)

Model, lane, and embedded sub-process

Create a task, copy all web services information (messages, web service)

Assign (operation)

Web-service task, message event

Fill in web service info

BPMN process

Model, lane, and embedded sub-process

Create an independent subprocess

WSDL/XML Schema

Model

Add an entry in namespace map

Message type

Process container or embedded sub-process

Add a message

Simple type

Process container, embedded sub-process, or data-object

Add a property

XML element

Process container or embedded sub-process

Add a property

PartnerLinkType

Web service task, message event

Set partner link type

See also:

Artifacts view

WSDL