Show TOC

Procedure documentationImporting Service Interface Definitions Locate this document in the navigation structure

 

You import service interface definitions or WSDL files to use them in your business process model and so you can execute it. You import service interface definitions from the following sources:

  • Enterprise Services Repository (ESR)

  • File system or a remote location such as a URL

  • Services Registry (SR).

Prerequisites

  • You have configured the ESR in the SAP NetWeaver Developer Studio if you want to import service interface definitions from the ESR. For more information, see Browsing Enterprise Services from the SAP NetWeaver Developer Studio.

  • You have configured the SR in the Developer Studio if you want to import service interface definitions from the SR. For more information, see Configuring the Services Registry.

  • You have opened the Process Composer perspective in the Developer Studio and have expanded your project in Project Explorer view.

Procedure

  1. Expand Process Modeling, then expand Service Interfaces.

  2. In the context menu of the WSDL Files folder, choose Import WSDL...

    A dialog box appears, where you specify the output folder and the source for the import. Depending on the option you choose, you see different options on the subsequent screens. The procedures below outline the steps you need to complete to import a service interface definition from each of the locations.

Caution Caution

Before you import a service interface definition, you must switch on the automatic build option in the Developer Studio. Otherwise, the service interface definition cannot be imported. To switch the automatic build option on, choose   Project   Build Automatically   in the Developer Studio.

The automatic build option must also be switched on when you delete service interface definitions.

End of the caution.
Importing a Service Interface Definition from the Enterprise Services Repository
  1. Select Enterprise Service Repository and choose the Next pushbutton.

  2. In the dialog that appears, log on to the ESR and choose the Next pushbutton.

  3. Choose a service interface definition to import and choose the Finish pushbutton.

    The service interface appears in the Service Interfaces folder and the WSDL file appears in the WSDL Files folder. If the service interface does not appear in the Service Interfaces folder, you have to manually import it:

    1. In the WSDL Files folder, choose the WSDL file of the service.

    2. In the context menu of the WSDL file, choose Reimport.

      The service interface definition appears in the \Process Modeling\Service Interfaces folder.

Importing a Service Interface Definition from a Remote Location/File System
  1. Select Remote Location/File System and choose Next.

  2. In the URL field, specify the path to the WSDL file and choose the Finish pushbutton.

Importing a Service Interface Definition from the Services Registry
  1. Select Services Registry and choose the Next pushbutton.

  2. Log on to the SR, if prompted.

    Enter your credentials in the Username and Password fields under UDDI Service. The Username and Password fields under Classification Service are automatically populated with the credentials you specify under UDDI Service. Then choose the OK pushbutton.

  3. Specify search criteria to find the Web service whose WSDL file you want to import and choose the Next pushbutton.

  4. Select a service definition from the list.

  5. Log on to the system, which provides the Web service, and then choose the OK pushbutton.