Set web service context

Overview

The Set Web Service Context filter is used in a policy to determine the service to obtain resources from in the web service repository. For example, by pointing this filter at a preconfigured getQuote service in the web service repository, the policy knows to return the WSDL for this particular service when a WSDL request is received. The Return WSDL filter is used in conjunction with this filter to achieve this.

The Set Web Service Context filter is configured automatically when auto-generating a policy from a WSDL file and is not normally manually configured. For a detailed example, see the Manage web services topic.

General settings

Name:

Enter a name for the filter.

Service WSDL settings

The Service WSDL tab enables you to select the web service to obtain resources from in the web service repository.

Click the browse button to select a service definition (WSDL file) currently registered in the web service repository from the tree. To register a web service, right-click the default Business Services > Web Services node, and select Register Web Service. For more details on adding services to the web service repository, see the Manage web services topic.

Monitoring settings

The fields on this tab enable you to configure whether this web service stores usage metrics data to a database. This information can be used by API Gateway Analytics to produce reports showing how and who is calling this web service. For details on the fields on this tab, see the section called “Monitoring options” in the Web service filter topic.