You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kishanthan Thangarajah (JIRA)" <ji...@apache.org> on 2012/05/26 12:53:23 UTC
[jira] [Commented] (AXIS2-4021) AbstractHTTPSender: changes to the
isAllowRetry flag have no effect
[ https://issues.apache.org/jira/browse/AXIS2-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13283955#comment-13283955 ]
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: https://issues.apache.org/jira/browse/AXIS2-4021
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org