Start of Content Area

Procedure documentation Developing a Web Service in Outside-In Mode  Locate the document in its SAP Library structure

You create an outside-in service by:

      Modeling in the Enterprise Services Repository

      Creating the interface

      Implementing the application logic

      Configuring the Web service

We distinguish between two different processing types for a Web service:

      Synchronous

      Asynchronous

For further information, refer to the section Types of Message Transmission.

Prerequisites

The Web service runtime has been configured (refer also to: Configuring the Web Service Runtime).

You have activated the Enterprise Services Repository Browser in the ABAP Workbench. You can also call the browser in transaction SPROXY (refer also to Object State).

The user is assigned the relevant Authorizations.

Procedure

...

       1.      Model a service interface in the Enterprise Services Repository.

For more information on developing service interfaces, refer to help.sap.com  ® SAP NetWeaver  ® SAP NetWeaver CE  ® ESR for SAP NetWeaver CE7.1.

       2.      Generate a provider proxy.

Call transaction SPROXY, select the inbound service interface, and choose Create Proxy from the context menu. Enter the name of a package.

For more information, refer to the sections ABAP Proxy Generation – General Procedure and Displaying ABAP Proxy Objects.

The service definition is automatically generated during proxy generation.

After generation, the provider proxy contains methods for each service operation.

       3.      Fill the operations with the required logic. In the Properties tab of the service interface, click the name of the provider class, and then specify the method name in order to get to the editor.

       4.      Create a runtime configuration for the provider proxy.

For more information, refer to Configuring Service Providers.

       5.      Test your service.

For more information, refer to the section Testing a Web Service.

 

 

 

 

End of Content Area