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 "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2006/08/08 15:21:14 UTC

[jira] Resolved: (AXIS2-963) Problems with complex xml schemas in wsdl2java

     [ http://issues.apache.org/jira/browse/AXIS2-963?page=all ]

Davanum Srinivas resolved AXIS2-963.
------------------------------------

    Resolution: Fixed

fix to AXIS-987 fixes the first problem ("-d none"). The second problem has another issue open so that is covered. XMLBeans, we have no control over. So, marking this bug as fixed.

thanks,
dims

> Problems with complex xml schemas in wsdl2java
> ----------------------------------------------
>
>                 Key: AXIS2-963
>                 URL: http://issues.apache.org/jira/browse/AXIS2-963
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>            Reporter: Carsten Ziegeler
>         Attachments: authentication.wsdl
>
>
> When trying to generate a service code using wsdl2java (latest svn), I get different errors depending on the databinding used. With "-d none" I get:
> xception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException
> : org.apache.axis2.wsdl.codegen.CodeGenerationException:
> org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to the name
> RequestSecurityToken with namespace http://schemas.xmlsoap.org/ws/2005/02/trust   at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:235)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException:
> org.apache.axis2.wsdl.databinding.UnmatchedTypeException: No type was mapped to the name RequestSecurityToken with namespace http://schemas.xmlsoap.org/ws/2005/02/trust     at
> org.apache.axis2.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEmitter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:796)        at
> With "-d adb" I get this exception:
> Caused by: org.apache.axis2.schema.SchemaCompilationException:
> Unsupported content Simple Content Extension !  at
> org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCom
> piler.java:979)
> With "-d xmlbeans" I get the following exception:
> ...
> Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException:
> http://schemas.xmlsoap.org/ws/2004/08/addressing/:4:1571: error:
> cvc-enumeration-valid:
>  string value 'none' is not a valid enumeration value for type of
> processContents attribute in xs:wildcard
>         at
> org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGe
> nerationUtility.java:235)
>         ... 8 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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org