You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Deepal Jayasinghe (JIRA)" <ji...@apache.org> on 2008/07/07 12:29:31 UTC

[jira] Assigned: (AXIS2-3891) Unwrapping failure at XmlSchemaChoice element

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

Deepal Jayasinghe reassigned AXIS2-3891:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> 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
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: CodeGenerationEngine.java, SchemaUnwrapperExtension.java
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This stack trace was generated AFTER applying the (later) attached extensions for more verbose error reporting ("org.apache.ws.commons.schema.XmlSchemaChoice@1292d26" 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: org.apache.ws.commons.schema.XmlSchemaChoice@1292d26 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: org.apache.ws.commons.schema.XmlSchemaChoice@1292d26 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org