Show TOC

Procedure documentationCalling and Completing Web Service Descriptions. Locate this document in the navigation structure

 

To retrieve the Web Services of the programming interface, you must first generate or program a Web Service client. To do this you need the WSDL file, which the Web Service provides using HTTP and which is stored for the Web Services of the programming interface as an external definition in the Enterprise Services Repository.

You can access the Web Service descriptions in the following ways: Depending on which way you choose, you must slightly edit or complete the WSDL files before you can invoke the Web Services.

  • Opening External Definitions in the Enterprise Services Repository

  • Opening the Web Service Description in the Web Services Navigator

Procedure

Opening External Definitions in the Enterprise Services Repository

The external definitions are in the Enterprise Services Repository in the software component version SAP BASIS 7.00 in the namespace http//sap.com/xi/XI/System.

To open the external definitions, proceed as follows:

  1. Call the Enterprise Services Repository.

  2. In the navigation area expand the node   SAP BASIS   SAP BASIS 7.00   http://sap.com/xi/XI/System   External Definitions  .

If you would like to use the Web Service descriptions that you have received from external definitions, then you must fill in the missing details. The WSDL file from the Enterprise Services Repository does not yet contain all the information that is required at runtime. This includes the binding for HTTP access and the service port.

For more information on this, see the example use in Generating Web Service Client (Eclipse Web Tools Platform) under 3. Completing WSDL File.

Calling Web Services Using the Web Services Navigator

Alternatively, you can call the Web Service descriptions in the Web Services Navigator. To do this, proceed as follows:

Caution Caution

Note that your user must have the necessary permissions under Assign Authorizations.

End of the caution.
  1. Call the J2EE Engine start page:

    Use the URL: http://<host>:<J2EE-Port>

  2. Choose the Web Services Navigator.

  3. Choose Provider System as Search Type.

  4. In the Search for field, enter: *vi.

    In this way you restrict the services displayed to the services of the Integration Directory programming interface (previous version).

  5. Choose Search.

    The programming interface services are displayed.

  6. Select the service for the required configuration object type.

  7. Choose Next.

    The system displays the available operations.

  8. Select the required operation from this list.

  9. Choose Next.

  10. You can now specify the parameters for calling the Web service and call it.

If you cannot execute calling the Web service without errors, SAP recommends that you modify the Web service description in the following way: Depending on whether you would like to use an HTTP or HTTPS as log, remove the elements of the other log.

In the following example, all those elements relating to the HTTP protocol have been marked in red.

This graphic is explained in the accompanying text.