I was required to make a standalone Java app that will serve as a soap
client.

I used the wsdl2java.bat file to generate the stub and I built my
program around that with the axis2 library jars in the Java Build Path.

 

When I run the program inside of Eclipse the SOAP operations are fast,
taking less than a second to send and receive, but when I export to a
runnable jar, the SOAP operations slow down considerably.  It takes
about 2 seconds from a button click before the SOAP operation is even
sent out.  I have discovered that the "pause" takes place immediately
after initiating a stub from the wsdl2java generated code.

 

Any suggestions on how to make the speed of the runnable jar match that
of running the program inside eclipse?  Maybe an alternate way to
package the libraries?

 

Thanks in advance,

 

Brad

Reply via email to