axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishanthan Thangarajah (JIRA)" <>
Subject [jira] [Commented] (AXIS2-4021) AbstractHTTPSender: changes to the isAllowRetry flag have no effect
Date Sat, 26 May 2012 10:53:23 GMT


Kishanthan Thangarajah commented on AXIS2-4021:

This issue is still there in trunk as-well. The flag is used in AxisRequestEntityImpl to preserve
the envelop for later use rather than consuming it early. This flag value may get changed
later during the time when Authentication info is set to client. May be there should be a
way to set the flag in AxisRequestEntityImpl, later in the path of execution before the execute
method is called.
> AbstractHTTPSender: changes to the isAllowRetry flag have no effect
> -------------------------------------------------------------------
>                 Key: AXIS2-4021
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: transports
>    Affects Versions: 1.4.1
>         Environment: bug independent of environment
>            Reporter: Uwe Kylau
> The class org.apache.axis2.transport.http.AbstractHTTPSender contains a boolean flag
isAllowedRetry, initally set to false.
> In class HTTPSender this flag is propagated to the AxisRequestEntity used by the PostMethod
(or PutMethod).
> However, this is done BEFORE executeMethod(...) is called on AbstractHTTPSender.
> Part of executeMethod(...) is to retrieve the HostConfiguration, which in turn includes
processing the authentication information.
> Now, the problem is that isAllowedRetry might change in setAuthenticationInfo(...), but
this change is NEVER propagated to the AxisRequestEntity.
> AxisRequestEntity does not even allow to change parameters once it has been created.
> Thanks in advance for fixing.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message