|
But when I changed “document”
to “rpc” it says: Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: org.apache.axis2.schema.SchemaCompilationException : java.lang.NullPointerException at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:146) at
org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) at
org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) Caused by: java.lang.RuntimeException:
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:162) at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:101) ... 2 more Caused by:
org.apache.axis2.schema.SchemaCompilationException:
java.lang.NullPointerException at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:184) at
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:115) ... 3 more Caused by: java.lang.NullPointerException at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:354) at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338) at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:403) at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:328) at
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:899) at
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:862) at
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:631) at
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:604) at
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:569) at
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:444) at org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:338) at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:220) at
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:179) ... 4 more Can you help me? From: Ameet Hasmucrai
Amarchande [mailto:[EMAIL PROTECTED] Hi, Yes, in my wsdl I have: <soap:binding
style="document"
transport="http://schemas.xmlsoap.org/soap/http"/> Thanks! Great answer! Ameet From: Ken Campbell [mailto:[EMAIL PROTECTED]
Hi, In your wsdl, perhaps your binding type =
“document” rather than “rpc”. Regards, Ken From: Ameet Hasmucrai
Amarchande [mailto:[EMAIL PROTECTED] Hi, After generating code with WSDL2Java, when I want to assign
values for an operation I have just the option to assign OMElement type. Why
does this happen? Is it a 0.95 specification? With 0.94 I had not this
situation. Note: the WSDL have a complex type to represent a bean. Thanks, Ameet |
- RE: [axis2] - 0.95 - WSDL2Java Ameet Hasmucrai Amarchande
- Re: [axis2] - 0.95 - WSDL2Java Ajith Ranabahu
- RE: [axis2] - 0.95 - WSDL2Java Ken Campbell
- RE: [axis2] - 0.95 - WSDL2Java Ameet Hasmucrai Amarchande
- RE: [axis2] - 0.95 - WSDL2Java Ken Campbell
- RE: [axis2] - 0.95 - WSDL2Java Ameet Hasmucrai Amarchande
- RE: [axis2] - 0.95 - WSDL2Java Ameet Hasmucrai Amarchande
- Re: [axis2] - 0.95 - WSDL2Java Anne Thomas Manes
