Java 1.7
Spring 3.1.1 with Spring-WS 2.1.1
Joda
Hibernate 3.6
SqlServer 2008 R2
Maven 3
Tomcat 7
Eclipse 3.7
...and the saga continues...
have made progress with my contract-last
SOAP web service.
Project's name in Eclipse is :
dept_forms_webservice
And after fighting the lifecycle-mapping demon it now compiles and generates FormsService.wsdl in
.../META-INF/schema
I've simplified a few things...
com.xxx.forms.web.endpoint.FormsEndpoint.java
com.xxx.forms.web.endpoint.FormsEndpointImpl.java
webapp/WEB-INF/web.xml
webapp/WEB-INF/spring/root-context.xml
webapp/WEB-INF/spring/appServlet/servlet-context.xml
and all this generates
.../META-INF/schema/FormsService.wsdl
Tomcat manager shows the web service dept_forms_webservice as running
but clicking on the service threw the dreaded "no bean named 'cxf' is defined" error.
Googling turned up only one useful suggestion - moving the cxf imports from servlet-context to root-context.
Sure enough that solved that particular problem.
But color me blind but I still can't seem to bring up the wsdl in my browser.
Clicking on the service within Tomcat manager now reports "No service was found".
Shouldn't it list the service(s) available?
And trying anything starting with
http://localhost:8080/dept_forms_webservice
also reports "No service was found"
trying anything starting with
http://localhost:8080/endpoint.web.forms.xxx.com
throws a 404
So at this point I'm utterly stumped. There must be some fiendishly subtle configuration
error I'm making.
Could use a little more help please.
TIA,
Still-struggling Steve