Configuring Destinations for WS Callable Objects
Use
Before you can expose a Web service (WS) as a callable object, you have to create and configure the destination that points to the location of the service.
Destinations are required for all Web services that need authentication.
Prerequisites
- You have access to the SAP NetWeaver Administrator of your Application Server (AS) Java.
- You know the name of the application server that holds the Web service information (WSIL or WSDL file).
- In case you use a UDDI Services Registry (SR), you must know the connection properties for the systems that host the UDDI server, the classification service, and the SR itself.
Procedure
- Start the SAP NetWeaver Administratorand navigate to SOA Management → Technical Configuration → Destination Template Management.
- Choose Create Destination.
- In the Destination Name input field, enter a name for the destination.
- From the Destination Type dropdown box, select the type of destination:
Destination Type Configuration and Examples WSDL
In the URL field, enter the direct link to the servlet that generates the WSDL file.
http://<host>:<port>/<name of service>
http://localhost:53000/GPRuntimeFacadeWS/GPProcessExposing?wsdl
WSIL
In the URL field, enter the direct link to the servlet that generates the WSIL file.
http://<host>:<port>/<location of service>
http://localhost:50000/gpcore/GPProcessDiscoveryWSIL/inspection.wsil
Services Registry
This type of destination is used to configure the UDDI Services Registry. Depending on the system that hosts the SR (Java or ABAP), you have to specify relevant connection details and security options.
- From the Authentication dropdown box, choose HTTP Authentication.
- Select UserID/Password (Basic) and choose Details.
- Enter the appropriate User ID and Password.
- Choose Save.
For more information about:
- UDDI Services Registry, see Configuring the Services Registry .
- Web service configuration, see Creating Web Service Physical Destinations .
Result
You can now use the destination in Guided Procedures to create a callable object of type Web Service.
More information: Exposing Web Services as Callable Objects
Example
Guided Procedures offers its own Web services for starting processes and completing actions. To be able to use them, you have to configure destinations of type WSIL:
- GPProcessDiscovery Web services
URLs: http://<host>:<port>/gpcore/GPProcessDiscoveryWSIL/inspection.wsil
http://<host>:<port>/gpcore/GPProcessDiscoveryActiveWSIL/inspection.wsil
More information: Consuming the GPProcessDiscovery Web Services
- GPActionDiscoveryWSIL service
URL: http://<host>:<port>/gpcore/GPActionDiscoveryWSIL/inspection.wsil
More information: Consuming the GPActionDiscoveryWSIL Web Service