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.Code:<dependencies> <dependency> <groupId>org.springframework.ws</groupId> <artifactId>spring-ws-core</artifactId> <version>2.0.0.RELEASE</version> </dependency> <dependency> <groupId>jdom</groupId> <artifactId>jdom</artifactId> <version>1.0</version> </dependency> <dependency> <groupId>jaxen</groupId> <artifactId>jaxen</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.8.2</version> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>0.9.28</version> </dependency> </dependencies>
Regards,
James![]()


Reply With Quote
