javaee / metro-jax-ws

https://javaee.github.io/metro-jax-ws/
Other
132 stars 68 forks source link

Standardize timeout settings #1166

Open glassfishrobot opened 9 years ago

glassfishrobot commented 9 years ago

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 commented 9 years ago

Reported by wsalembi

glassfishrobot commented 7 years ago

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

mauromol commented 6 years ago

Unbelievable this is still an open issue nowadays...

rgambelli commented 6 years ago

Unbelievable this is still an open issue nowadays...