Subject: | FolderID |
Date: | Wed, 06 Oct 2010 00:05:17 +0200 |
To: | bug-EWS-Client [...] rt.cpan.org |
From: | Christopher Michl <c.michl [...] cmichl.de> |
Hi,
I don't no if this is a bug but I got a "ErrorInvalidIdMalformed" if I
do something like that:
sub _get_contacts {
my ($self, @account_id) = @_;
return scalar $self->client->FindItem->(
ItemShape => { BaseShape => 'AllProperties' },
ParentFolderIds => {
cho_FolderId => [
{ FolderId =>
{
Id =>
'AAEuAAAAAAAaRHOQqmYRzZvIAKoAL8RaAwDGhlYvXdkPS6ML55Rn1Rq8AACAZ94lAAA='
}
}
]
},
Traversal => 'Shallow',
);
}
The Id (it was a public Folder in the IPM_Subtree) was gotten from the
MS EWSEditor and the equivalent with curl results in a list of contacts:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<soap:Header>
<t:RequestServerVersion Version="Exchange2007_SP1"/>
</soap:Header>
<soap:Body>
<FindFolder Traversal="Shallow"
xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
<FolderShape>
<t:BaseShape>Default</t:BaseShape>
</FolderShape>
<ParentFolderIds>
<t:FolderId
Id="AQEuAAADGkRzkKpmEc2byACqAC/EWgMAxoZWL13ZD0ujC+eUZ9UavAAAAwEAAAA="/>
</ParentFolderIds>
</FindFolder>
</soap:Body>
</soap:Envelope>
I am grateful for any help.
Best regards
Christopher Michl
PS: I use perl revision 5 version 10 subversion 1 and EWS-Client 0.6