Portus Version 2012-12-17
 —  Tutorials  —

Accessing LOBs using a browser

You can also use Portus to retrieve LOBs from Adabas into a web browser. This can be any browser of your choice, for example IE running on Windows, retrieving LOBs from Adabas running on z/OS.

In the tutorial below, we'll use the popular Firefox browser and the Portus running on z/OS.

This tutorial assumes you've already got some LOBs stored in your database. See the previous tutorial to find out how to do this.

  1. Start the Control Center and add a new Web Service.

    Enter the following information

    Publish your changes to the server.

  2. Start your browser, and enter the following URL

    "http://soagate:56000/adabasTutorial_blobs?GET&personnel_id=99880000"

    Replacing "soagate:56000" with the hostname and port where Portus is running.

  3. If there is a blob associated with this record, the following is returned

    graphics/blobs9.PNG

  4. Click on the link "Click here for blob" to display the LOB file in the browser.

    Note:
    The LOB will open automatically in your browser, if it of a MIME type that your browser understands. Commonly used types are PDF, WMV, JPEG, etc. Refer to your browser documentation if you need more information.

  5. Here you can see a JPEG file opened up in a new tab in firefox after the LOB link was clicked.

    graphics/blobs10.PNG

Top of page