Open glassfishrobot opened 17 years ago
Reported by kohsuke@java.net
jitu@java.net said: Add doc for timeout property com.sun.xml.ws.request.timeout. Also for JAXWSProperties
jitu@java.net said: Assigning this to Rama(for writing a blog !)
wsalembi said: I'd prefer timeout parameters to be standardized in the next JAX-WS specification (2.3?). These are fundamental settings which are better defined in the BindingProvider interface.
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);
This issue was imported from java.net JIRA JAX_WS-287
Add contents from http://weblogs.java.net/blog/ramapulavarthi/archive/2007/02/useful_goodies.html
Environment
Operating System: All Platform: All
Affected Versions
[2.1]