webMethods

 View Only
Expand all | Collapse all

How to fetch all the JDBC connection details in IS page

  • 1.  How to fetch all the JDBC connection details in IS page

    Posted Mon August 08, 2022 04:34 AM

    HI experts,

    Could someone please guide , is there a option to fetch all the JDBC connection details. I am working for some DB related activity, so i need to collect all the DB user details. But its taking too much of time to open the every connection and collecting the details

    Best Regards
    K M, Varun


    #adapter
    #Integration-Server-and-ESB
    #JDBC-connections
    #webMethods-io-Integration
    #webMethods-cloud
    #webMethods


  • 2.  RE: How to fetch all the JDBC connection details in IS page

    Posted Mon August 08, 2022 08:10 AM

    Hi Varun,

    please check the IS Built-In-Services Reference for your IS version for the ART-Folder.
    This one contains services to list all connections and then to get their details (except password for security reasons).

    Regards,
    Holger


    #adapter
    #webMethods-io-Integration
    #JDBC-connections
    #webMethods
    #Integration-Server-and-ESB
    #webMethods-cloud


  • 3.  RE: How to fetch all the JDBC connection details in IS page

    Posted Tue September 06, 2022 03:33 AM

    Hi ,

    Thanks for the response. What should be the input for that service , I have tried with the adapter name , but the result is null. Also i tried with the String as input , same result as Null .
    Please assist me .


    #webMethods-io-Integration
    #webMethods-cloud
    #Integration-Server-and-ESB
    #JDBC-connections
    #webMethods
    #adapter


  • 4.  RE: How to fetch all the JDBC connection details in IS page

    Posted Mon August 08, 2022 08:53 AM

    If you are on 10.7 or newer version of IS, please have a look @ REST Admin API. You can get underlying Swagger doc by invoking http://localhost:5555/admin/swagger/integrationServer. Please have a look @ /admin/jdbc/pool/ resource.


    #Integration-Server-and-ESB
    #adapter
    #webMethods-cloud
    #JDBC-connections
    #webMethods
    #webMethods-io-Integration


  • 5.  RE: How to fetch all the JDBC connection details in IS page

    Posted Tue September 06, 2022 03:51 AM

    Use the service “pub.art:listRegisteredAdapters” to list all the available adapter types.
    That way you can copy/paste the one you want.
    regards,
    John.


    #webMethods-cloud
    #Integration-Server-and-ESB
    #JDBC-connections
    #webMethods
    #webMethods-io-Integration
    #adapter


  • 6.  RE: How to fetch all the JDBC connection details in IS page



  • 7.  RE: How to fetch all the JDBC connection details in IS page

    Posted Tue September 06, 2022 05:57 AM

    Note that your listAdapterServices’ input is “adapterTypeName”, which is the type of the adapter - SAP or JDBC, etc. Each type has a specific keyword, which is what John pointed you to.

    You take the output of listRegisteredAdapters (which provides you the keywords of the types that are available on your IS, viz., “WmSAP” or “JDBCAdapter”) and use in the listAdapterServices service as input. You will now get the list of all adapters for that type, i.e., SAP or JDBC.

    KM


    #webMethods-cloud
    #webMethods-io-Integration
    #JDBC-connections
    #adapter
    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: How to fetch all the JDBC connection details in IS page

    Posted Wed September 07, 2022 12:49 AM
    <