Viewing or downloading an HTDS description file
You can view or download the description file of a hosted transparent decision service to Web Service Description Language (WSDL), Web Application Description Language (WADL), or OpenAPI format.
About this task
WSDL and WADL file generation are supported for XML XOMs and Java™ XOMs with JAXB annotations. OpenAPI generation is supported only for Java XOMs. 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 or OpenAPI.
- WSDL, WADL, or OpenAPI file generation is not available in the Rule Execution Server console for zRule Execution Server for z/OS®.
- You cannot use the Retrieve HTDS Description File feature for rulesets that are built with an incompatible engine version. In case of incompatibility, the Ruleset View provides more information.
- WSDL
To invoke 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 by using the REST API, you can generate a description file in .wadl format for the ruleset from the Rule Execution Server console.
- OpenAPI
Another way to execute a ruleset by using the REST API is to generate an OpenAPI definition file in .yaml or .json format for the ruleset from the Rule Execution Server console, and execute it through an OpenAPI tool or framework.
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.
When you download an OpenAPI file, you can select the ruleset path and add a decision trace request.
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, WADL, or OpenAPI file 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.