Show TOC

Creating Web Service Consumers for Brokered CommunicationLocate this document in the navigation structure

Context

You create synchronous or asynchronous Web service consumers by using the XI 3.0-Compatible service interface.

Procedure


  1. Design the service in the Enterprise Service Repository.

    In the Enterprise Service Builder, design an outbound service interface. The outbound service interface comprises the interface pattern XI 3.0-compatible, synchronous or asynchronous operations, message types, data types, and fault types.

    More information:

    Service Interface

    Interface Pattern

    Message Type

    Fault Message Type

  2. Create a Web service deployable proxy and a client application. In the SAP NetWeaver Developer Studio, proceed as follows:

    1. Import the WSDL document from the ESR.

      More information: Importing WSDL Documents in the SAP NetWeaver Developer Studio .

    2. Generate a deployable proxy based on the WSDL document of the relevant outbound Service Interface modeled in the ESR. More information: Creating Web Service Proxies .

    3. Create a consumer application which uses the deployable proxy you generated.

      In the client application, you specify the endpoint URL of the Web service port, a user name and a password to the PI Adapter Engine. Once you create the consumer application, it uses the generated Web service proxy to send requests to the Web service runtime and the Java Proxy Runtime. You can also insert XI specific application program interfaces (APIs) in the consumer application to enable XI specific outbound calls.

      More information: Creating Web Service Client Applications , Application Program Interfaces for Outbound Proxy Communication

    4. Deploy the Web service consumer. More information: Building, Publishing and Removing Published Java EE Applications .