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
Greetings all,
I've built a functioning webapp to verify connectivity to my database.
Now I'd like to break the webapp into two pieces - a contract-last SOAP-based web service
and a client.
And I'm stumbling quite a bit, drowning in hundreds of examples using hundreds of different
techniques across several versions of Spring.
I've placed XML annotations into my POJOs as such
FormTemplate.java
and built a com.foo.forms.web.endpoint package and placed within it
FormsEndpoint
and corresponding FormsEndpointImpl
and
src/main/webapp/WEB-INF/web.xml
and
src/main/webapp/WEB-INF/spring/root-context.xml
and
src/main/webapp/WEB-INF/spring/appServlet/servlet-context.xml
Note that some of the stuff in web.xml and servlet-context.xml are leftovers from
when I converted my webapp project into this newfangled web-service project. It no
doubt needs to be replaced by some other stuff.
So this proto-web-service compiles and produces a warfile which I can deploy.
But I know I'm missing some steps in between.
So I plea for wisdom from Those Who Have Gone Before - I'm at Point A, how do I get
to Point B? What configurations/code/steps do I need to add to arrive at a
functionng web service based upon the above parameters, and how do I call it?
TIA,
Still-learning Steve