Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Eclipse "build" from wsdl?  RSS feed

Tina Smith
Ranch Hand
Posts: 208
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!