Hi,

I am using Axis 1.1 to generate client stubs to talk
to web service.  Can anybody let me know if the Stub
generated by WSDL2Java is thread-safe?  I noticed that
each instantiation of service proxy is taking about 3
-4 seconds in my case.  The wsdl that I am using is
quite large (230K bytes) To avoid the hit of 3-4
seconds each time I want to create one instance of
proxy and let all threads use the same proxy for all
requests.

I am trying to find out if proxy is thread-safe and if
it makes sense to do what I am trying to do.  Here is
how I am getting the proxy on the client side.  

For Test.wsdl:

TestService service = new TestServiceLocator();
Test testProxy = service.getTest(serverUrl);

Thanks.

John

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

Reply via email to