IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  How to get connection parameters

    Posted 12/28/09 10:38 AM

    In my application, I need to get the value of $dbuser. How can I get the username of the connection I use to create a adapter???


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: How to get connection parameters

    Posted 12/30/09 12:51 AM

    Hi,

    Use “wm.art.admin.connection:getResourceConfiguration” service to retrieve the jdbc connection details.

    You would need to populate 2 pipeline variables :
    connectionAlias =
    adapterTypeName = JDBCAdapter

    You may not be able to see this service from Developer as it requires LIST ACL. To workaround on this, use “pub.remote.invoke”

    Regards,
    Sumit


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 3.  RE: How to get connection parameters

    Posted 12/30/09 07:02 PM

    There is an easy way to insert steps to invoke services that are not listed in Developer.

    Insert an invoke step to call any arbitrary service, like pub.string:concat.

    Select the step then on the properties pane, edit the service name to be the service that you want to call. E.g. replace pub.string:concat with wm.art.admin.connection:getResourceConfiguration.

    The editor pane will update to show the inputs/outputs of the desired service, if they are declared (for example, many WmRoot services do not declare inputs/outputs though they expect particular pipeline vars to be present).

    HTH


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: How to get connection parameters

    Posted 01/08/10 07:25 AM

    Hey guys thanks for ur time and help… It worked great…


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB