Hi,
I've seen other threads asking about timeout and in the few cases where there
are responses, the solution lies in using Call.setTimeout(int).
I'm using SAAJ, so I'm dealing with a SOAPMessage. I see that MessageContext
implements setTimeout, but when I try to get the MessageContext from the
SOAPMessage (after casting down to Message so I can use getMessageContext() ) ,
I get null.
I *think* I'm heading in the right direction here -- most of my service calls
are very fast, so whatever the default timeout period is has been fine for me
so far. But now I'm implementing a call that can take 60 to 90 seconds, so I
would like to change the timeout only for the SOAPMessage that contains this
longer-running service call.
Thanks for any advice you can share on this,
. . . Phil
American Express made the following
annotations on 07/10/2003 10:02:39 AM
------------------------------------------------------------------------------
******************************************************************************
"This message and any attachments are solely for the intended recipient and may
contain confidential or privileged information. If you are not the intended recipient,
any disclosure, copying, use, or distribution of the information included in this
message and any attachments is prohibited. If you have received this communication in
error, please notify us by reply e-mail and immediately and permanently delete this
message and any attachments. Thank you."
******************************************************************************
==============================================================================