wsgenArgs[argIndex++] = stubsDir.getAbsolutePath();
wsgenArgs[argIndex++] = "-Xdonotoverwrite";
wsgenArgs[argIndex++] = implClass;
WSToolsObjectFactory wsTools = WSToolsObjectFactory.newInstance();
try {
return(wsTools.wsgen(System.out, wsgenArgs));
} catch (Exception e ) {
e.printStackTrace();
throw new RuntimeException ("Exception occured in the wsgen process " + e);
}