Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

default timeout for JAX-WS client

We are calling web service for which using cxf-codegen-plugin for code generation from WSDL and have configured JAX-WS client in Spring xml as follows:

<jaxws:client id="abcApiInterface" serviceClass="abc.api.AbcApi" address="${xyz.abcApi.endpoint}" />

And we have our webservice interface generated by Apache CXF 3.0.3. We are seeing timed-out when calling that service, we have not specified any timeout on client side so just want to know what's the default value for timeout for JAX-WS client?

like image 661
Learner Avatar asked Jun 15 '17 19:06

Learner


1 Answers

Default value is 30 seconds for connection timeout and 60 seconds for receive timeout.

See: http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html#ClientHTTPTransport(includingSSLsupport)-Theclientelement

like image 190
Dennis Kieselhorst Avatar answered Sep 30 '22 13:09

Dennis Kieselhorst