attribute not supported by Axis2.0 in the .xsd file
---------------------------------------------------

                 Key: AXIS2-3008
                 URL: https://issues.apache.org/jira/browse/AXIS2-3008
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.0
         Environment: linxu AS , 
            Reporter: Amit Kumar Banerjee


Attribute is not supported by Axis2.0? While parsing the request at server 
side, it gives an error "unexpected subelement AuthDetails" and when i change 
attribute to element or comment them it works fine .

below is the part of .xsd file.

<xsd:complexType name="AuthDetails" >
   <xsd:sequence>
       <xsd:element name="ClientName" type="xsd:string" minOccurs="1" 
maxOccurs="1" />
       <xsd:element name="Password" type="xsd:string" minOccurs="0" 
maxOccurs="1" />
       <xsd:element name="Role" type="xsd:string" minOccurs="0" maxOccurs="1" />
       <xsd:element name="ClientAuthIdA" type="xsd:int" minOccurs="0" 
maxOccurs="1" />
       <xsd:element name="ClientAuthIdB" type="xsd:int" minOccurs="0" 
maxOccurs="1" />
    </xsd:sequence>
       *<xsd:attribute name="MajorVersion" type="xsd:int" />
       <xsd:attribute name="MinorVersion" type="xsd:int" />  *
</xsd:complexType> 

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

Reply via email to