Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3584

Cannot configure timeout when reading WSDL creating javax.xml.ws.Service

    XMLWordPrintable

    Details

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rsisto Rafael Sisto (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: