axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sihem <stfle...@yahoo.fr>
Subject WSDL2C.sh bug
Date Mon, 09 Mar 2009 15:05:20 GMT
Hello!
I am using WSDL2C with a WSDL file containing several operations. I noticed that when I define
more than 6 operations, WSDL2C generates this exception:
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:271)
   at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
   at org.apache.axis2.wsdl.WSDL2C.main(WSDL2C.java:31)
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
   at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
   at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
   ...2 more
Caused by: java.lang.reflect.InvocationTargetException
   at java.lang.reflect.Method.invoke(libgcj.so.8rh)
   at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
   ...3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPointerException
   at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:289)
   at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:103)
   at java.lang.reflect.Method.invoke(libgcj.so.8rh)
   ...4 more
Caused by: java.lang.NullPointerException
   at org.apache.axis2.schema.SchemaCompiler.writeElement(SchemaCompiler.java:522)
   at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:381)
   at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:280)
   ...6 more

WSDL2C works only with 6 operations or less. As I thought that my WSDL was perhaps the cause
of the problem, I used a WSDL file provided in the axis2 C package defining 7 operations.
But the same problem occured.
Is it a known bug or do I have to raise a JIRA ?

Thanks 
Sihem



      
Mime
View raw message