Generating a WADL representation
You can generate a WADL representation of request and response elements, and their documentation.
Before you begin
Before you can use the REST service in a client, you must start the sample server or configure Rule Execution Server for your application server. See Starting and stopping the sample server or Configuring.
About this task
To write XML input for the POST method to a specific ruleset endpoint URI, you can generate the WADL representation. The WADL representation contains two entries for a POST method and one for a GET method. A set of XSD files are attached to this method to describe the XML representation of the input and output objects.
To generate a WADL representation, you can use the endpoint URIs. The WADL format is described in the Web Application Description Language page of the W3C website.
Procedure
Results
- If you sent the request from a browser, an HTML page displays
the error message.Note: The status code is 200 despite the error message because it applies to the HTML page, not to the request result.
- If you sent the request from a client other than a browser, status code 404 (Not Found) is returned and the error is described in XML.