Scott Sauyet wrote:
I'm wondering if I can do some sort of automatic retry for such an
exception in Axis2.
It didn't actually solve my underlying problem, but I think I've found
an answer to this question, although it involved more guess work than
actual understanding. I knew how to write a retry handler in
HttpClient. (http://tinyurl.com/2b3jek#Custom_exception_handler) To
connect it to Axis2, I tried this, and it seemed to work:
stub._getServiceClient().getOptions().setProperty(
HttpMethodParams.RETRY_HANDLER, MyHttpMethodRetryHandler);
where stub extends org.apache.axis2.client.Stub. This was just
guesswork. But setting the log level to DEBUG, I could see a difference
depending upon my retry handler.
Now back to the underlying issue.
Cheers,
-- Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]