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 "Mike Rheinheimer (JIRA)" <ji...@apache.org> on 2008/04/09 19:19:26 UTC
[jira] Created: (AXIS2-3721) need a test for StackOverflow in
JAX-WS handler getting http header
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-3721) need a test for StackOverflow in
JAX-WS handler getting http header
Posted by "Rich Scheuerle (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rich Scheuerle reassigned AXIS2-3721:
-------------------------------------
Assignee: Mike Rheinheimer
> 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
> Assignee: 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org