Viewing or downloading an HTDS description file
For any ruleset, you can view or download the description file of a hosted transparent decision service to Web Service Description Language (WSDL) format or to Web Application Description Language (WADL) format.
About this task
You can generate HTDS WSDL code for rulesets that use either an XML XOM or a Java™ XOM with JAXB annotations. The URL is based on the Rule Execution Server console host, even if the jrules-res-htds-<appserver>.ear archive is not deployed on that host.
When you present a ruleset as a SOAP hosted transparent decision service, the description file is generated in WSDL. When you create a transparent decision service to execute a ruleset through the REST API, the description file is generated in WADL.
WSDL or WADL code generation is not available in the Rule Execution Server console for zRule Execution Server for z/OS®.
- WSDL
To create a hosted transparent decision service, you can generate a WSDL file from a ruleset from the Rule Execution Server console. You can download the generated WSDL for the following purposes:
- Import the transparent decision service into any product or application that supports WSDL code, such as Rule Designer or IBM® Integration Designer with XSD files.
- Modify the WSDL so that the service uses a compatibility mode.
- Host the WSDL on another computer.
- WADL
When you want to execute a ruleset through the REST API, you generate its description file in WADL format from the Rule Execution Server console. You can then download the result to a .wadl file that REST clients can read.
When you download a WSDL or WADL file, you can select the ruleset path, add a decision trace request, and download the XSD files separately.
Moreover, in a WSDL file, you can also generate the code for compatibility with 7.0, 7.1, or 7.1.1.3 clients.
Procedure
Results
The WSDL or WADL code is displayed in a separate browser tab or window and saved to the disk to your default download directory. If you select Inline types as separate XSDs, the View button is not available and you can only download the generated files.