axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Rheinheimer (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3721) need a test for StackOverflow in JAX-WS handler getting http header
Date Wed, 09 Apr 2008 17:19:26 GMT
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


Mime
View raw message