[jboss-user] [JBoss Web Services] - JBoss6 webservice read timeout
Oliver Specht
do-not-reply at jboss.com
Tue May 31 06:36:07 EDT 2011
Oliver Specht [http://community.jboss.org/people/oliverspecht] created the discussion
"JBoss6 webservice read timeout"
To view the discussion, visit: http://community.jboss.org/message/607864#607864
--------------------------------------------------------------
Hi,
I tried to change the read timeout for my Webservice deployed on a JBoss6.
I tried the following options which I found over the internet :)
| | ((BindingProvider) services).getRequestContext().put("org.jboss.ws.timeout", 10000); |
| | ((BindingProvider) services).getRequestContext().put("javax.xml.ws.connect.timeout", 10000); |
| | ((BindingProvider) services).getRequestContext().put("javax.xml.ws.connect.timeout", 10000); |
| | ((BindingProvider) services).getRequestContext().put("com.sun.xml.ws.request.timeout", 10000); // Timeout in millis |
| | ((BindingProvider) services).getRequestContext().put("com.sun.xml.ws.connect.timeout", 10000); // Timeout in millis |
| | ((BindingProvider) services).getRequestContext().put("com.sun.xml.internal.ws.request.timeout", 10000); // Timeout in millis |
| | ((BindingProvider) services).getRequestContext().put("com.sun.xml.internal.ws.connect.timeout", 10000); // Timeout in millis |
| | ((BindingProvider) services).getRequestContext().put(StubExt.PROPERTY_CLIENT_TIMEOUT, 10000); |
| | ((BindingProvider) services).getRequestContext().put(StubExt.PROPERTY_CONNECTION_TIMEOUT, 10000); |
None of them worked. Can anyone help me? This is very, very confusing.
My Webservice was created from a WSDL via JAX and looks like this:
/**
* SOAP-Service.
*
* This class was generated by the JAX-WS RI. JAX-WS RI 2.1.6 in JDK 6 Generated source version: 2.1
*/
@WebServiceClient(name = "<NAME>", targetNamespace = "<TARGET_NS>")
public class SmartWheelsService extends Service {
...
}
Thanks,
Oliver
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/607864#607864]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110531/a7490fdc/attachment.html
More information about the jboss-user
mailing list