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

Timeout for a service flow

  • 1.  Timeout for a service flow

    Posted Mon October 17, 2016 02:09 PM

    Hi,

    I have some web services, and I need to change the timeout used for a single service flow (the default value is correct for all others web services).

    How I may I enlarge a little the timeout value please ? (this web service calls a consumer)

    Regards


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Timeout for a service flow

    Posted Mon October 17, 2016 03:54 PM

    Pass the timeout input to your WSD connector as a configurable value either from properties file or from cache/DB.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 3.  RE: Timeout for a service flow

    Posted Fri October 21, 2016 08:57 AM

    hi,

    Thanks for your reply, but where is the timeout attribute on the WSD ? (I do not see it in under the Designer)

    Regards


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 4.  RE: Timeout for a service flow

    Posted Fri October 21, 2016 09:07 AM

    I meant the “timeout” input which is in Consumer WSD connector which goes as part of input to pub.client:soapClient service.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 5.  RE: Timeout for a service flow

    Posted Sat October 29, 2016 08:34 AM

    timeOut attribute is one of the input’s to the consumer WSD. Better use timeout settings in GlobalVariable section if you are using wM9x version.

    Thanks,


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 6.  RE: Timeout for a service flow

    Posted Mon October 31, 2016 06:04 AM

    Ok, I’ve understood :slight_smile: …in connectors, of some of my web service consumer, I could see where the soapClient operation is called and then, its timeout input parameter. Thank you for that.

    But, in my case, I have another question (or two 8) ) :
    I have a simple service flow that call a Jdbc Adapter Service (with no consumer and no connector) and I’ve created a WSD to add this operation.
    In that case, where would you configure the Timeout (in case of a very bad Sql not opimized query :wink: ) ?

    Last question :
    for the timeout soapClient, what is the default value, and where is it configured on the IS please ?

    Regards


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Timeout for a service flow

    Posted Mon October 31, 2016 01:37 PM

    In that case, where would you configure the Timeout (in case of a very bad Sql not opimized query :wink: ) – Are you referring to Query Time Out which is present in Adapter service templates? I hope going the below information will give you more clarity.

    For timeout in soapClient, refer “9-12_Integration_Server_Built_In_Services_Reference.pdf” it will give you more details about the usage and IS extended setting related to it.


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 8.  RE: Timeout for a service flow

    Posted Thu November 03, 2016 05:43 AM

    Thanks a lot M@he$h.

    Sorry, but what do you mean by “Adapter service templates” ? You find it from the Designer ? (if you have the doc about it please :wink: )

    Regards


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 9.  RE: Timeout for a service flow

    Posted Thu November 03, 2016 01:00 PM

    I was referring to Query Time Out present in Adapters (JDBC Adapter) refer JDBC Adapter Users Guide for more details.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 10.  RE: Timeout for a service flow

    Posted Wed November 09, 2016 04:52 AM

    Thanks a lot M@he$h, I’ve found the infirmations that I needed.

    Regards


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 11.  RE: Timeout for a service flow

    Posted Wed May 17, 2017 10:50 AM

    hi,

    In relation to the initiial question… I’m coming back to you because I’m testing Timeout but it does not work :

    Here is my service :
    1- -SEQ (Sucess)
    2- – SEQ (Failure)
    3- ---- external Consumer WSD
    4- – SEQ (Done)
    5- ---- Error

    I’m trying to set Timeout to 5000 to the input of the soapclient, but the error never catched
    (I’ve tried to set the timeout of the 2- SEQ at 5000 too)

    Cases : In the 3- step, I’ve tested :
    1/ calling my Consumer when server is stopped
    2/ calling my Consumer when the inside service flow calls the java service : TimeUnit.SECONDS.sleep(60);

    I’ve never succeed to raise my Timeout exception Error… am I missing something,
    any idea please ?

    Regards


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB