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 "Upul Godage (JIRA)" <ji...@apache.org> on 2007/07/30 10:57:52 UTC

[jira] Created: (AXIS2-3031) compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean

compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean
---------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-3031
                 URL: https://issues.apache.org/jira/browse/AXIS2-3031
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: nightly
            Reporter: Upul Godage


    <types>
        <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.foo.com/axis2/test01" elementFormDefault="qualified">
            <xs:element name="Add">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Arg1" type="xs:int"/>
                        <xs:element name="Arg2" type="xs:int"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="AddReturn" type="xs:int"/>
        </xs:schema>
    </types>
    <message name="Add">
        <part name="params" element="typ:Add"/>
    </message>
    <message name="AddResponse">
        <part name="result" element="typ:AddReturn"/>
    </message>
...

When generating code for jaxbri for message parts such as typ:AddReturn (xs:int), it gives compilation errors in the generated code when the jaxbri generated code uses primitive data types.
Sample wsdl at module axis2-jaxbri/test-resources/wsdl/Test01.wsdl gives compilation errors.



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


[jira] Updated: (AXIS2-3031) compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean

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

Upul Godage updated AXIS2-3031:
-------------------------------

    Attachment: patch-AXIS2-3031.txt

Patch attached


> compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3031
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3031
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>            Reporter: Upul Godage
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: patch-AXIS2-3031.txt
>
>
>     <types>
>         <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.foo.com/axis2/test01" elementFormDefault="qualified">
>             <xs:element name="Add">
>                 <xs:complexType>
>                     <xs:sequence>
>                         <xs:element name="Arg1" type="xs:int"/>
>                         <xs:element name="Arg2" type="xs:int"/>
>                     </xs:sequence>
>                 </xs:complexType>
>             </xs:element>
>             <xs:element name="AddReturn" type="xs:int"/>
>         </xs:schema>
>     </types>
>     <message name="Add">
>         <part name="params" element="typ:Add"/>
>     </message>
>     <message name="AddResponse">
>         <part name="result" element="typ:AddReturn"/>
>     </message>
> ...
> When generating code for jaxbri for message parts such as typ:AddReturn (xs:int), it gives compilation errors in the generated code when the jaxbri generated code uses primitive data types.
> Sample wsdl at module axis2-jaxbri/test-resources/wsdl/Test01.wsdl gives compilation errors.

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


[jira] Resolved: (AXIS2-3031) compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean

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

Davanum Srinivas resolved AXIS2-3031.
-------------------------------------

    Resolution: Fixed

> compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3031
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3031
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>            Reporter: Upul Godage
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: patch-AXIS2-3031.txt
>
>
>     <types>
>         <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.foo.com/axis2/test01" elementFormDefault="qualified">
>             <xs:element name="Add">
>                 <xs:complexType>
>                     <xs:sequence>
>                         <xs:element name="Arg1" type="xs:int"/>
>                         <xs:element name="Arg2" type="xs:int"/>
>                     </xs:sequence>
>                 </xs:complexType>
>             </xs:element>
>             <xs:element name="AddReturn" type="xs:int"/>
>         </xs:schema>
>     </types>
>     <message name="Add">
>         <part name="params" element="typ:Add"/>
>     </message>
>     <message name="AddResponse">
>         <part name="result" element="typ:AddReturn"/>
>     </message>
> ...
> When generating code for jaxbri for message parts such as typ:AddReturn (xs:int), it gives compilation errors in the generated code when the jaxbri generated code uses primitive data types.
> Sample wsdl at module axis2-jaxbri/test-resources/wsdl/Test01.wsdl gives compilation errors.

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


[jira] Assigned: (AXIS2-3031) compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean

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

Deepal Jayasinghe reassigned AXIS2-3031:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3031
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3031
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>            Reporter: Upul Godage
>            Assignee: Amila Chinthaka Suriarachchi
>
>     <types>
>         <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.foo.com/axis2/test01" elementFormDefault="qualified">
>             <xs:element name="Add">
>                 <xs:complexType>
>                     <xs:sequence>
>                         <xs:element name="Arg1" type="xs:int"/>
>                         <xs:element name="Arg2" type="xs:int"/>
>                     </xs:sequence>
>                 </xs:complexType>
>             </xs:element>
>             <xs:element name="AddReturn" type="xs:int"/>
>         </xs:schema>
>     </types>
>     <message name="Add">
>         <part name="params" element="typ:Add"/>
>     </message>
>     <message name="AddResponse">
>         <part name="result" element="typ:AddReturn"/>
>     </message>
> ...
> When generating code for jaxbri for message parts such as typ:AddReturn (xs:int), it gives compilation errors in the generated code when the jaxbri generated code uses primitive data types.
> Sample wsdl at module axis2-jaxbri/test-resources/wsdl/Test01.wsdl gives compilation errors.

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


[jira] Commented: (AXIS2-3031) compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12516420 ] 

Davanum Srinivas commented on AXIS2-3031:
-----------------------------------------

Thanks!. Applied in svn trunk (561016) and 1.3 branch (561017)

> compilation errors in generated code for jaxbri when wsdl messages' contain a simpletype part e.g. int, boolean
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-3031
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3031
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>    Affects Versions: nightly
>            Reporter: Upul Godage
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: patch-AXIS2-3031.txt
>
>
>     <types>
>         <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://xmlns.foo.com/axis2/test01" elementFormDefault="qualified">
>             <xs:element name="Add">
>                 <xs:complexType>
>                     <xs:sequence>
>                         <xs:element name="Arg1" type="xs:int"/>
>                         <xs:element name="Arg2" type="xs:int"/>
>                     </xs:sequence>
>                 </xs:complexType>
>             </xs:element>
>             <xs:element name="AddReturn" type="xs:int"/>
>         </xs:schema>
>     </types>
>     <message name="Add">
>         <part name="params" element="typ:Add"/>
>     </message>
>     <message name="AddResponse">
>         <part name="result" element="typ:AddReturn"/>
>     </message>
> ...
> When generating code for jaxbri for message parts such as typ:AddReturn (xs:int), it gives compilation errors in the generated code when the jaxbri generated code uses primitive data types.
> Sample wsdl at module axis2-jaxbri/test-resources/wsdl/Test01.wsdl gives compilation errors.

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