This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Web Services and the fly likes contract first web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "contract first web service" Watch "contract first web service" New topic
Author

contract first web service

manish ahuja
Ranch Hand

Joined: Oct 23, 2003
Posts: 312
Hi there,

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.

Thanks,
 
 
subject: contract first web service
 
It's not a secret anymore!