Subject: | Validation failed for CalendarItemType 'Exception' |
Date: | Thu, 1 Apr 2010 09:02:59 +0800 |
To: | <bug-EWS-Client [...] rt.cpan.org> |
From: | "Greg Shaw (shawgreg)" <shawgreg [...] cisco.com> |
If I retrieve a calendar item of type 'Exception' I get the following:
Attribute (CalendarItemType) does not pass the type constraint because:
Validation failed for '__ANON__' failed with value Exception at
.../lib/site_perl/5.8.6/EWS/Calendar/ResultSet.pm line 18
EWS::Calendar::ResultSet::BUILDARGS('EWS::Calendar::ResultSet',
'HASH(0xb1c02f4)') called at generated method (unknown origin) line 5
EWS::Calendar::ResultSet::new('EWS::Calendar::ResultSet',
'HASH(0xb1c02f4)') called at
.../localperl/lib/site_perl/5.8.6/EWS/Calendar/Role/RetrieveWithinWindow
.pm line 122
EWS::Calendar::Role::RetrieveWithinWindow::retrieve_within_window('EWS::
Client::Calendar=HASH(0x92a0f8c)',
'EWS::Calendar::Window=HASH(0x920a9b0)') called at
.../localperl/lib/site_perl/5.8.6/EWS/Calendar/Role/Reader.pm line 10
EWS::Calendar::Role::Reader::retrieve('EWS::Client::Calendar=HASH(0x92a0
f8c)', 'HASH(0x920aea0)') called at ./EWSTest.pl line 25
If I change the data range to exclude this item the retrieval works
fine. The wsdl file lists 'Exception'
as a valid type for CalendarItemType. I have checked both the
ews-services.wsdl included in the
distribution and one derived from a 2007 server. The type is present in
both.
Distribution: EWS-Client-0.06
Perl: 5.8.6
OS: Based on RHEL: Kernel: 2.6.9-78.0.5.Elsmp
Cheers, Greg.