Resend an AJAX Request

Walks you through the process of resending an AJAX request to your deployed Web service running on the reconfigured ESCORS enterprise server instance using a browser that supports CORS.
Restriction: This topic applies only when the Enterprise Server feature is enabled.

Now that you have reconfigured and redeployed the AccessBooks Web service, try running that HTML script again.

  1. In Windows Explorer, browse to the %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Interface Mapping Toolkit\ServiceInterfaces\BookDemo directory.
  2. Open the bookAJAXtest.html file in a browser that supports cross-origin resource sharing.
  3. Click the Read radio button
  4. Type 1111 into the lnk_b_stockno field; then click Submit.

    The following text should appear below the Submit button:

    Result: { "lnk_file_status" : "00", "readop_details" 
    : { "lnk_b_text_details" : { "lnk_b_title" 
    : "LORD OF THE RINGS", "lnk_b_type" : "FANTASY", 
    "lnk_b_author" : "TOLKIEN" }, "lnk_b_stockno" 
    : "1111", "lnk_b_retail" : 15, "lnk_b_onhand" 
    : 4000, "lnk_b_sold" : 3444 } }