Accessing and Viewing REST Service Definitions
This section discusses how to:
Access REST service definitions.
View WADL documents for REST services.
View REST service operation information.
View messages defined for REST service operations.
REST service definitions appear on the Services page (IB_SERVICEDEFN) in the Service component (IB_SERVICEDEFN).
Use the Services – Search page to search for and access REST definitions in the database.
Note that the Services – Search page features a REST Service check box. To access a REST service in the database you must select the REST Service check box. If you do not select the check box, the system searches the database for non-REST services only.
After a successful search for a REST service, the system displays the definition in the Services page.
The top portion of the page features a read-only REST Service check box that, when selected, indicates that the service is a REST-based service. The page also features a read-only Provider check box that, when selected, indicates the service is a provider service; if the Provider check box is not selected, the service is a consumer REST service.
To access a REST service definition:
The Services-Search page appears.
Select the REST Service check box.
Use one of the following methods to search for a definition:
To search for a specific service, in the Service field enter the name of the service and click the Search button.
To view and select from all REST services in the database, click Search button, and in the results grid select the service to access.
The definition for the selected service appears in the Services page.
Click the View WADL link to display the WSDL Repository page (IB_SERVICEDEFN_SEC) and access any generated WADL documents for the service.
When you click the View WADL link on the WSDL Repository page, the WADL Viewer page (IB_SERVICEWSDL_SEC) appears and you can view the WADL document for the service.
To view a WADL document for a REST service:
Access the service definition ().
Click the View WADL link.
The WSDL Repository page appears.
Click the View WADL link.
The document appears in the WADL Viewer page.
Click the Return button to return to the WSDL Repository page.
Click the Return button again to return to the Services page.
The Existing Service Operations section of the Services page contains an Operation tab that displays service operations and service operation versions that are associated with the service. It also displays descriptions of the service operations, the type of operation, and whether the service operation is active. When you click the name of a service operation, the operation opens on the Service Operations page, where you can view and modify service operations information, work with the service operation handlers, routing definitions, and do much more.
The Existing Service Operations section of the Services page contains a Messages Links tab that displays the request and response messages defined for each REST service operation in the service.
Click the request or response message name to open the message in the Message Definitions page, where you can view and modify message definition information, message schema information, and more.