[jbossws-issues] [JBoss JIRA] (JBWS-3584) Cannot configure timeout when reading WSDL creating javax.xml.ws.Service

Rafael Sisto (JIRA) jira-events at lists.jboss.org
Fri Dec 21 12:11:08 EST 2012


Rafael Sisto created JBWS-3584:
----------------------------------

             Summary: Cannot configure timeout when reading WSDL creating javax.xml.ws.Service
                 Key: JBWS-3584
                 URL: https://issues.jboss.org/browse/JBWS-3584
             Project: JBoss Web Services
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: jbossws-native
    Affects Versions:  jbossws-native-3.1.2
            Reporter: Rafael Sisto


When creating a new WS client using:
 new javax.xml.ws.Service(URL wsdlLocation, QName serviceName)

If the URL successfully connects to the server holding the WSDL resource, when trying to read the file the WS client may hang waiting for the resource.

The only way to avoid this is configuring the system property: sun.net.client.defaultReadTimeout (-1 by default, no timeout), which may affect other functionalities.

This can be avoided storing the WSDL locally.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossws-issues mailing list