Forgive me -- or just ignore me -- if this question isn�t totally on-topic.

I manage to run Java2WSDL successfully to generate the WSDL for my web service. I manage to run it successfully whether it�s invoked directly or from within another Java application. But when it�s invoked by another application, it never passes control back to the other application. This is the case whether I run Java2WSDL passing it the arguments to generate my WSDL or I run it just with �-h� to spit out the help text.


To invoke Java2WSDL via reflection, I call:

main.invoke(null, argument);

where main is the main() method and argument is an Object[] of the arguments.


The class org.apache.axis.wsdl.Java2WSDL is loaded by a secondary class loader, which gets fed all the Axis JARs plus my classes.


How do I get Java2WSDL to pass control back to the original application?



Join Excite! - http://www.excite.com
The most personalized portal on the Web!

Reply via email to