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 "Vilnis Termanis (JIRA)" <ji...@apache.org> on 2012/05/11 13:53:56 UTC

[jira] [Issue Comment Edited] (AXIS2-5319) wsdl2java ignores anySimpleType attributes/elements

    [ https://issues.apache.org/jira/browse/AXIS2-5319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273187#comment-13273187 ] 

Vilnis Termanis edited comment on AXIS2-5319 at 5/11/12 11:53 AM:
------------------------------------------------------------------

Potential patch (against v1.6.0) mapping xsd:anySimpleType to Object (as per http://docs.oracle.com/javaee/5/tutorial/doc/bnazq.html#bnazu). Maybe it should be mapped to String instead? (wsdl2java generated code actually assigns a String to the Object variable.)
                
      was (Author: vilnis.termanis):
    Potential patch (against v1.6.0) mapping xsd:anySimpleType to Object (as per http://docs.oracle.com/javaee/5/tutorial/doc/bnazq.html#bnazu)
                  
> wsdl2java ignores anySimpleType attributes/elements
> ---------------------------------------------------
>
>                 Key: AXIS2-5319
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5319
>             Project: Axis2
>          Issue Type: Bug
>          Components: codegen
>    Affects Versions: 1.6.0, 1.6.2
>         Environment: Ubuntu 10.10, Tomcat v6, JDK 1.6.0_26
>            Reporter: Vilnis Termanis
>              Labels: adb-codegen, anysimpletype, attributes, wsdl2java
>         Attachments: anysimpletype.patch
>
>
> Input wsdl/xsd includes at least one attribute/element of type anySImpleType, e.g:
>   <xs:complexType name="MyType">
>     <xs:sequence />
>     <xs:attribute name="name" type="xs:string" use="required" />
>     <xs:attribute name="another" type="xs:anySimpleType" />
>     <xs:attribute name="another2" type="xs:string" />
>   </xs:complexType>
> wsdl2java generated MyType.java contains "name" & "another2" but not "another".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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