Hi, I am trying to build stubs for the given hi5 wsdl using the following : wsdl2java -uri http://api.hi5.com/ns6.wsdl -o hicnd
but i am unable to create it because of the following exception: Retrieving document at 'http://api.hi5.com/ns6.wsdl'. Retrieving schema at 'hi5.xsd', relative to 'http://api.hi5.com/ns6.wsdl'. Retrieving schema at 'default-types.xsd', relative to 'http://api.hi5.com/hi5.xs d'. 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(CodeGener ationEngine.java:271) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetExcepti on at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp leDBExtension.java:53) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener ationEngine.java:224) ... 2 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(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp leDBExtension.java:50) ... 3 more Caused by: org.apache.axis2.schema.SchemaCompilationException: java.lang.NullPoi nterException at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:28 9) at org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java :103) ... 8 more Caused by: java.lang.NullPointerException at org.apache.axis2.schema.SchemaCompiler.isComponetExists(SchemaCompile r.java:2723) at org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(Sc hemaCompiler.java:2670) at org.apache.axis2.schema.SchemaCompiler.getParentSchemaFromIncludes(Sc hemaCompiler.java:2704) at org.apache.axis2.schema.SchemaCompiler.getParentSchema(SchemaCompiler .java:2644) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. java:758) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. java:552) at org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:19 91) at org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler .java:1874) at org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompi ler.java:1081) at org.apache.axis2.schema.SchemaCompiler.processAnonymousComplexSchemaT ype(SchemaCompiler.java:980) at org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.j ava:934) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. java:592) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler. java:563) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:37 0) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:35 2) at org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:28 0) ... 9 more Can anyone help me to solve this, Thanks for your time, 'varala' -- View this message in context: http://www.nabble.com/axis2-wsdl2java-problem-tp20304033p20304033.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]