[ 
https://issues.apache.org/jira/browse/GERONIMO-2841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478918
 ] 

Paul McMahan commented on GERONIMO-2841:
----------------------------------------

The test case asks for:
   URL url = new URL(baseURL + warName + "/JAXWSBean")

When tomcat sees that request URI it redirects the request to 
http://.../JAXWSBean/   (note the appended slash).   The testcase's 
URLConnection is configured to follow redirects but uses GET instead of POST on 
the ensuing request.

Changing the test case to use this URL fixed the problem for me:
   URL url = new URL(baseURL + warName + "/JAXWSBean/")


> Valve reports request method as GET even though POST request was made
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-2841
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-2841
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Tomcat
>            Reporter: Jarek Gawor
>
> The Request of EJBWebServiceValve in Tomcat return the request method as GET 
> even though POST request was sent. In similar class in Jetty the request 
> method is reported correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to