Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    Patron API call returns localhost

    • Article Type: General
    • Product: Voyager
    • Product Version: 8.1.2

    Problem Symptoms:
    * Patron RESTful API call to vxws:
    http://<IP>:<port>/vxws/patron/<patron_id>?patron_homedb=1@<db_key>
    returns response with localhost instead of server IP
    <response>
    <reply-text>ok</reply-text>
    <reply-code>0</reply-code>
    <patron>
    <info type="Circulation Actions" href="http://127.0.0.1:7014/vxws/patron/<patron_id>/circulationActions?patron_homedb=1@<db_key>"/>
    <info type="Patron Information" href="http://127.0.0.1:7014/vxws/patron/<patron_id>/patronInformation?patron_homedb=1@<db_key>"/>
    <info type="Records" href="http://127.0.0.1:7014/vxws/patron/<patron_id>/records?patron_homedb=1@<db_key>"/>
    <institution id="LOCAL">
    <instName>Columbia University Libraries</instName>
    </institution>
    </patron>
    </response>

    Cause:
    Patron API uses VXWS setting for LOCAL database in System Administration.

    Resolution:
    1. Navigate to VXWS setting: System Administration > Search > Database Definitions > LOCAL > Edit > Definitions tab > VXWS.
    2. Edit Addr: field to hold the IP or hostname you want vxws to return for API calls.
    3. Click Save.

    Category: Opac


    • Article last edited: 10/8/2013