[
https://jira.jboss.org/jira/browse/JBWS-2849?page=com.atlassian.jira.plug...
]
Heiko Braun commented on JBWS-2849:
-----------------------------------
It's actually a bug in the WSResponseHandler#messageReceived(ChannelHandlerContext
ctx, MessageEvent e) implementation:
[...]
HttpResponse response = (HttpResponse)e.getMessage();
Map<String, Object> responseHeaders = result.getResponseHeaders();
responseHeaders.put(NettyClient.PROTOCOL, response.getProtocolVersion());
responseHeaders.put(NettyClient.RESPONSE_CODE, response.getStatus().getCode());
responseHeaders.put(NettyClient.RESPONSE_CODE_MESSAGE,
response.getStatus().getReasonPhrase());
for (String headerName : response.getHeaderNames())
{
responseHeaders.put(headerName, response.getHeaders(headerName));
}
Iterating over the header names and calling 'response.getHeaders(headerName)' will
replace the map entry with a List<String> object corresponding to the header name.
Failed to parse response code in netty based http client
--------------------------------------------------------
Key: JBWS-2849
URL:
https://jira.jboss.org/jira/browse/JBWS-2849
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-metro-3.2.1
Reporter: Heiko Braun
Fix For: jbossws-native-3.2.2
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira