CC: | Jonas Roehrlich <jonas.roehrlich [...] aachtec.com> |
Subject: | EWS::Client issue |
Date: | Wed, 18 May 2011 16:16:51 +0000 |
To: | "bug-EWS-Client [...] rt.cpan.org" <bug-EWS-Client [...] rt.cpan.org> |
From: | Raoul König <raoul.koenig [...] aachtec.com> |
Dear developers of EWS::Client,
I tried a small example of your EWS-Interface:
use EWS::Client;
my $ews = EWS::Client->new({
server => '***.aachtec.com',
username => '***',
password => '***',
});
my $entries = $ews->contacts->retrieve;
print "I retrieved ". $entries->count ." items\n";
while ($entries->has_next) {
print $entries->next->DisplayName, "\n";
}
I ended up with Content-Type-issues.
I think the response Content-Type is all right, but the EWS-Libary doesn't deal with the quotes:
warning: Cannot process the message because the content type 'text/xml; charset="utf-8"' was not the expected type 'text/xml; charset=utf-8'.
error: answer is not xml but `'
I don't know, where to fix that, or if it is my own failure in some way.
I would be happy if someone could help in on that.
Thank you very much,
Raoul
PS: I'm using ActivePerl 5.12 on Mac OS X and MS Exchange 2010.