• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Create Web Services in Eclipse using Tomcat and Apache CXF

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am new to creating web services... So, I found this really helpful tutorial, below...

Tutorial

It works great... However, I go back and add code to my implementation file and add new services... easy enough...

Then, re-run the create web service wizard, but it does not let me overwrite the generated wsdl and SEI interface created...

How do I "recompile" my new web service and deploy the new services?

Thanks in Advance...
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Karl,

I don't know if you already solved this issue, but anyway I will explain how I got rid of this same issue some time ago.

It looks like Eclipse (I was using Helios) has some problems with the CXF integration (same like it had with Axis before). So, when I got the problem I tried to configure the "overwrite existing files without warnings" as I did with Axis, but that did not work with CXF now.

Then, to recreate your CXF WS project correctly (I agree it is not the most cool way to do) you need to delete the SEI (only if it was autogenerated, like the tutorial you referenced do) and quit the implementation of this Interfase in the WS class, also delete the package where the classes code was generated (*.jaxws) and finally delete the wsdl folder which is inside the WebContent folder. After you do that, then recreate your web services with the changes you did to the WS class.

Regards,

Ps: I am almost sure that only one of those thing is needed to be deleted (I deleted all these to recreate my test), maybe the wsdl folder, no time to continue testing right now, you tell me.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic