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!
posted 10 years ago
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...
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!