axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2254) 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!"
Date Wed, 28 Feb 2007 06:13:05 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amila Chinthaka Suriarachchi resolved AXIS2-2254.
-------------------------------------------------

    Resolution: Cannot Reproduce

have you used the same target namespace for more than one schema? I did a fix guessing your
issue. So please have a check with a nightly build.
I set this issue as resolved since nothing much we can do with this issue.

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message