Adding endpoints to virtual services
Use the Proxy Gateway widget to add endpoints to virtual services that belong to a proxy group.
Before you begin
- Use IBM Integration Designer to create a proxy gateway. Use the wizard to create a proxy gateway module, which is an SCA module containing a Gateway Endpoint Lookup mediation primitive.
- Deploy the proxy gateway module to Process Server.
- Create a business space containing the Proxy Gateway widget.
About this task
A proxy gateway is a module that receives web service requests and forwards them to an endpoint defined in a proxy group. Proxy groups contain virtual services that you map to real service endpoints. A virtual service can have one or more endpoints associated with it.
When you create your proxy gateway module, you define the proxy groups for the module. After you deploy your proxy gateway module, you can use the Proxy Gateway widget to add virtual services to the proxy groups. The virtual service information is stored in the built-in configuration store that exists in Process Server.
When the proxy gateway processes a client request, the virtual service name used to look up the endpoints must match the virtual service name in the client request. If you create a proxy gateway module with the default type of routing, which is URL-based, and use the URL available in the resolved WSDL, then the routing of the request occurs automatically. If you create a proxy gateway module with XPath-based routing, ensure that the message location you specify contains the correct virtual service name.
Procedure
Results
The new endpoint is added to the built-in configuration store, and the Proxy Gateway widget is refreshed.
What to do next
- Retrieve the WSDL that your client must use to call a virtual
service. You can obtain the WSDL by entering the endpoint of the virtual
service URL in a web browser, and appending the string: ?wsdl.
For example, http://zzz/Gold?wsdl, where http://zzz/ is
the address of the proxy gateway and Gold is the
name of the virtual service. Note: The endpoint of the virtual service URL is specified in the Endpoint field, under the Virtual Service URLs heading.
- Use your client to access the proxy gateway. The proxy gateway routes your request to the real service associated with the virtual service.