Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Web Services, APT, and Eclipse

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I'm new to this and I'm trying to create a JWS, annotation based web service using Eclipse. I'm creating the file, adding the correct WebService annotation (for ecample @WebService(name="CarDealer")) and now I want to generate the stub files (and all the others, including the WSDL.) At this point I'm stumped. I'm enabling the annotation processing through the project's properties > Java Compiler > Annotation Processing, and it tells me that the project has to be rebuilt, I click YES, and an .apt_generated directory is generated. But it's EMPTY.

What's wrong? I looked everywhere but couldn't find a good, working tutorial. Please help!

Thanks,
Eddy
 
eddy johns
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A bit more info regarding my previous post: I'm working with Eclipse 3.5.1 and Java 1.6 on windows 7.

I am able to generate the artifacts for the samples that ship with JAXWS2.2-2 using ant, and it works fine, but I'm probably missing something with the Eclipse configuration. Please help...

Thanks,
Eddy
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
My experience is that developing web services in Eclipse is slightly more work, compared to developing web services in NetBeans.
In my tutorial (section 4.7 in this document: http://www.slideshare.net/krizsan/scdjws-5-study-notes-3085287) I also used an Ant-script to generate artifacts such as WSDL.
Apart from that, I haven't found much tooling for developing JAX-WS web services in Eclipse.
Thus: I fear that there is not much to be found, but if you do find something, it would be interesting to hear about it!
Best wishes!
    Bookmark Topic Watch Topic
  • New Topic