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.


#TechXchangePresenter
 View Only
Expand all | Collapse all

pub.remote:invoke (pub.security.keystore:getTrustedCertificates) in a LOOP

  • 1.  pub.remote:invoke (pub.security.keystore:getTrustedCertificates) in a LOOP

    Posted Mon February 01, 2016 10:48 AM

    Hello All,

    INFO:
    i am working on a FLOW Service which provides me information about certificates in a tustStore from remote IntegrationServer. In my test scenario I am having 1 Remote IS with two trustStores.

    PROBLEM:
    In my FLOW Service I am LOOPing over a List which contains remote_IS_Name and remote_TrustStoreAliasName.
    These 2 Inputs are used as Inputs for “pub.remote:invoke (pub.security.keystore:getTrustedCertificates)”.

    It seems that the “remote_TrustStoreAliasName” for “pub.security.keystore:getTrustedCertificates” is only getting 1 of 2 “TrustStoreAliasNames” and in my output i get onle certificates of the first “TrustStoreAlias” twice.
    So the i dont get the certificates from the second TrustStore.

    Any idea why? It is a session problem? time ? or something else ?

    Thank a lot in advance.
    Best regards
    Nils


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: pub.remote:invoke (pub.security.keystore:getTrustedCertificates) in a LOOP

    Posted Tue February 02, 2016 02:35 AM

    Can you debug your code, probably you might be passing same TrustStoreAliasName both the times ? If possible share your flow service to find any issues.

    Thanks,


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 3.  RE: pub.remote:invoke (pub.security.keystore:getTrustedCertificates) in a LOOP

    Posted Fri February 05, 2016 05:22 AM

    Hey,

    dropping the variable was not enough. I am now clearing the Pipeline to get my expected result.

    Thanks.
    BR
    Nils


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services