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
Expand all | Collapse all

XML Adapter : Http Request/Reply Time out

  • 1.  XML Adapter : Http Request/Reply Time out

    Posted Tue June 17, 2003 10:22 AM

    Hello everybody,

    Does anyone know how to define the time out of an http request/reply configured operation ?

    I tried the transaction timeout in the adapter parameters but It doesn’t seems to work as I though it would.

    Thanx
    Marc


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


  • 2.  RE: XML Adapter : Http Request/Reply Time out

    Posted Wed June 18, 2003 12:04 PM

    Marc,

    You don’t have a lot of control of the HTTP parameters with the built-in HTTP Request/Reply operation of the XML Adapter, and as you have found out timeout is one of those missing options. It is a pretty weak implementation.

    While I like the capability the adapter provides to marshall and unmarshall XML to/from webMethods documents, I have given up on the HTTP operation and have begun using Apache’s HTTP Client in place of the HTTP Request/Reply operation.

    I use a custom code step to hold the Apache code and include the libraries in the Adapter classpath. I get more robust behavior and much more control over HTTP parameters like timeout, request headers etc…

    This HTTP client is part of the apache.org “commons” project and you can download the libraries from there.

    Steve


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