ws-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Pierre CLAVERY" <jclav...@wanadoo-sp.net>
Subject timeout
Date Fri, 15 Mar 2002 14:12:58 GMT
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


Mime
View raw message