Originally posted by David Brossard:
I'd really appreciate adding the libs through the wsdl2java call.
What confuses me is that you expect
wsdl2java to have this capability. It clearly is only a code generator. And there is nothing in the WSDL or in the possible options that would tell it that you need the external jars (it doesn't need them to do its job anyway). It's clearly the responsibility of
Service Archive Generator Wizard to add those libraries.
If you don't want to use the plugin then you can do it the old fashioned way as described in
Packaging; create the entire directory structure, use wsdl2java to generate the
java files, compile your source code and the generated code into the directories, copy all the necessary class and jar files (including the hibernate ones) into the directories, and then use the jar command, e.g.:
All of this should be easily accomplished with the appropriate
ant tasks.
[ November 06, 2006: Message edited by: Peer Reynders ]