Show TOC Start of Content Area

Procedure documentation Creating and Configuring Synchronous Web Service Providers for Brokered Communication  Locate the document in its SAP Library structure

Use

When a Web service provider uses the Integration Server as a broker, the provider receives requests directly to the Integration Server. Then the provider processes these requests, and if necessary sends its response to the Integration Server. The Integration Server in turn sends the response to the corresponding service consumer.

You create synchronous Web service providers by using adapter type SOAP SAP BASIS 7.10.

Procedure

       1.      Design the service interface in the Enterprise Service Repository.

In the Enterprise Service Builder, design an inbound service interface. The inbound service interface comprises interface pattern stateless, synchronous operations, message types, data types, and fault types.

More information:

Service Interface

Interface Pattern

Message Type

Fault Message Type

       2.      Configure the service interface in the Integration Directory.

In the Integration Builder, create business components to configure the service interface communication between the provider system and the Integration Server. The following configuration applies:

       Create a receiver service to define details about inbound processing and enable communication between the Web service provider and the Integration Server.

       Create a receiver communication channel. In particular, you use a communication channel to define the type and configuration of the adapter used during inbound processing. More information: Defining Communication Channels.

       Optionally, create a receiver party, receiver determination, and receiver agreement. A receiver agreement contains a reference to a communication channel. You define a receiver agreement between a sender and a receiver for an inbound interface. More information: Defining Communication Parties, Defining a Receiver Agreement, Defining Receiver Determinations.

More information:

Integration Directory

Configuring Integration-Server Communication

       3.      Create the Web service (inbound proxy).

In the SAP NetWeaver Developer Studio, proceed as follows:

                            a.      Import the WSDL document from the ESR.

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

                            b.      Create an outside-in Web service based on the WSDL document of the relevant inbound Service Interface modeled in the ESR. The Web service framework generates the skeleton of the implementation bean containing the Web service methods’ declarations for the operations in the WSDL document.

More information about creating an outside-in Web service: Creating Outside-In Web Services.

                            c.      Provide an implementation of the business methods of the Web service.

                            d.      Deploy the Web service on the application server.

More information: Building, Publishing and Removing Published Java EE Applications.

       4.      Configure the Web service.

       In the Integration Builder, configure a receiver communication channel. The receiver communication channel is a target URL which points to the URL of the Web service.

       In the SAP NetWeaver Administrator, you have to create a runtime configuration, called service endpoint, of the Web service. It contains the relevant runtime settings, such as authentication level, with which you want to provide the Web service.

More information about configuring the Web service in the SAP NetWeaver Administrator: Configuring Individual Web Services.

More information about the underlying concepts of Web services configuration in the SAP NetWeaver Administrator: Configuration of Individual Web Services and Web Service Clients.

 

 

End of Content Area