[ 
https://issues.apache.org/jira/browse/AXIS2-4754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen reopened AXIS2-4754:
------------------------------------


Isuru,

The change is not correct. The meaning of "multiple values" is that several 
headers with the same name but different values are sent. This is unusual for 
HTTP, but not forbidden. It is not the same as sending a single header with a 
comma separated list of values. The problem is actually not in JAX-WS, but in 
the HTTP transport, which doesn't support multiple values.

> Cannot pass HTTP headers with multiple values
> ---------------------------------------------
>
>                 Key: AXIS2-4754
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4754
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws
>    Affects Versions: 1.5.1, 1.5
>            Reporter: Jarek Gawor
>            Assignee: Isuru Eranga Suriarachchi
>             Fix For: 1.6
>
>
> JAX-WS enables a user to pass a map of custom http headers with the request 
> (by setting MessageContext.HTTP_REQUEST_HEADERS property on the 
> BindingProvider). The map is a mapping of a header name to a list of values. 
> Right now Axis2 seems to be handling a single value. If multiple values are 
> passed an exception is generated in TransportHeadersAdapter.
> In revision 958078 I added a test case (with commented out code) that might 
> be helpful in debugging this problem.

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to