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 "indika priyantha kumara (JIRA)" <ji...@apache.org> on 2006/09/19 12:26:40 UTC

[jira] Created: (AXIS2-1188) Code Generation does not work correctly when WSDL has Schema element .BitMask is a Schema SimpleType which contains enumeration element

Code Generation  does not work  correctly when  WSDL has Schema element <xs:element name="inEnumString" type="q23:BitMask"/> .BitMask is a Schema SimpleType which contains enumeration element
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-1188
                 URL: http://issues.apache.org/jira/browse/AXIS2-1188
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
            Reporter: indika priyantha kumara


When i invoked a service by generating stub , i got a data binding error .After monitoring messages i have sent, I have found that error was happen due to  incorrect request message. This happen when WSDL has Schema element such as <xs:element name="inEnumString" type="q23:BitMask"/>.Input message contains type name instead of name of element .BitMask has defined in Schema as following

<xs:simpleType name="BitMask">
<xs:restriction base="xs:string">
<xs:enumeration value="BitOne"/>
<xs:enumeration value="BitTwo"/>
<xs:enumeration value="BitThree"/>
<xs:enumeration value="BitFour"/>
<xs:enumeration value="BitFive"/>
</xs:restriction>
</xs:simpleType>

In another time,same problem occurs when Schema element has Simple Type with enumeration as above

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


[jira] Updated: (AXIS2-1188) Code Generation does not work correctly when WSDL has Schema element .BitMask is a Schema SimpleType which contains enumeration element

Posted by "indika priyantha kumara (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1188?page=all ]

indika priyantha kumara updated AXIS2-1188:
-------------------------------------------

    Attachment: ComplexDataTypesDocLitB.svc.xml

 i have attached a wsdl file

> Code Generation  does not work  correctly when  WSDL has Schema element <xs:element name="inEnumString" type="q23:BitMask"/> .BitMask is a Schema SimpleType which contains enumeration element
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1188
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1188
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>            Reporter: indika priyantha kumara
>         Attachments: ComplexDataTypesDocLitB.svc.xml
>
>
> When i invoked a service by generating stub , i got a data binding error .After monitoring messages i have sent, I have found that error was happen due to  incorrect request message. This happen when WSDL has Schema element such as <xs:element name="inEnumString" type="q23:BitMask"/>.Input message contains type name instead of name of element .BitMask has defined in Schema as following
> <xs:simpleType name="BitMask">
> <xs:restriction base="xs:string">
> <xs:enumeration value="BitOne"/>
> <xs:enumeration value="BitTwo"/>
> <xs:enumeration value="BitThree"/>
> <xs:enumeration value="BitFour"/>
> <xs:enumeration value="BitFive"/>
> </xs:restriction>
> </xs:simpleType>
> In another time,same problem occurs when Schema element has Simple Type with enumeration as above

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


[jira] Resolved: (AXIS2-1188) Code Generation does not work correctly when WSDL has Schema element .BitMask is a Schema SimpleType which contains enumeration element

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

Amila Chinthaka Suriarachchi resolved AXIS2-1188.
-------------------------------------------------

    Resolution: Fixed

I resolve this issue since adb now supports the enumeration.

> Code Generation  does not work  correctly when  WSDL has Schema element <xs:element name="inEnumString" type="q23:BitMask"/> .BitMask is a Schema SimpleType which contains enumeration element
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1188
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>            Reporter: indika priyantha kumara
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: ComplexDataTypesDocLitB.svc.xml
>
>
> When i invoked a service by generating stub , i got a data binding error .After monitoring messages i have sent, I have found that error was happen due to  incorrect request message. This happen when WSDL has Schema element such as <xs:element name="inEnumString" type="q23:BitMask"/>.Input message contains type name instead of name of element .BitMask has defined in Schema as following
> <xs:simpleType name="BitMask">
> <xs:restriction base="xs:string">
> <xs:enumeration value="BitOne"/>
> <xs:enumeration value="BitTwo"/>
> <xs:enumeration value="BitThree"/>
> <xs:enumeration value="BitFour"/>
> <xs:enumeration value="BitFive"/>
> </xs:restriction>
> </xs:simpleType>
> In another time,same problem occurs when Schema element has Simple Type with enumeration as above

-- 
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-1188) Code Generation does not work correctly when WSDL has Schema element .BitMask is a Schema SimpleType which contains enumeration element

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472310 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-1188:
-----------------------------------------------------

I have fixed the enumeration supprot. can you try with a nightly build?

> Code Generation  does not work  correctly when  WSDL has Schema element <xs:element name="inEnumString" type="q23:BitMask"/> .BitMask is a Schema SimpleType which contains enumeration element
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1188
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>            Reporter: indika priyantha kumara
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: ComplexDataTypesDocLitB.svc.xml
>
>
> When i invoked a service by generating stub , i got a data binding error .After monitoring messages i have sent, I have found that error was happen due to  incorrect request message. This happen when WSDL has Schema element such as <xs:element name="inEnumString" type="q23:BitMask"/>.Input message contains type name instead of name of element .BitMask has defined in Schema as following
> <xs:simpleType name="BitMask">
> <xs:restriction base="xs:string">
> <xs:enumeration value="BitOne"/>
> <xs:enumeration value="BitTwo"/>
> <xs:enumeration value="BitThree"/>
> <xs:enumeration value="BitFour"/>
> <xs:enumeration value="BitFive"/>
> </xs:restriction>
> </xs:simpleType>
> In another time,same problem occurs when Schema element has Simple Type with enumeration as above

-- 
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-1188) Code Generation does not work correctly when WSDL has Schema element .BitMask is a Schema SimpleType which contains enumeration element

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1188?page=comments#action_12436161 ] 
            
Deepal Jayasinghe commented on AXIS2-1188:
------------------------------------------

can you please attach the wsdl

> Code Generation  does not work  correctly when  WSDL has Schema element <xs:element name="inEnumString" type="q23:BitMask"/> .BitMask is a Schema SimpleType which contains enumeration element
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1188
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1188
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>            Reporter: indika priyantha kumara
>
> When i invoked a service by generating stub , i got a data binding error .After monitoring messages i have sent, I have found that error was happen due to  incorrect request message. This happen when WSDL has Schema element such as <xs:element name="inEnumString" type="q23:BitMask"/>.Input message contains type name instead of name of element .BitMask has defined in Schema as following
> <xs:simpleType name="BitMask">
> <xs:restriction base="xs:string">
> <xs:enumeration value="BitOne"/>
> <xs:enumeration value="BitTwo"/>
> <xs:enumeration value="BitThree"/>
> <xs:enumeration value="BitFour"/>
> <xs:enumeration value="BitFive"/>
> </xs:restriction>
> </xs:simpleType>
> In another time,same problem occurs when Schema element has Simple Type with enumeration as above

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


[jira] Assigned: (AXIS2-1188) Code Generation does not work correctly when WSDL has Schema element .BitMask is a Schema SimpleType which contains enumeration element

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

Deepal Jayasinghe reassigned AXIS2-1188:
----------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

Amila;
Any idea ?

> Code Generation  does not work  correctly when  WSDL has Schema element <xs:element name="inEnumString" type="q23:BitMask"/> .BitMask is a Schema SimpleType which contains enumeration element
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-1188
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1188
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding
>            Reporter: indika priyantha kumara
>         Assigned To: Amila Chinthaka Suriarachchi
>         Attachments: ComplexDataTypesDocLitB.svc.xml
>
>
> When i invoked a service by generating stub , i got a data binding error .After monitoring messages i have sent, I have found that error was happen due to  incorrect request message. This happen when WSDL has Schema element such as <xs:element name="inEnumString" type="q23:BitMask"/>.Input message contains type name instead of name of element .BitMask has defined in Schema as following
> <xs:simpleType name="BitMask">
> <xs:restriction base="xs:string">
> <xs:enumeration value="BitOne"/>
> <xs:enumeration value="BitTwo"/>
> <xs:enumeration value="BitThree"/>
> <xs:enumeration value="BitFour"/>
> <xs:enumeration value="BitFive"/>
> </xs:restriction>
> </xs:simpleType>
> In another time,same problem occurs when Schema element has Simple Type with enumeration as above

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