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

SchemaTypesCreator errors when generating wsdl for exceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-1.0RC3
    • None
    • tools-jaxrpc
    • None

      [wstools] java.lang.IllegalStateException: class org.jboss.test.webservice.jbws424.Exception2 declares more than 1 ctr that is not zero args
      [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getComplexTypeForJavaException(SchemaTypeCreator.java:620)
      [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.getType(SchemaTypeCreator.java:344)
      [wstools] at org.jboss.ws.tools.schema.SchemaTypeCreator.generateType(SchemaTypeCreator.java:158)
      [wstools] at org.jboss.ws.tools.JavaToXSD.generateForSingleType(JavaToXSD.java:118)
      [wstools] at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateType(JavaToWSDLHelper.java:391)
      [wstools] at org.jboss.ws.tools.helpers.JavaToWSDLHelper.generateTypesForXSD(JavaToWSDLHelper.java:162)
      [wstools] at org.jboss.ws.tools.JavaToWSDL11.handleJavaToWSDLGeneration(JavaToWSDL11.java:224)
      [wstools] at org.jboss.ws.tools.JavaToWSDL11.generate(JavaToWSDL11.java:164)
      [wstools] at org.jboss.ws.tools.JavaToWSDL.generate(JavaToWSDL.java:279)
      [wstools] at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:98)
      [wstools] at org.jboss.ws.tools.jbossws.process(jbossws.java:97)
      [wstools] at org.jboss.ws.tools.jbossws.generate(jbossws.java:84)
      [wstools] at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
      [wstools] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
      [wstools] at org.apache.tools.ant.Task.perform(Task.java:364)
      [wstools] at org.apache.tools.ant.Target.execute(Target.java:341)
      [wstools] at org.apache.tools.ant.Target.performTasks(Target.java:369)
      [wstools] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
      [wstools] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
      [wstools] at org.apache.tools.ant.Main.runBuild(Main.java:673)
      [wstools] at org.apache.tools.ant.Main.startAnt(Main.java:188)
      [wstools] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
      [wstools] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

              jgreene@redhat.com Jason Greene
              jgreene@redhat.com Jason Greene
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: