axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Jütten (JIRA) <j...@apache.org>
Subject [jira] Updated: (AXIS2-287) Facet minInclusive causes RunTimeException
Date Thu, 20 Oct 2005 15:43:56 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-287?page=all ]

Lars Jütten updated AXIS2-287:
------------------------------

    Attachment: Xaction60Stateful.wsdl

> Facet minInclusive causes RunTimeException
> ------------------------------------------
>
>          Key: AXIS2-287
>          URL: http://issues.apache.org/jira/browse/AXIS2-287
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: Tools
>     Versions: 0.92
>  Environment: Red Hat 9
>     Reporter: Lars Jütten
>  Attachments: Xaction60Stateful.wsdl
>
> (1) Trying to compile the WSDL file using:
> ./WSDL2Java.sh -o /tmp/ -p net.t_mobile.wlan.xtc -uri Xaction60Stateful.wsdl
> (2) ... leads to:
> Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException:
org.apache.xmlbeans.XmlException: error: cvc-complex-type.2.4a: Expected elements 'annotation@http://www.w3.org/2001/XMLSchema
simpleType@http://www.w3.org/2001/XMLSchema complexType@http://www.w3.org/2001/XMLSchema unique@http://www.w3.org/2001/XMLSchema
key@http://www.w3.org/2001/XMLSchema keyref@http://www.w3.org/2001/XMLSchema' instead of 'minInclusive@http://www.w3.org/2001/XMLSchema'
here in element element@http://www.w3.org/2001/XMLSchema
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:104)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:30)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: error: cvc-complex-type.2.4a:
Expected elements 'annotation@http://www.w3.org/2001/XMLSchema simpleType@http://www.w3.org/2001/XMLSchema
complexType@http://www.w3.org/2001/XMLSchema unique@http://www.w3.org/2001/XMLSchema key@http://www.w3.org/2001/XMLSchema
keyref@http://www.w3.org/2001/XMLSchema' instead of 'minInclusive@http://www.w3.org/2001/XMLSchema'
here in element element@http://www.w3.org/2001/XMLSchema
>         at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:168)
>         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:75)
>         ... 2 more
> Caused by: org.apache.xmlbeans.XmlException: error: cvc-complex-type.2.4a: Expected elements
'annotation@http://www.w3.org/2001/XMLSchema simpleType@http://www.w3.org/2001/XMLSchema complexType@http://www.w3.org/2001/XMLSchema
unique@http://www.w3.org/2001/XMLSchema key@http://www.w3.org/2001/XMLSchema keyref@http://www.w3.org/2001/XMLSchema'
instead of 'minInclusive@http://www.w3.org/2001/XMLSchema' here in element element@http://www.w3.org/2001/XMLSchema
>         at org.apache.xmlbeans.impl.schema.SchemaTypeSystemCompiler.compile(SchemaTypeSystemCompiler.java:225)
>         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.xmlbeans.XmlBeans.compileXmlBeans(XmlBeans.java:665)
>         at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:147)
>         ... 3 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message