axis2 webservice 如何设置超时时间
如题 我用的是axis2 请问如何设置超时连接的时间 --------------------编程问答-------------------- --------------------编程问答-------------------- 你搞个线程撒,openurl的时候记录时间,当时间超过多少得时候,就close撒 --------------------编程问答-------------------- call.setTimeout(15000); 15秒超时 --------------------编程问答-------------------- call.setTimeout(15000); 15秒超时这样设置不起作用 --------------------编程问答-------------------- axis2.xml 文件中有个属性 requestTimeOut 设定超时时间的。
不过不能大于另一个属性 ConfigContextTimeOut --------------------编程问答-------------------- call.setTimeout(15000);
补充:Java , Web 开发