[ 
http://issues.apache.org/jira/browse/AXIS2-287?page=comments#action_12362305 ] 

Ajith Harshana Ranabahu commented on AXIS2-287:
-----------------------------------------------

XMLbeans problem ?


> 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 '[EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema' instead of '[EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema' here in element [EMAIL 
> PROTECTED]://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 '[EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema' instead of '[EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema' here in element [EMAIL 
> PROTECTED]://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 '[EMAIL PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema [EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema' instead of '[EMAIL 
> PROTECTED]://www.w3.org/2001/XMLSchema' here in element [EMAIL 
> PROTECTED]://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

Reply via email to