[ 
http://issues.apache.org/jira/browse/AXIS2-963?page=comments#action_12426537 ] 
            
Fabian Christ commented on AXIS2-963:
-------------------------------------

Patch in AXIS2-987 solves this.

> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to