HI! Since the switch from bcel.jar to tt-bytecode.jar for analyzing Java .class files in the WSDL generation process, performance has become unacceptable. What was 1-2 seconds is now 30 seconds with some .class files. Am I the only one experiencing this?
I have attached the .class file of a class com.apag.p2plus.p2sales.Rechnung, which has
only 367 source lines and still takes 30 seconds.
This is how I generate the WSDL:
emitter = new Emitter();
emitter.setCls(Class.forName(completeName));
emitter.setAllowedMethods(allowedMethods.toString());
emitter.setServiceElementName(className);
emitter.setPortTypeName(className + "PortType");
emitter.setServicePortName(className + "Port");
emitter.setIntfNamespace(WEB_SERVICE_PROTOCOL + packageName +
".p2plus.apag.com");
emitter.setUseInheritedMethods(true);
emitter.setLocationUrl(WEB_SERVICE_PROTOCOL +
InetAddress.getLocalHost().getHostName() + ":" + serverPort + "/" + packageName + "/"
+ className + ".jws");
xml = emitter.emitToString(Emitter.MODE_ALL);
Any statements please?
Thanks!
Regards,
Thomas
Rechnung.class
Description: Rechnung.class
