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.  Connection problem

    Posted 09/23/08 09:08 AM

    Hi,

    Our ApplinX implementation is Java based and we are experiencing sporadic connection problems.

    This has been an ongoing (and frustrating) issue that we can’t seem to get our heads around.

    I have implemented some code to check the status of the session → getGXSession(), but need some assistance with reestablishing the connection when it is down, without the user have to login again. I’ve tried gx_attach() and gx_connect with little success.

    Code snippet below

    GXPathRequest req = new GXPathRequest(“DeleteReserveStock”);
    req.addVariable(“CustomerNumber”, getTagsAccesor().getTagContent(“customernumbersearch”));
    req.addVariable(“ProductCode”, getTagsAccesor().getTagContent(“currentOrderLineProductCode”));

    getGXSession().executePath(req); // FAILS HERE SPORADICALLY

    Any assistance would be great.

    Tks
    Andrew


    #ApplinX
    #Mainframe-Integration
    #webMethods


  • 2.  RE: Connection problem

    Posted 10/05/08 05:25 PM

    Hi Andrew,

    What kind of failure happens?
    If this happens on new connection, you might need to add a wait condition to the first screen as sometimes the host sends a blank screen at the beginning before the first screen and this can cause the path to fail sometimes (timing issues).
    There are more scenarios that can cause a path to fail.
    Try to debug the path via ApplinX composer or look in the log information or maybe create trace file to follow the session that make this problem.

    Regards,
    Assaf


    #webMethods
    #ApplinX
    #Mainframe-Integration