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 "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/02/27 16:00:37 UTC

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

     [ 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