• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

The request failed schema validation: The required attribute 'Attributes' is missing

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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>
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic