Learner
Learner

Reputation: 1523

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?

Upvotes: 7

Views: 16780

Answers (1)

Dennis Kieselhorst
Dennis Kieselhorst

Reputation: 1387

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

Upvotes: 7

Related Questions