Online Helps > Rule Execution Server Console > Viewing and Managing Rulesets > Setting WSDL Options

When your architecture is SOA-based, and you integrated your business rules solution as a hosted transparent service, you can use the WSDL options to configure the URLs of the hosted transparent decision service and the Web service end point.

If you did not deploy the jrules-bres-ootbds-<platform>.ear archive on the same machine as the one where Rule Execution Server is installed, you can configure the URL to access the hosted transparent decision service on this machine.

To configure the hosted transparent decision service location:

  1. In the Navigator panel, click the relevant ruleset.
  2. In the Ruleset View, click Show WSDL Options.
  3. On the right of the field Hosted Transparent Decision Service location, click the images/editicon.png Edit icon.
  4. Type the custom URL in the field and click the images/saveicon.png Save icon.

If you use a load balancer or proxy, you can configure the Web service to point to the proxy URL instead of the machine that generates the WSDL. Having changed the Web service end point, you can execute the service without reliance on the machine that generated the WSDL.

To configure the Web service end point:

  1. In the Navigator panel, click the relevant ruleset.
  2. In the Ruleset View, click Show WSDL Options.
  3. On the right of the field Web Service end point, click the images/editicon.png Edit icon.
  4. Type the custom URL in the field and click the images/saveicon.png Save icon.

You can also overwrite the URL of the Web service to invoke in the generated stub by API. For example, in Axis (http://ws.apache.org/axis/index.html), there is a ServiceLocator class in the Web service client classes generated with Rule Studio. This class defines a method getDecisionServiceSOAPlocalhost that takes a URL as a parameter. The name of this class depends on the name of the ruleset, for example:

DecisionServiceSimpleRuleset_PortType pt =
                         locator.getDecisionServiceSOAPlocalhost(URL);

See Also

Viewing the WSDL for a Ruleset | Enabling and Disabling Rulesets