Hello,

 

I have used axis 1.1.2 and axis 1.1.3 to generate client code for a web service. I tested the generated code for multithreading and the program deadlocks. I added “Synchronized” keyword in the method createCall() of the generated code and that solved the problem.

 

Has anyone had thread safety problems with web service client code generated using axis.

 

Here is the command I use to generate the code:

 

java -cp %AXISCP% org.apache.axis.wsdl.WSDL2Java --timeout -1 %*

 

 

Thanks

 

Laheeb Alsarraf

 

Reply via email to