
Web services are Web interfaces that are based on open and commonly accepted standards and can be integrated into a company's business scenarios. Using Web services enables you to combine functions implemented in different software components into a single process.
You can expose any Web service as a callable object using Guided Procedures (GP) design time:
You invoke the Web service through a Service Group that you create or by choosing an existing one.
For more information about Service Groups, see Managing Service Groups .
To expose the function module as a callable object, you must use the wizard that GP design time provides.
Currently Web Service callable objects support the following SOAP encoding styles:
If you are using GPProcessDiscoveryActiveWSIL , you have to configure the connection to the provider system using a WSIL document to http://<host>:<port>/gpcore/GPProcessDiscoveryActiveWSIL/inspection.wsil
For more information, see Creating Connections to Provider Systems .
For more information, see Configuring Destinations for WS Callable Objects .
For more information, see Configuring the Services Registry .
1. Search Web Service Interfaces
| Parameter | Description |
|---|---|
|
Type |
Choose Service → Web Service. |
|
Name |
Enter a name that is used to distinguish the callable object in the gallery. You are not required to use a unique name for the callable object. |
|
Description |
Describe the callable object by entering a brief description of its functions. |
|
Original Language |
Select the original language in which the callable object is being created. |
|
Folder |
Select the folder where the callable object is stored. Note
You can either use an existing folder, or create a new one. |
WSDL URL
You use this option when you want to search for an internal or external Web service, for which you know the precise WSDL URL.
To open the configuration screen, select the WSDL radio button.
Logical Destination
You use this option when you want to browse through a set of previously defined WSDL files
This option is primarily used for backward compatibility purposes.
To open the configuration screen, select the Logical Destination radio button.
The list with the Web service interfaces on the provider system appears in the Result table below.
Provider System
You use this option to select a provider system from the landscape and browse the Web services available on this system.
To open the configuration screen, select the Provider System radio button.
The list with the Web service interfaces on the provider system appears in the Result table below.
Service Registry
You use this option when you want to call an internal or external Web service whose corresponding WSDL is published in the SR.
For more information about publishing Web services, see Publishing to the Services Registry .
To open the configuration screen, select the Service Registry radio button.
From the list with available interface operations, choose an operation
The operation parameters are displayed in the right-hand part of the screen.
For each particular Web service, different operations are available, for example:
For more information, see: Consuming the GPProcessDiscovery Web Services .
For more information, see: Consuming the GPActionDiscoveryWSIL Web Service .
2. Choose Service Group
Choose the Choose pushbutton and from the Choose Existing dropdown menu, select a Service Group.
To use this option, you must have created a Service Group in the GP framework in advance.
For more information about Service Groups, see Managing Service Groups .
In case you closed the wizard without exposing a Web service but after saving the Service Group, the Service Group can still be used at a later point in time.
3. Expose the Web Service
The input parameters of the Web service are automatically detected.
The output parameters of the Web service are automatically detected
The callable object design time opens. You can edit the object definition here.
If the definition of the Web service you have exposed changes, you can update the existing callable object through the GP design time. On the Object Definition tab page, choose Update to update input, output, configuration parameters, result states, and exceptions defined for the selected operation.
To check for parameter compatibility, choose Check.
Now you must configure the Service Group in the NWA. For more information, see Configuring Groups of Web Service Clients .
If you are behind a proxy and you want to call an external service, then you should configure your proxy in the SAP NetWeaver Administrator (NWA).
For more information, see Configuring Proxy Settings .
For an example of exposing a Web service as a callable object, see Importing a Web Service in Guided Procedures .