I am new to the contract first web service creation approach. We have finalized our xsd's and WSDL. We are using Spring 2.5 and Apache CXF 2.2.5.
In Eclipse I could generate all the java code artifacts from from the WSDL and xsd's using WSDL2JAVA tool available within CXF.
We have made all business logic code changes to the generated java code.Now I want to know how to build this application as a war and deploy. We will be using Maven and our build person has a good handle on this. But my question even before this is what other changes I need to generated code. I read in a particular link there are few tweaks required on the annotations (like remove the name annotation) created by CXF.
This is the server annotation I am talking about. In the below should I be commenting the wsdlLocation attribute
I have the web.xml something like this
this is how cxf.xml looks like. I am not having cxf-servlet.xml
Let me know if there is anything more required to be packaged. I am able to see this working running it from the IDE.
The only taste of success some people get is to take a bite out of you. Or this tiny ad: