[
https://issues.apache.org/jira/browse/AXIS2-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12476673
]
Shawn J. Dyck commented on AXIS2-2254:
--------------------------------------
Please include http://issues.apache.org/jira/browse/AXIS2-1993 patch in
the nightly-snapshot
-------------------------------
Kind Regards,
Shawn J. Dyck
Systems Analyst
SOA-BOD Team
AIM: shawnjd01
SameTime: Shawn Dyck
Vnet: 622-6865
Office: (719)535-6865
Mobile (719)235-1970
> Invalid code generation using wsdl2java.bat for SOAP WSDLs for
> OAGIS-MCI-BOD"The referenced element
> '{http://www.openapplications.org/oagis/9}ActionExpression' was not found!"
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-2254
> URL: https://issues.apache.org/jira/browse/AXIS2-2254
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: nightly
> Environment: Windows xp, OAGIS-MCI BODs
> Reporter: Shawn J. Dyck
>
> I am unable to successfully generate .java classes from SOAP WSDLs using
> wsdl2java.bat in axis2 (nightly) ...
> Below is the error message I get ...
> 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:226)
> 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:
> 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:179)
> ... 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(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:49)
> ... 3 more
> Caused by: org.apache.axis2.schema.SchemaCompilationException: The referenced
> element '{http://www.openapplications.org/oagis/9}ActionExpression' was not
> found!
> at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:590)
> at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:452)
> at
> org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1629)
> at
> org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1591)
> at
> org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:930)
> at
> org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:887)
> at
> org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:841)
> at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:492)
> at
> org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:463)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:297)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:283)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:283)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:283)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:279)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:283)
> at
> org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:207)
> at
> org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:73)
> ... 8 more
> I've reviewed our BOD structure and its is valid ... everything seems fine in
> XMLSpy. I've been able to generate our .java files using our JMS WSDLs which
> is using the same BODs as our SOAP WSDLs .... I need help on this issue ...
> I've tried axis1.4, axis2-1.1.1, and axis2-nightly-02-23-07 ... and cant seem
> to get the .java files generated from our SOAP WSDLs ... I can provide
> addition documentation as needed .... This is a CRITICAL issue for me and I
> need help!
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]