Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 7 Managing RESTful Web Services : Guidelines for Creating and Editing a RESTful Web Service

Guidelines for Creating and Editing a RESTful Web Service
A WADL file is used to describe RESTful web services. This section describes some rules and restrictions applied for a WADL file, which are useful when creating and editing RESTful web services.
Adhere to the following rules when creating and editing a RESTful web service:
RESTful web service  The base URL of the RESTful web service must be unique.
Resource  A resource element must adhere to the following rules:
The values of both the name and style attributes must be unique. The values cannot be the same as that of another resource parameter and the request parameters of the method under this resource.
Method  A method element must adhere to the following rules:
A method element can contain only one request node.
Request  A request element must adhere to the following rules:
The values of both the name and style attributes must be unique. The values cannot be the same as that of another request parameter and the method resource parameters.
Response  The response name must be unique among siblings.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved