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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to