Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4
-
None
Description
The wsdl2java ant task fails to load a custom GeneratorFactory (specified using the "factory" attribute) from the class path specified using a nested <classpath> element. This is caused by the following code in Wsdl2javaAntTask:
if (factory != null)
{ emitter.setFactory(factory); } ...
if (classpath != null)
Axis attempts to load the custom GeneratorFactory in the Emitter#setFactory method, but the class loader (for the nested <classpath> element) is only set up later.