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, 16 Nov 2007 10:57:01 -0800,    group: microsoft.public.exchange2000.development        back       


WebDAV can not search directory with specific character??   
Hi All,

I have a customer, which create a public folder with specific character in 
foder name, let me see, "contacts & test",

when I do search with webdav.

It always return 400 Error,

I have checked Miscrosoft Exchange SDK said unsupported character, which 
includes " & ", however, my customer has this specific character in it.

Is there any body meet this problem? please help me!!

My query string are : 

<?xml version='1.0'?><searchrequest xmlns='DAV:' ><sql>SELECT 
"http://schemas.microsoft.com/exchange/category" "DAV:displayname" FROM 
SCOPE('SHALLOW TRAVERSAL OF "http://192.168.0.13/public/contacts 0x26 test"') 
WHERE "DAV:isfolder"=true and "DAV:ishidden"=false </sql></searchrequest>

<?xml version='1.0'?><searchrequest xmlns='DAV:' ><sql>SELECT 
"http://schemas.microsoft.com/exchange/category" "DAV:displayname" FROM 
SCOPE('SHALLOW TRAVERSAL OF "http://192.168.0.13/public/contacts0 & test"') 
WHERE "DAV:isfolder"=true and "DAV:ishidden"=false </sql></searchrequest>

both do not work.

 Thanks in advanced!!
date: Fri, 16 Nov 2007 10:57:01 -0800   author:   jeff

Re: WebDAV can not search directory with specific character??   
You will need to URL-encode the folder name.  I think the & character will 
be replaced by %26 or %2526 .

Lee.

"jeff"  wrote in message 
news:62A45D6F-F9BC-408A-9C45-F922EA6B94B5@microsoft.com...
> Hi All,
>
> I have a customer, which create a public folder with specific character in
> foder name, let me see, "contacts & test",
>
> when I do search with webdav.
>
> It always return 400 Error,
>
> I have checked Miscrosoft Exchange SDK said unsupported character, which
> includes " & ", however, my customer has this specific character in it.
>
> Is there any body meet this problem? please help me!!
>
> My query string are :
>
> <?xml version='1.0'?><searchrequest xmlns='DAV:' ><sql>SELECT
> "http://schemas.microsoft.com/exchange/category" "DAV:displayname" FROM
> SCOPE('SHALLOW TRAVERSAL OF "http://192.168.0.13/public/contacts 0x26 
> test"')
> WHERE "DAV:isfolder"=true and "DAV:ishidden"=false </sql></searchrequest>
>
> <?xml version='1.0'?><searchrequest xmlns='DAV:' ><sql>SELECT
> "http://schemas.microsoft.com/exchange/category" "DAV:displayname" FROM
> SCOPE('SHALLOW TRAVERSAL OF "http://192.168.0.13/public/contacts0 & 
> test"')
> WHERE "DAV:isfolder"=true and "DAV:ishidden"=false </sql></searchrequest>
>
> both do not work.
>
> Thanks in advanced!!
date: Mon, 19 Nov 2007 13:19:31 -0000   author:   Lee Derbyshire [MVP] email a@t leederbyshire d.0.t c.0.m

Google
 
Web ureader.com


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