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 "Supun Kamburugamuva (JIRA)" <ji...@apache.org> on 2010/11/22 08:35:13 UTC

[jira] Created: (AXIS2-4892) User should be able to set custom HTTP headers when using CommonsHTTPTransportSender

User should be able to set custom HTTP headers when using CommonsHTTPTransportSender
------------------------------------------------------------------------------------

                 Key: AXIS2-4892
                 URL: https://issues.apache.org/jira/browse/AXIS2-4892
             Project: Axis2
          Issue Type: Improvement
            Reporter: Supun Kamburugamuva


At the moment CommonsHTTPTransportSender doesn't use the Transport header map to set the HTTP headers for outgoing messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4892) User should be able to set custom HTTP headers when using CommonsHTTPTransportSender

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973492#action_12973492 ] 

Samisa Abeysinghe commented on AXIS2-4892:
------------------------------------------

What sort of headers you are trying to set? 

> User should be able to set custom HTTP headers when using CommonsHTTPTransportSender
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4892
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4892
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>
> At the moment CommonsHTTPTransportSender doesn't use the Transport header map to set the HTTP headers for outgoing messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Resolved: (AXIS2-4892) User should be able to set custom HTTP headers when using CommonsHTTPTransportSender

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva resolved AXIS2-4892.
----------------------------------------

    Resolution: Fixed

Fixed by supporting the TRANSPORT_HEADERS map as well.

> User should be able to set custom HTTP headers when using CommonsHTTPTransportSender
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4892
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4892
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>
> At the moment CommonsHTTPTransportSender doesn't use the Transport header map to set the HTTP headers for outgoing messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Assigned: (AXIS2-4892) User should be able to set custom HTTP headers when using CommonsHTTPTransportSender

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva reassigned AXIS2-4892:
------------------------------------------

    Assignee: Supun Kamburugamuva

> User should be able to set custom HTTP headers when using CommonsHTTPTransportSender
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4892
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4892
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>
> At the moment CommonsHTTPTransportSender doesn't use the Transport header map to set the HTTP headers for outgoing messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Updated: (AXIS2-4892) User should be able to set custom HTTP headers when using CommonsHTTPTransportSender

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Supun Kamburugamuva updated AXIS2-4892:
---------------------------------------

    Component/s: transports

> User should be able to set custom HTTP headers when using CommonsHTTPTransportSender
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4892
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4892
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>            Reporter: Supun Kamburugamuva
>
> At the moment CommonsHTTPTransportSender doesn't use the Transport header map to set the HTTP headers for outgoing messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4892) User should be able to set custom HTTP headers when using CommonsHTTPTransportSender

Posted by "Supun Kamburugamuva (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973687#action_12973687 ] 

Supun Kamburugamuva commented on AXIS2-4892:
--------------------------------------------

The addCustomHeaders method uses the transport headers map with the key HTTP_HEADERS. But there is a map called TRANSPORT_HEADERS in axis2. I think this method should use the TRANSPORT_HEADERS map instead of HTTP_HEADERS map.



> User should be able to set custom HTTP headers when using CommonsHTTPTransportSender
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4892
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4892
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>
> At the moment CommonsHTTPTransportSender doesn't use the Transport header map to set the HTTP headers for outgoing messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4892) User should be able to set custom HTTP headers when using CommonsHTTPTransportSender

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973587#action_12973587 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4892:
-----------------------------------------------------

please see the  public void addCustomHeaders(HttpMethod method, MessageContext msgContext) {

method of the AbstractHTTPSender

> User should be able to set custom HTTP headers when using CommonsHTTPTransportSender
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4892
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4892
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>
> At the moment CommonsHTTPTransportSender doesn't use the Transport header map to set the HTTP headers for outgoing messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


[jira] Commented: (AXIS2-4892) User should be able to set custom HTTP headers when using CommonsHTTPTransportSender

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973936#action_12973936 ] 

Andreas Veithen commented on AXIS2-4892:
----------------------------------------

There is another issue (AXIS2-4754) that points out that it is not possible to pass headers with multiple values to the HTTP transport. Do you think that this could be addressed as well? Do other transports support multi-valued headers and how?

> User should be able to set custom HTTP headers when using CommonsHTTPTransportSender
> ------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4892
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4892
>             Project: Axis2
>          Issue Type: Improvement
>          Components: transports
>            Reporter: Supun Kamburugamuva
>            Assignee: Supun Kamburugamuva
>
> At the moment CommonsHTTPTransportSender doesn't use the Transport header map to set the HTTP headers for outgoing messages. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org