Importing a Service Provider from a WSDL File

If you have a WSDL file or if you find a WSDL published in a UDDI server, you can import the WSDL to create an abstract definition of a web service using service description objects (service providers, service interfaces, and operations).

Then, you can proceed to the implementation of your processes using operations and associated messages (see Implementing Processes).

The import process analyzes the WSDL file to find the different web services, port types, messages, operations, and parts defined in the script, and converts these elements into BPM objects as follows:

WSDL element

BPM object

WSDL file

Service provider

Port type

Service interface

Operation

Operation

Message

Message format

Part

Message part

  1. Select Language > Import WSDL to display the Import WSDL dialog box.
  2. Enter an URL in the WSDL URL box to specify the location of the WSDL file on the web. The URL is displayed in the Filename box of the service provider property sheet. You can use the tools to the right of the box to browse for a file or browse UDDI (see Browsing for a WSDL File on a UDDI Server).
  3. [optional] Click the Preview WSDL button to preview the WSDL file, and the unique key used to locate the UDDI. This button is not available if you select several files to import.
  4. [optional] Click the Options tab and select the Create XML Model check box, if you want to automatically create an XML model for each schema contained in the WSDL file. This provides you with a graphical representation of the data schema.
  5. Click OK to import.

    A progress box is displayed. If the model in which you are importing already contains data, the Merge Models dialog box is displayed.

    For more information about merging models, see Core Features Guide > Modeling with PowerDesigner > Comparing and Merging Models.

  6. Click OK to return to the model.

    The imported elements are added to your model, are visible in the Browser, and in the Reverse tab of the Output window. If you have selected the Create XML Model option, the XML model(s) corresponding to the WSDL schema(s) are also created in the workspace.