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

    Patron API call returns localhost

    • 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.

    Please note that Voyager Support has a very limited ability to assist with the Voyager APIs.  We can help identify the APIs that might be useful to you, and provide basic troubleshooting aid.  Voyager-L and Developer Network  are useful resources for obtaining additional assistance.


    • Article last edited: 08-Oct-2013
    • Was this article helpful?