Announcement

Collapse
No announcement yet.

WebDav query to get folderUrls

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • WebDav query to get folderUrls

    I am struggling to get the WebDav query to get the folderUrls for
    folders like inbox, drafts, outbox etc from Exchange 2007 server.

    I am trying with the following query:
    <?xml version='1.0'?><aropfind xmlns:a='DAV:'><arop
    xmlns:m='urn:schemas:httpmail:'><m:deleteditems/><mutbox/

    ><m:sentitems/><m:drafts/><m:inbox/></arop></aropfind>


    But the results doesn't return me the value of folderURLs. I am
    getting the following xml results:
    <?xml version="1.0"?><a:multistatus
    xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
    xmlns:d="urn:schemas:httpmail:" xmlns:c="xml:"
    xmlns:a="DAV:"><a:response><a:href>http://pvtind97.in.ibm.com/owa/</
    a:href><aropstat><a:status>HTTP/1.1 404 Resource Not Found</
    a:status><arop><d:deleteditems/><dutbox/><d:sentitems/><d:drafts/


    ><d:inbox/></arop></aropstat></a:response></a:multistatus>

    whereas when I try with exchange virtual directory instead of owa i.e. http://pvtind97.in.ibm.com/exchange then for the same query Exchange 2007 server simply returns HTTP code 404, Resource not found. I have read everywhere that for WebDav query one should reach to exchange VD instead of owa, but in my case that too is not working.


    I am badly stuck with no clue. Would be looking forward for suggestions here.

    Thanks in advance !
    Last edited by samta; 5th May 2009, 09:48.
Working...
X