Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Fri, 21 Dec 2007 21:20:21 +0100,    group: microsoft.public.exchange.development        back       


search for common folders with problem - WebDAV   
Using WebDAV I want to take common folders URL's and I send XML like this:

     query = "<?xml version=\"1.0\"?>"
         + "<g:searchrequest xmlns:g=\"DAV:\">"
         + "<g:sql>SELECT"
         + " \"urn:schemas:httpmail:calendar\" AS CalendarURI,"
         + " \"urn:schemas:httpmail:tasks\" AS TasksURI,"
         + " \"urn:schemas:httpmail:contacts\" AS ContactsURI"
         + " FROM SCOPE ('SHALLOW TRAVERSAL OF \"\"') WHERE 
\"DAV:isfolder\" = True AND \"DAV:ishidden\" = False"
         +"</g:sql></g:searchrequest>";


and response is like below, for every folder:

<a:response>
<a:href>https://webmail.domain.com/exchange/user1@mydomain.com/Tasks/</a:href> 

<a:propstat>
<a:status>HTTP/1.1 404 Resource Not Found</a:status>
<a:prop>
<CalendarURI />
<TasksURI />
<ContactsURI />
</a:prop>
</a:propstat>
</a:response>

More curious is that this happened only for a few accounts, most of them 
return valid URL's. I have no idea what it may be. HELP.


Thanks in advance.
date: Fri, 21 Dec 2007 21:20:21 +0100   author:   Marcin Krzyzanowski

Re: search for common folders with problem - WebDAV   
It is not always /user1@mydomain.com/ .  Sometimes it is just /user1/

Lee.

-- 
_______________________________________

Outlook Web Access for PDA, OWA For WAP:
www.leederbyshire.com
________________________________________

"Marcin Krzyzanowski"  wrote in message 
news:uhOvn7ARIHA.1208@TK2MSFTNGP05.phx.gbl...
> Using WebDAV I want to take common folders URL's and I send XML like this:
>
>     query = "<?xml version=\"1.0\"?>"
>         + "<g:searchrequest xmlns:g=\"DAV:\">"
>         + "<g:sql>SELECT"
>         + " \"urn:schemas:httpmail:calendar\" AS CalendarURI,"
>         + " \"urn:schemas:httpmail:tasks\" AS TasksURI,"
>         + " \"urn:schemas:httpmail:contacts\" AS ContactsURI"
>         + " FROM SCOPE ('SHALLOW TRAVERSAL OF \"\"') WHERE 
> \"DAV:isfolder\" = True AND \"DAV:ishidden\" = False"
>         +"</g:sql></g:searchrequest>";
>
>
> and response is like below, for every folder:
>
> <a:response>
> <a:href>https://webmail.domain.com/exchange/user1@mydomain.com/Tasks/</a:href>
> <a:propstat>
> <a:status>HTTP/1.1 404 Resource Not Found</a:status>
> <a:prop>
> <CalendarURI />
> <TasksURI />
> <ContactsURI />
> </a:prop>
> </a:propstat>
> </a:response>
>
> More curious is that this happened only for a few accounts, most of them 
> return valid URL's. I have no idea what it may be. HELP.
>
>
> Thanks in advance.
date: Sat, 22 Dec 2007 17:34:01 -0000   author:   Lee Derbyshire [MVP] email a@t leederbyshire d.0.t c.0.m

Re: search for common folders with problem - WebDAV   
I mean exchange2k3SP1. And here it's user@domain.com for sure.
BTW using PROPFIND I get well-known information for this user but with 
searchrequest don't.


Lee Derbyshire [MVP] pisze:
> It is not always /user1@mydomain.com/ .  Sometimes it is just /user1/
> 
> Lee.
>
date: Sun, 23 Dec 2007 00:25:04 +0100   author:   Marcin Krzyzanowski

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us