Previous Topic Next topic Print topic


Resend an AJAX Request

Now that you have reconfigured and redeployed the ProgramCORS service interface, 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 } }
Previous Topic Next topic Print topic