The moose likes Web Services and the fly likes Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Eclipse "build" from wsdl?" Watch "Eclipse "build" from wsdl?" New topic
Author

Eclipse "build" from wsdl?

Tina Smith
Ranch Hand

Joined: Jul 21, 2011
Posts: 177
    
    6

Is there any way to get eclipse to check compiler errors against the contents of a wsdl file?

My current (rather hack-ish) method of getting my application to compile is to build the wsdl with ant/wsimport from the command line and copy the generated .class files into my working hierarchy. This generates annoying red-line compiler "errors" that the warnings window recognizes as fine. Whenever eclipse decides my project needs to be cleaned, I need to copy the .class files back into my hierarchy and do some magic to hopefully get eclipse to recognize that those files exist and eliminate the compiler errors.

I've tried converting the wsdl files to java beans using the WSDL2Java axis2 converter, but it wasn't able to convert well enough to allow my program to compile (it was missing a few classes).


Everything is theoretically impossible, until it is done. ~Robert A. Heinlein
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse "build" from wsdl?