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:43:52 UTC

[jira] [Created] (AXIS2-5319) wsdl2java ignores anySimpleType attributes/elements

Vilnis Termanis created AXIS2-5319:
--------------------------------------

             Summary: 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.2, 1.6.0
         Environment: Ubuntu 10.10, Tomcat v6, JDK 1.6.0_26
            Reporter: Vilnis Termanis


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


[jira] [Commented] (AXIS2-5319) wsdl2java ignores anySimpleType attributes/elements

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-5319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13281542#comment-13281542 ] 

Hudson commented on AXIS2-5319:
-------------------------------

Integrated in Axis2 #1504 (See [https://builds.apache.org/job/Axis2/1504/])
    Applied patch for AXIS2-5319. (Revision 1341805)

     Result = SUCCESS
sagara : 
Files : 
* /axis/axis2/java/core/trunk/modules/adb-codegen/src/org/apache/axis2/schema/typemap/JavaTypeMap.java

                
> 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
>             Fix For: 1.5.7, 1.7.0, 1.6.3
>
>         Attachments: anysimpletype.patch
>
>
> If 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>
> .. then wsdl2java generated MyType.java contains "name" & "another2" but not "another" variable.

--
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


[jira] [Updated] (AXIS2-5319) wsdl2java ignores anySimpleType attributes/elements

Posted by "Vilnis Termanis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vilnis Termanis updated AXIS2-5319:
-----------------------------------

    Attachment: anysimpletype.patch

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


[jira] [Updated] (AXIS2-5319) wsdl2java ignores anySimpleType attributes/elements

Posted by "Vilnis Termanis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vilnis Termanis updated AXIS2-5319:
-----------------------------------

    Description: 
If 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>

.. then wsdl2java generated MyType.java contains "name" & "another2" but not "another" variable.

  was:
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".

    
> 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
>
>
> If 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>
> .. then wsdl2java generated MyType.java contains "name" & "another2" but not "another" variable.

--
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


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

Posted by "Vilnis Termanis (JIRA)" <ji...@apache.org>.
    [ 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


[jira] [Resolved] (AXIS2-5319) wsdl2java ignores anySimpleType attributes/elements

Posted by "Sagara Gunathunga (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-5319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sagara Gunathunga  resolved AXIS2-5319.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6.3
                   1.7.0
                   1.5.7

Patch available ion r1341805.
                
> 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
>             Fix For: 1.5.7, 1.7.0, 1.6.3
>
>         Attachments: anysimpletype.patch
>
>
> If 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>
> .. then wsdl2java generated MyType.java contains "name" & "another2" but not "another" variable.

--
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


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

Posted by "Vilnis Termanis (JIRA)" <ji...@apache.org>.
    [ 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:58 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). Maybe it should be mapped to String instead? (wsdl2java generated code actually assigns a String to the Object variable.)
                  
> 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
>
>
> If 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>
> .. then wsdl2java generated MyType.java contains "name" & "another2" but not "another" variable.

--
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