You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org> on 2006/10/20 13:27:37 UTC

[jira] Created: (AXIS2-1466) Exception throwed when generate code for RpcHttpHeaderTest1.wsdl

Exception throwed when generate code for RpcHttpHeaderTest1.wsdl
----------------------------------------------------------------

                 Key: AXIS2-1466
                 URL: http://issues.apache.org/jira/browse/AXIS2-1466
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
            Reporter: Milinda Lakmal Pathirage


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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1466) Exception throwed when generate code for RpcHttpHeaderTest1.wsdl

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503141 ] 

Davanum Srinivas commented on AXIS2-1466:
-----------------------------------------

won't fix.

thanks,
dims

> Exception throwed when generate code for RpcHttpHeaderTest1.wsdl
> ----------------------------------------------------------------
>
>                 Key: AXIS2-1466
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1466
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>            Reporter: Milinda Lakmal Pathirage
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: RpcHttpHeaderTest1.wsdl
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1466) Exception throwed when generate code for RpcHttpHeaderTest1.wsdl

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-1466.
-------------------------------------

    Resolution: Won't Fix

> Exception throwed when generate code for RpcHttpHeaderTest1.wsdl
> ----------------------------------------------------------------
>
>                 Key: AXIS2-1466
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1466
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>            Reporter: Milinda Lakmal Pathirage
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: RpcHttpHeaderTest1.wsdl
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1466) Exception throwed when generate code for RpcHttpHeaderTest1.wsdl

Posted by "Milinda Lakmal Pathirage (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1466?page=all ]

Milinda Lakmal Pathirage updated AXIS2-1466:
--------------------------------------------

    Attachment: RpcHttpHeaderTest1.wsdl

> Exception throwed when generate code for RpcHttpHeaderTest1.wsdl
> ----------------------------------------------------------------
>
>                 Key: AXIS2-1466
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1466
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>            Reporter: Milinda Lakmal Pathirage
>         Attachments: RpcHttpHeaderTest1.wsdl
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-1466) Exception throwed when generate code for RpcHttpHeaderTest1.wsdl

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1466?page=all ]

Davanum Srinivas reassigned AXIS2-1466:
---------------------------------------

    Assignee: Davanum Srinivas

> Exception throwed when generate code for RpcHttpHeaderTest1.wsdl
> ----------------------------------------------------------------
>
>                 Key: AXIS2-1466
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1466
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>            Reporter: Milinda Lakmal Pathirage
>         Assigned To: Davanum Srinivas
>         Attachments: RpcHttpHeaderTest1.wsdl
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1466) Exception throwed when generate code for RpcHttpHeaderTest1.wsdl

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas updated AXIS2-1466:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi  (was: Davanum Srinivas)

> Exception throwed when generate code for RpcHttpHeaderTest1.wsdl
> ----------------------------------------------------------------
>
>                 Key: AXIS2-1466
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1466
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>            Reporter: Milinda Lakmal Pathirage
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: RpcHttpHeaderTest1.wsdl
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1466) Exception throwed when generate code for RpcHttpHeaderTest1.wsdl

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1466?page=comments#action_12444232 ] 
            
Amila Chinthaka Suriarachchi commented on AXIS2-1466:
-----------------------------------------------------

By default ADB does not have in built support for elements in the http://schemas.xmlsoap.org/soap/encoding/ namespace. So as a workaround you can add an import to wsdl as follows.

<definitions name="InteropTest" targetNamespace="http://soapinterop.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"
             xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
             xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://soapinterop.org/"
             xmlns:s="http://soapinterop.org/xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
    <import namespace="http://schemas.xmlsoap.org/soap/encoding/"
                 location="http://schemas.xmlsoap.org/soap/encoding/"/>
    <types>
        <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd">
            <import namespace="http://schemas.xmlsoap.org/soap/encoding/" />

So codegeneration engine will import and process schema before compiling the xsd. And also you can use xmlbeans which has the in built support for above schema.


> Exception throwed when generate code for RpcHttpHeaderTest1.wsdl
> ----------------------------------------------------------------
>
>                 Key: AXIS2-1466
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1466
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>            Reporter: Milinda Lakmal Pathirage
>         Attachments: RpcHttpHeaderTest1.wsdl
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org