You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by paul <tj...@fairex.com> on 2004/10/26 10:59:13 UTC
Pls help , encountered error while sending data
Dear all,
I am currently using httpclient 3.0 alpha 2 release, and I got the follow exceptions while attempting to send out a soap request :
=============================================
Oct 26, 2004 3:29:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Recoverable exception caught when processing request
Oct 26, 2004 3:29:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Recoverable exception caught when processing request
Oct 26, 2004 3:29:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
Oct 26, 2004 3:29:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
java.lang.NullPointerException
at org.apache.soap.rpc.Call.getEnvelopeString(Unknown Source)
at org.apache.soap.messaging.Message.receiveEnvelope(Unknown Source)
=============================================
Is it true that when it says retryMethod() returned false mean that it will not attempt to retry to send the xml? If that's so, is there anyway to set it to retry N times?
Thx in advance.
CONFIDENTIAL NOTE: The information contained in this email is intended only
for the use of the individual or entity named above and may contain
information that is privileged, confidential and exempt from disclosure under
applicable law. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, distribution or copying of
this communication is strictly prohibited. If you have received this message
in error, please immediately notify the sender and delete the mail. Thank you.
Re: Pls help , encountered error while sending data
Posted by Oleg Kalnichevski <ol...@bearingpoint.com>.
Paul
You need to provide a custom method retry handler. See the HttpClient
exception handling guide for details
http://jakarta.apache.org/commons/httpclient/3.0/exception-handling.html#Custom%20exception%20handler
Hope this helps
Oleg
On Tue, 2004-10-26 at 10:59, paul wrote:
> Dear all,
>
> I am currently using httpclient 3.0 alpha 2 release, and I got the follow exceptions while attempting to send out a soap request :
>
> =============================================
> Oct 26, 2004 3:29:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> INFO: Recoverable exception caught when processing request
>
> Oct 26, 2004 3:29:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> INFO: Recoverable exception caught when processing request
> Oct 26, 2004 3:29:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
> Oct 26, 2004 3:29:20 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
> WARNING: Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception
> java.lang.NullPointerException
> at org.apache.soap.rpc.Call.getEnvelopeString(Unknown Source)
> at org.apache.soap.messaging.Message.receiveEnvelope(Unknown Source)
>
> =============================================
>
> Is it true that when it says retryMethod() returned false mean that it will not attempt to retry to send the xml? If that's so, is there anyway to set it to retry N times?
>
>
> Thx in advance.
>
>
> CONFIDENTIAL NOTE: The information contained in this email is intended only
> for the use of the individual or entity named above and may contain
> information that is privileged, confidential and exempt from disclosure under
> applicable law. If the reader of this message is not the intended recipient,
> you are hereby notified that any dissemination, distribution or copying of
> this communication is strictly prohibited. If you have received this message
> in error, please immediately notify the sender and delete the mail. Thank you.
***************************************************************************************************
The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org