File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Problems with SOAPUI, SpringWS, and Tomcat5.5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Problems with SOAPUI, SpringWS, and Tomcat5.5" Watch "Problems with SOAPUI, SpringWS, and Tomcat5.5" New topic
Author

Problems with SOAPUI, SpringWS, and Tomcat5.5

alex garner
Greenhorn

Joined: Jan 08, 2010
Posts: 2
Ive been trying to get an example Web Service working using SpringWS and Tomcat5.5

Ive followed examples such as:

1) http://justcompiled.blogspot.com/2010/09/building-web-service-with-spring-ws.html
2) http://jamesbnuzzo.wordpress.com/2009/04/14/spring-web-services-with-jaxb-maven-amp-eclipse/

The latter has an ZIP file which includes the WAR to drop into Tomcat

In both examples the Web Service runs and I can view the WSDL file (eg http://localhost:8080/eightball/eightball.wsdl)

However, when I startup SOAPUI version 3.6.1, import the WSDL, set the endpoint for example to http://localhost:8080/eightball/eightball, and then try to submit a request to that endpoint, I get the following error.

Fri Nov 05 19:49:05 GMT 2010:INFO:Error getting response for [eightballSoap11.eightBall:Request 1]; java.net.ConnectException: Connection refused: connect

With the 1st example I used Eclipse Helios to develop and publish the WebService to Tomcat. Using SOAPUI in this scenario worked and I got the expected Responses back.
When I exported the same project to a WAR file and deployed on Tomcat, I got the SOAPUI connection exception ?!?!

Can anybody please help....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems with SOAPUI, SpringWS, and Tomcat5.5