axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1188) 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
Date Mon, 12 Feb 2007 14:57:06 GMT

    [ 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


Mime
View raw message