Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Standardize timeout settings #1166

Open
glassfishrobot opened this issue Jan 21, 2015 · 4 comments
Open

Standardize timeout settings #1166

glassfishrobot opened this issue Jan 21, 2015 · 4 comments

Comments

@glassfishrobot
Copy link
Contributor

I'd would be nice if the next specification standardizes connect and read timeout properties. These are so fundamental that they should exist in the in the BindingProvider interface with a javax.xml.ws. prefix.

Althought the CXF properties use javax.xml.ws, they are no standardized.

A little overview of several implementations:
// Weblogic JAX-WS properties
((BindingProvider) port).getRequestContext().put("com.sun.xml.ws.connect.timeout", timeout);
((BindingProvider) port).getRequestContext().put("com.sun.xml.ws.request.timeout", timeout);
// JDK JAX-WS properties
((BindingProvider) port).getRequestContext().put("com.sun.xml.internal.ws.connect.timeout", timeout);
((BindingProvider) port).getRequestContext().put("com.sun.xml.internal.ws.request.timeout", timeout);
// JBOSS CXF JAX-WS properties, warning these might change in the future (CXF-5261)
((BindingProvider) port).getRequestContext().put("javax.xml.ws.client.connectionTimeout", timeout);
((BindingProvider) port).getRequestContext().put("javax.xml.ws.client.receiveTimeout", timeout);

Affected Versions

[2.3]

@glassfishrobot
Copy link
Contributor Author

Reported by wsalembi

@glassfishrobot
Copy link
Contributor Author

This issue was imported from java.net JIRA JAX_WS-1166

@mauromol
Copy link

mauromol commented Dec 6, 2017

Unbelievable this is still an open issue nowadays...

1 similar comment
@rgambelli
Copy link

Unbelievable this is still an open issue nowadays...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants