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.
Now that you have reconfigured and redeployed the AccessBooks Web service, try running that HTML script again.
- In Windows Explorer, browse to the
%PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Interface Mapping Toolkit\ServiceInterfaces\BookDemo directory.
- Open the
bookAJAXtest.html file in a browser that supports cross-origin resource sharing.
- Click the
Read radio button
- 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 } }