Show TOC

Importing the Web ServiceLocate this document in the navigation structure

Use

To be able to use a Web service in your composite application, you must make it available in the project first. The import wizard helps you connect to the ES Workplace Services Registry, find the service you need, and import it as an external service.

Prerequisites
  • You have configured the connection to the ES Workplace Services Registry in the SAP NetWeaver Developer Studio.
  • You have a user account at the ES Workplace that allows you to access services hosted on its systems.
Procedure
  1. In the Composite Application Explorer, select the external node of your project and from the context menu, choose Import → Import  Web Service.

  2. In the WSDL Import dialog box, select Services Registry and choose Next.

    You are prompted for the user name and password required to access the ES Workplace Services Registry. Enter the credentials of the artificial user that has all necessary permissions assigned and choose OK.

  3. In the Services Registry dialog box, choose Show Advanced to view the classification system of the registry.
    1. Expand the BusinessObject node.
    2. Select Customer and choose Next.

  4. All service definitions available for Customer are listed under Found Service Definitions.
    1. Select CustomerBasicDataByIDQueryResponse_In.
    2. Enter user name and password for the HU2 system.
    3. From the Endpoints for selected Service Definition table, select CustomerBasicDataByIDQueryResponse_InSoapBinding.
    4. Choose Next.

  5. Enter the user name and password you have acquired by registering at the ES Workplace. They are required to connect to the system that hosts the service.

    Depending on the resources that a Web service uses, you may be asked to supply credentials more than once.

  6. Create a new Service Group to which the imported Web service is assigned:
    • Leave the deafult package in the Packagefield.
    • In the Name field, enter es_test_service_group.
    • In the Descriptionfield, enter My New Service Group .
    • Choose Finish.
  7. In case you have imported the service successfully, you should be able to see it in the Composite Application Explorer by expanding nodes external → sap_xi_appl_se_global → External Services → CustomerBasicDataByIDQueryResponse_In.