Announcement Announcement Module
No announcement yet.
Spring WS (2.0.0.RELEASE) web service issues in Tomcat 6.0.26 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring WS (2.0.0.RELEASE) web service issues in Tomcat 6.0.26

    Dear friends,

    I followed the excellent tutorial Writing Contract First Web Services using Spring WS 2.0.0.RELEASE.

    I built a sample application as outlined by the tutorial and it worked perfectly, when deployed to jetty (using the maven jetty plugin).

    However, when I tried to deploy the same to Tomcat (6.0.26), it deployed without spitting any exceptions but when I access the webservice at the expected context (http://localhost:<my-port>/holidayService), I get a "HTTP 405" error.

    These are my maven dependencies:

    Kindly give your insights to this issue.

    Last edited by jamcru; Mar 10th, 2011, 02:26 AM. Reason: Added maven dependencies

  • #2
    Oops..I missed the context path

    Sorry guys. It's my mistake :-)

    I forgot to include the context path in the url.

    I used the url as suggested by the tutorial "http://localhost:8080/holidayService/holiday.wsdl", which gave me a 405 error message. But when I accessed it with "http://localhost:8080/tutorial/holidayService/holiday.wsdl" it worked.

    Sorry once again for the troubles.