need a test for StackOverflow in JAX-WS handler getting http header
-------------------------------------------------------------------
Key: AXIS2-3721
URL: https://issues.apache.org/jira/browse/AXIS2-3721
Project: Axis 2.0 (Axis2)
Issue Type: Test
Components: jaxws
Reporter: Mike Rheinheimer
Jarek checked in a fix for a StackOverflow problem in SVN rev 644091 (file
modules/jaxws/src/org/apache/axis2/jaxws/handler/TransportHeadersAdapter)
We should add a test for this. Basically all that needs to happen to test this
is that a jaxws handler needs to try go get an http header, and this should NOT
cause a StackOverflow:
String headerVal = null;
Map<String, List<String>> map = (Map<String, List<String>>)
context.get(MessageContext.HTTP_RESPONSE_HEADERS);
for (Map.Entry<String, List<String>> entry : map.entrySet()) {
String name = entry.getKey();
if(name.equalsIgnoreCase("Content-Type"))
headerVal = entry.getValue();
}
--
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]