aspose file tools*
The moose likes Web Services and the fly likes Web Services, APT, and Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Web Services, APT, and Eclipse" Watch "Web Services, APT, and Eclipse" New topic
Author

Web Services, APT, and Eclipse

eddy johns
Ranch Hand

Joined: Feb 16, 2010
Posts: 67
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

Joined: Feb 16, 2010
Posts: 67
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
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Services, APT, and Eclipse