users@glassfish.java.net

SAAJ - set connection time out

From: <glassfish_at_javadesktop.org>
Date: Wed, 29 Aug 2007 00:01:26 PDT

Hi all,

I've implemented a web services client using saaj-impl.jar. but when I invoke the soapConnection.call(), if there's no response from the server, it will just hang at the particular call method. How can I set the time out when i invoke the call method? I've read around but seems like it cannot be done using saaj api.

Thanks in advance.

best regards,
ashley
[Message sent by forum member 'ashley_ycy' (ashley_ycy)]

http://forums.java.net/jive/thread.jspa?messageID=233015