• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • Frits Walraven
  • Himai Minh

contract first web service

Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

    Bookmark Topic Watch Topic
  • New Topic