webservice
共 1 篇文章
jax-ws 设置超时
设置client端请求服务器超时 HelloWorldImplService helloService = new HelloWorldImplService(); HelloWorld hello = helloService.getHelloWorldImplPort(); //((BindingProvider)hello).getRequestContext().put("com.sun.xml.internal.ws.connect.timeout", 5000); ((BindingProvider)hello).getRequestContext().put("com.sun.…
2015-02-12 21:02 · webservice