Hi All,
I am trying to get the calendar details from
Exchange web service(EWS). I am using Exchange Server 2007 and Axis. I have succesly fully created the stub with out any error msg. But when i am making the request to EWS using the stubs i am getting the
"The request failed schema validation: The required attribute 'Attributes' is missing" exception.
kindly let me know if any one has resolved this kind of error.
The Detailed error msg is below:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: The request failed schema validation: The required attribute 'Attributes' is missing.
faultActor:
faultNode:
faultDetail:
{http://schemas.microsoft.com/exchange/services/2006/errors}ResponseCode:ErrorSchemaValidation
{http://schemas.microsoft.com/exchange/services/2006/errors}Message:The required attribute 'Attributes' is missing.
{http://schemas.microsoft.com/exchange/services/2006/errors}Line:1
{http://schemas.microsoft.com/exchange/services/2006/errors}Position:971
The request failed schema validation: The required attribute 'Attributes' is missing.
The error is occured due to the below lines in the schema:
<xs:element name="RequestServerVersion">
<xs:complexType>
<xs:attribute name="Version" type="t:ExchangeVersionType" fixed="Exchange2007_SP1" use="required"/>
<xs:anyAttribute namespace="http://schemas.xmlsoap.org/soap/envelope/">
<xs:annotation>
<xs

ocumentation>Allow attributes in the
soap namespace to be used here</xs

ocumentation>
</xs:annotation>
</xs:anyAttribute>
</xs:complexType>
</xs:element>
<!-- Enumeration of Exchange Server versions -->
<xs:simpleType name="ExchangeVersionType">
<xs:restriction base="xs:string">
<xs:enumeration value="Exchange2007" />
<xs:enumeration value="Exchange2007_SP1" />
</xs:restriction>
</xs:simpleType>