ILOG JRules User Guide > Executing Rules > Getting Started > Tutorial: Executing a Hosted Transparent Decision Service > Task 5: Retrieving the WSDL File

You can retrieve the WSDL file from a Web browser, or from the Rule Execution Server Console. Note that some third party library tools provide automated tasks to help you retrieve the WSDL file by simply passing the WSDL URL. To access the WSDL file in the application, use the following URL: http://HOSTNAME:PORT/DecisionService/ws/CANONICALRULESETPATH?WSDL.

To retrieve the WSDL file from a browser:

  1. Open a browser and enter the following URL:
http://localhost:8080/DecisionService/ws/PreTradeChecksRuleApp/1.0/PreTradeChecks/1.0?WSDL
images/wsdl_url.png
  1. On the File menu, click Save As (Explorer), or Save Page As (Firefox), and replace the file in the following directory: <InstallDir>/executionserver/samples/decisionservice/data/pretradecheck.wsdl.

If you prefer, you can retrieve the WSDL file from the Rule Execution Server Console.

To retrieve the WSDL file from the Rule Execution Server Console:

  1. In the Rule Execution Server Console, click the Explorer tab.
  2. In the Navigator pane, click the images/cross.png icon next to RuleApps.
  3. Click the images/cross.png icon next to the PreTradeChecksRuleApp/1.0 RuleApp.
  4. Click PreTradeChecks/1.0.
  5. The Ruleset View page is displayed.
    images/pretradechecks_page.png
  6. Click Get WSDL for this ruleset version in the Ruleset View.
  7. A new browser window displays the content of the WSDL file.
  8. On the File menu, click Save As (Explorer), or Save Page As (Firefox), and replace the file in the following directory: <InstallDir>/executionserver/samples/decisionservice/data/pretradecheck.wsdl.

images/arrow_next.gif Next: Task 6: Calling the Hosted Transparent Decision Service Using WSDL Generated Clients