Show TOC Start of Content Area

Procedure documentation Exposing Application Services or Business Objects as Web Service  Locate the document in its SAP Library structure

Use

To reuse the business logic stored in your application services or business objects, you can expose them as a Web service.

Prerequisites

·        Your have created at least one application service or business object operation.

·        Application Server (AS) Java is up and running.

·        You have generated your application.

Procedure

...

       1.      In the Composite Application Explorer, click the node of the application service or the business object you want to expose with secondary mouse button to choose Expose Service as Web Service.

       2.      In the Select service operation window, choose the operations to be exposed.

Note

Some of the operations cannot be exposed as Web service. For example, the query operations of the business objects cannot be exposed as Web services because they have output with multiple cardinality. All changes of input or output parameters of the business object or application service operations you expose as Web services reflect to the generated WSDL.

To add new business object or application service operations to the exposed Web service, click it with the secondary mouse button and choose Edit.

       3.      Save, generate, build and deploy your application.

       4.      To consume your Web service, you need to create a destination.

More information: Creating Web Service Physical Destinations

End of Content Area