exchangewebservices - Exchange Web Service listing items of a folder -
i getting error message ms exchange:
the ews id in ewslegacyid format not supported exchange version specified request. please use convertid method convert id ewsid ewslegacyid format.
in response following soap request:
<?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:header> </soap:header> <soap:body> <m:finditem traversal="shallow"> <m:itemshape> <t:baseshape>default</t:baseshape> <!-- <t:additionalproperties> <t:fielduri fielduri="item:textbody" /> <t:fielduri fielduri="item:body" /> </t:additionalproperties> --> </m:itemshape> <m:indexedpageitemview maxentriesreturned="100" offset="0" basepoint="beginning" /> <m:parentfolderids> <t:folderid id="aqmkagezztizownmlwfimgutndg5nc05nznlltuxn2fmngq3zjixmqaalgaaa95uxlot2ijplnacguwj8ycbaobfrj+1ff9pkwpl8+anmhoaaaibdaaaaa==" changekey="aqaaabyaaadm30sftrrft5fqzfpmjzoaaaapjznz" /> </m:parentfolderids> </m:finditem> </soap:body>
i got folder id previous findfolder operation list folder hierarchy.
how solve problem?
i had same problem.
added requestserverversion in header. solved problem.
' <soap:header>' + ' <requestserverversion version="exchange2013" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" soap:mustunderstand="0" />' + ' </soap:header>' +
Comments
Post a Comment