Show TOC Start of Content Area

Procedure documentation Starting a Process Using Web Services  Locate the document in its SAP Library structure

Use

You can start a process and retrieve the process output and status using the GPProcessDiscovery Web Services (WS) that Guided Procedures (GP) provides. With these services, you can start a process from any process template in the gallery.

You can consume the Web service using any Web service client. In GP, you create a Web service callable object to consume the service.

Example

The WS callable object can be the last step of a process for ordering material. The output of the process can be mapped to the input of the process started using the Web service. If you have different processes for ordering different types of goods, you can enter the relevant ID of the process for ordering the required goods.

For more information about the specifics of WSIL and WSDL generation and content, see Consuming the GPProcessDiscovery Web Services.

Prerequisites

·        You have created and configured a logical destination for the Web service.

See Configuring Logical Destinations for WS Callable Objects.

      You have the appropriate permissions to work with GP design time.

See Portal Roles.

Procedure

...

       1.      Create the callable object as described in Exposing Web Services as Callable Objects.

¡        Select the logical destination you created previously for the Web service.

       Select a process template.

       Choose one of the following operations:

§         StartProcess

§         GetProcessInfo

§         GetProcessResult

       2.      Test the callable object in GP design time or include it in a process to test it in runtime.

Note

You can retrieve the process ID from NetWeaver Administrator System Management Monitoring Guided Procedures Process Instances.

Example

For an example of how to start a process using a Web service, see Importing a Web Service in Guided Procedures.

End of Content Area