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

OutOfMemoryExecption in WSDL11Reader when loading xml schemas with circular references

XMLWordPrintable

      When specifying the wsdlLocation property in @WebService annotation, if there are xsd includes that contain circular references, an infinite loop makes the deployer crash because of an OutOfMemoryException.
      Please, take a look at the forum thread to get more info about this error and example code to fix it.
      I've included to attachments: a java file with the fixed code, and an eclipse project with a wsdl and associated xsd imports that reproduce the bug.

        1. WSDL11Reader.java
          68 kB
          Alvaro

              ropalka Richard Opalka
              almarro1_jira Alvaro (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: