Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-1466

Exception throwed when generate code for RpcHttpHeaderTest1.wsdl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • codegen
    • None

    Description

      Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
      at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
      at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:27)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
      Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:52)
      at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:177)
      ... 7 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:49)
      ... 8 more
      Caused by: org.apache.axis2.schema.SchemaCompilationException:

      {http://schemas.xmlsoap.org/soap/encoding/}

      Array is not supported.
      at org.apache.axis2.schema.SchemaCompiler.findClassName(SchemaCompiler.java:820)
      at org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1076)
      at org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:989)
      at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:973)
      at org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:909)
      at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:864)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:681)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
      at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1488)
      at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1450)
      at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:950)
      at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaType(SchemaCompiler.java:883)
      at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:866)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:527)
      at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:499)
      at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:336)
      at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:248)
      at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:72)
      ... 13 more

      Attachments

        1. RpcHttpHeaderTest1.wsdl
          14 kB
          Milinda Pathirage

        Activity

          People

            amilachinthaka Amila Chinthaka Suriarachchi
            milinda Milinda Pathirage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: