Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    campusM

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. campusM
    3. Knowledge Articles
    4. Creating Curl Requests for Testing Services

    Creating Curl Requests for Testing Services

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Generating Curl Requests
      1. Example request:
    • Product: campusM
    • Operating system: iOS, Android

    Generating Curl Requests

    Curl requests are an effective way to test / troubleshoot services (both externally via HTTPS and locally via HTTP). These requests can be useful in diagnosing and pin-pointing front-end (AEK) vs backend (Web services) issues (e.g. if the Connect layer service not responding with the correct information then the issue mostly likely points at a web service or the backend system that web service is attempting to extract data from). This method can also be used to make requests directly to your backend system to further diagnose issues.

    Example request:

    For making requests to campusM Connect layer services you will need to obtain the basic auth credentials by navigating to the Tomcat directory, then to conf/tomcat_users.xml

    You will find the username and password pair wherein the entry begins:

    ‘<user username="application_'

    First, check the WSDL is accessible through:

    curl “https://<basic_auth_username>:<basic_auth_password>@<Server address>/<war file name>/services/CampusMUniversityService?wsdl”

    i.e curl https://user:secret@myserver.com/mywar/services/CampusMUniversityService?wsdl

     

    Secondarily (if using LDAP), attempt to run the login query:

    Curl https://<basic_auth_username>:<basic_auth_password>@<Server address>/<war file name>/services/CampusMUniversityService/login?username=<username>&password=<password>

    curl https://user:secret@myserver.com/mywar/services/CampusMUniversityService/login?username=endUser1&password=supersecure

    To save responses to file, use the following format:

    curl –o <file name> <url>

     

     

     


    • Article last edited: DD-Mmm-YYYY
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Connect Layer Troubleshooting
      • Customer ability to close Salesforce Cases
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      Training Materials
      Content Type
      Knowledge Article
      Language
      English
      Product
      campusM
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved