I am using axis client generated by wsdl2java.exe axis tool.
How can y set a timeout, on Call.invoke methode?
I don't know how generation can produce this code in the ServiceBindingStub
class :
...
_call.setOperationName(new javax.xml.namespace.QName("urn:XXX",
"getAnyData"));
// set the timeout value to control the invoke
_call.setTimeout(new Integer(5000)) ;
setRequestHeaders(_call);
java.lang.Object _resp = _call.invoke(new java.lang.Object[] {});
...
thank.
PS: Sorry for my approximate English.