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.

 View Only
  • 1.  Partner Internal ID coming as null

    Posted Tue March 17, 2009 03:55 PM

    Hi All,

    In our application we are using Trading Networks API “wm.tn.profile:getInternalID” to fetch the internal ID for a trading partner, when processing an incoming message. Some times this API is returning a “null” value for the internal ID. This behavior interrupts the processing of the incoming message.
    Does anybody face this behavior? any help how can we overcome this issue??


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 2.  RE: Partner Internal ID coming as null

    Posted Tue March 17, 2009 04:53 PM

    Can you verify what the inputs to the service were when it fails? The external ID and ID type must match the profile exactly so check for trailing spaces, look alike chars (e.g. zero and the letter O) and such.


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Partner Internal ID coming as null

    Posted Tue March 17, 2009 05:44 PM

    Thx reamon

    i got your point, and checked for the input which is perfect at the time of failure.
    Actually there are profiles existing in the TN and the API "wm.tn.profile:getInternalID" gives the correct Internal ID all the time, but once in a while it gives us null value for the internal ID.
    The application keeps running all the time and passing the same value every time to this service for getting the profiles internal ID. Is thr any other alternative we can check from our side…


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 4.  RE: Partner Internal ID coming as null

    Posted Tue March 17, 2009 06:40 PM

    other thing that i can think of, is the DB connectivity. Make sure, you are not timing out on the DB connection / ran out of connections. Having a debug statement after the db connection service and after fetching the results, in your main service, will help you narrow down troubleshooting such issues.


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 5.  RE: Partner Internal ID coming as null

    Posted Wed March 18, 2009 08:33 AM

    This is really nice hint, but I m sure there is no such thing occurring at the time of failure…

    Hereby I searched the Wm Advantage Knowledge base and found the same issue for some other application….
    Here is the issue and the solution from wm in bold

    When executing the Trading Networks API
    “wm.tn.profile:getInternalID” under heavy load conditions,
    ebXML Module intermittently retrieves a “null” value for the internal ID.

    The ebXML Module invokes the Trading Networks API
    “wm.tn.profile:getInternalID” to fetch the internal ID
    for a trading partner when processing an incoming message.
    Under heavy load of incoming messages, this API may return
    a “null” value for the internal ID. This behavior interrupts
    the processing of the incoming message.

    This issue is resolved. The internal ID for a trading partner
    is now cached to avoid a fresh query to Trading Networks for
    each incoming message.


    WM has provided a fix to resolve this issue.

    My question is now how can I get a fix for this issue? Shall I ask WM ??


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 6.  RE: Partner Internal ID coming as null

    Posted Wed March 18, 2009 05:18 PM

    Yes, request the fix from wM tech support.


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB