Windows

This sub-subsection explains how to do a HTTP call to the electronic archive introduced in Introduction outside the Frank!Framework. This subsection gives the instructions Windows users need to follow.

Please do the following:

  1. Open the Frank!Framework by browsing to http://localhost.

  2. Open Ladybug by clicking “Testing” and then clicking “Ladybug”:

    ../../../_images/frankConsoleFindTestTools1.jpg
  3. Enable the report generator as shown:

    ../../../_images/ladybugEnableReportGenerator.jpg
  4. Start Postman. Ensure that “SSL certificate verification” is not checked, see Testing (Windows) in chapter “Getting Started” for instructions.

  5. Start a new request as explained in Getting Started. Select method POST and type URL localhost/api/archive.

  6. Go to tab “Headers”.

  7. Add header Content-Type with value application/xml and select it, as shown:

    ../../../_images/postmanHeaders1.jpg
  8. Go to tab “Body”.

  9. Select type “raw” as explained in Getting Started, see link above. Then enter the following XML for the body:

    <document>This is the document</document>
    
  10. Press “Send”.

  11. Under the body you entered, you should see the following response:

    <docid>docid-12345</docid>
    
  12. Switch back to Ladybug and press Refresh:

    ../../../_images/ladybugRefresh.jpg
  13. You see a table in which your HTTP call appears (number 1):

    ../../../_images/ladybugReport.jpg
  14. Click the line corresponding to your call to the electronic archive (number 1). You see a tree view of the execution of this Frank adapter (number 2). To the right, you see information about the selected node (number 3). In this case, it is the XML message you passed through the body of your HTTP request.

Note

In the tree view you see the abbreviation SUT. This stands for System Under Test.