Axis2 - why do I get "Read timed out"
Hello!I got a small javaapplet that calls a webservice.
When I start it locally it works fine.
But when I start it from an other computer in my local LAN I get:
org.apache.axis2.AxisFault: Read timed out
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at nameswebservices.client.NameswebserviceStub.addNameWSEJB(NameswebserviceStub.java:413)
at namesjavaapplication.WSPanel.addName(WSPanel.java:98)
at namesjavaapplication.NamesJavaApplication.actionPerformed(NamesJavaApplication.java:72)
...
The code looks like below:
NameswebserviceStub nameswebserviceStub = new NameswebserviceStub();
NameswebserviceStub.AddNameWSEJB addNameWSEJB = new NameswebserviceStub.AddNameWSEJB();
addNameWSEJB.setName(textField.getText());
nameswebserviceStub.addNameWSEJB(addNameWSEJB);
Is there any way to increase the timeout?
Or do you guys think something else is wrong?
Best regards
Fredrik
