You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Jean-Pierre CLAVERY <jc...@wanadoo-sp.net> on 2002/03/15 15:12:58 UTC
timeout
Hello every body,
I am new in soap processing.
I specified a timeout for my SOAP method invocation by using :
******************************************
SOAPHTTPConnection shc;
shc = new SOAPHTTPConnection();
shc.setTimeout(5000); //<-- 5 seconds
Call call = new Call();
call.setSOAPTransport(shc);
******************************************
and i would like to invoke again my SOAP method if i have no answer (by the
server) after the specified timeout. Is there any way to catch the well
exception occured? (the exception, in this case is SOAPException =
SOAP-ENV:Client,Read timed out).
Thanks for your help
jp