Lea*_*ner 5 web-services timeout cxf jax-ws
我们正在调用用于cxf-codegen-plugin
从 WSDL 生成代码的Web 服务,并在 Spring xml 中配置了 JAX-WS 客户端,如下所示:
<jaxws:client id="abcApiInterface" serviceClass="abc.api.AbcApi" address="${xyz.abcApi.endpoint}" />
Run Code Online (Sandbox Code Playgroud)
我们有由 Apache CXF 3.0.3 生成的 Web 服务接口。我们在调用该服务时看到超时,我们没有在客户端指定任何超时,所以只想知道 JAX-WS 客户端超时的默认值是多少?
连接超时默认值为 30 秒,接收超时默认值为 60 秒。
参见:http : //cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport(includingSSLsupport)-Theclientelement
归档时间: |
|
查看次数: |
9937 次 |
最近记录: |