Unwrapping failure at XmlSchemaChoice element
---------------------------------------------
Key: AXIS2-3891
URL: https://issues.apache.org/jira/browse/AXIS2-3891
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: codegen
Affects Versions: 1.4
Environment: WinXP, rampart-1.4, WSDL with multiple complex XSDs
Reporter: Thomas Poetter
This stack trace was generated AFTER applying the (later) attached extensions
for more verbose error reporting ("[EMAIL PROTECTED]" as causing element was
output because of these extensions) :
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException
: org.apache.axis2.wsdl.codegen.CodeGenerationException: Unsupported Schema form
at for unwrapping! found unknown type: [EMAIL PROTECTED] but expected Element
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:281)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: Unsupported
Schema format for unwrapping! found unknown type: [EMAIL PROTECTED] but
expected Element
at
org.apache.axis2.wsdl.codegen.extension.SchemaUnwrapperExtension.processXMLSchemaSequence(SchemaUnwrapperExtension.java:389)
at
org.apache.axis2.wsdl.codegen.extension.SchemaUnwrapperExtension.handleAllCasesOfComplexTypes(SchemaUnwrapperExtension.java:217)
at
org.apache.axis2.wsdl.codegen.extension.SchemaUnwrapperExtension.walkSchema(SchemaUnwrapperExtension.java:162)
at
org.apache.axis2.wsdl.codegen.extension.SchemaUnwrapperExtension.engage(SchemaUnwrapperExtension.java:113)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
... 2 more
C:\Develop\Tools\axis2-1.4\bin>
The WSDL is confidential as also the specific schemata. Security annotations
were made to an existing WSDL along the lines of the example given by the
Rampart tutorial at:
http://wso2.org/library/3190 and this WSDL:
http://wso2.org/files/UToverHTTPS.xml
Public XSDs can be retrieved from here:
http://www.iso20022.org/catalogue_of_unifi_messages.page
Does anybody have a hint why unwrapping fails? Are XSD choice elements not
supported in combination with multiple XSDs?
--
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]