Hi
I am using the following code to generate java code from wsdl-files.
import org.apache.axis.wsdl.*;
public class ProxyGenerator {
public static void main(String[] args) {
String wsdl_location1 = "c:/eclipse/cmi-wsdl14.0/virtualcms.wsdl";
WSDL2Java.main(new String[] {wsdl_location1} );
}
This works fine when running wsdl-files one-by-one. But if I run more than one file like the code below illustrate then only the first file is processed and then execution stops.
import org.apache.axis.wsdl.*;
public class ProxyGenerator {
public static void main(String[] args) {
String wsdl_location2 = "c:/eclipse/cmi-wsdl14.0/userserviceprofile.wsdl";
WSDL2Java.main(new String[] {wsdl_location2} );
String wsdl_location1 = "c:/eclipse/cmi-wsdl14.0/virtualcms.wsdl";
WSDL2Java.main(new String[] {wsdl_location1} );
}
Does anyone know why?? (I am using Eclipse 3.1)