Published on WSO2 Oxygen Tank (http://wso2.org)

Setting WSClient timeout?

By thelliez
Created 2008-05-20 13:58

Hello, I need to increase the client timeout. It seems to be set to 60 seconds.

I tried a "timeout' parameter I have seen in the wsclient forum but ti does not seem to work...

 

Is the following the correct syntax? Is this parameter actually implemented?

    client = WSClient.new(    {"to" => endPoint,

                       "use_mtom" => "TRUE",

                "response_xop" => "TRUE",

                "timeout" => 120},

                options.logPath + @logFileName )

 

Thanks,

Thierry Thelliez


Source URL:
http://wso2.org/forum/thread/3611