Testing the REST Adapter with the HTTP Analyzer

You can test the REST adapter with the HTTP Analyzer.

To test the REST adapter with the HTTP Analyzer:

  1. Copy the WADL file URL from the home page of the SOA composite application in Oracle Enterprise Manager Fusion Middleware Control, as shown in Figure 37-17.

    Figure 37-17 WADL File URL in Oracle Enterprise Manager Fusion Middleware Control

    Description of Figure 37-17 follows
    Description of "Figure 37-17 WADL File URL in Oracle Enterprise Manager Fusion Middleware Control"
  2. In the HTTP Analyzer, click the Open URL icon, enter the WADL URL copied from Oracle Enterprise Manager Fusion Middleware Control, and press Return.

    The WADL file is included with the POST method. Figure 37-18 provides details.

    Figure 37-18 WADL File and POST Method

    Description of Figure 37-18 follows
    Description of "Figure 37-18 WADL File and POST Method"
  3. Click Test.
  4. Copy and paste a sample request XML payload into the Request HTTP Headers section and click Send Request. You can also specify JSON formats. Figure 37-19 provides details.

    After processing completes, a response message is displayed. For this example, a message with an order status of Shipped is displayed. Figure 37-20 provides details.