I had a WSDL file then I used AXIS2C WSDL2C
tool to create the client project.
I modified the axis2.xml
file.
added this line in the beginning after <axisconfig name="Axis2/C">
:
<parameter name="SO_TIMEOUT">8000</parameter>
I can now set the timeout. How can I handle it in my code? I mean How can I know that I've got a connection timeout or a socket timeout or the server responded properly.
Question Update: here is a link to my project :