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: Tue, 04 Dec 2007 13:01:52 +0100,    group: microsoft.public.exchange.development        back       


WebDAV replication   
Hi,

I'm trying to use WebDAV replication as described here: 
http://msdn2.microsoft.com/en-us/library/ms877289.aspx but, I'm not able 
to execute any of example.

I'm sending XML like this, and receive Error 400:

<?xml version="1.0"?>
<D:searchrequest xmlns:D="DAV:" 
xmlns:R="http://schemas.microsoft.com/repl/">
<R:repl>
	<R:collblob/>
</R:repl>
<D:sql>SELECT  'http://schemas.microsoft.com/repl/resourcetag' FROM 
SCOPE ('SHALLOW TRAVERSAL OF 
"http://exchange:8082/exchange/usermailbox/Tasks/"') </D:sql>
</D:searchrequest>


I allways get error 400. Is there any setup needed to enable this feature ?


Regards
date: Tue, 04 Dec 2007 13:01:52 +0100   author:   Marcin Krzyzanowski

Re: WebDAV replication   
Your XML look okay except for the <D:sql>SELECT 
'http://schemas.microsoft.com/repl/resourcetag' FROM

You need to use double quotes around the property name eg 
"http://schemas.microsoft.com/repl/resourcetag" using single quotes will 
generate 400 errors.

Cheers
Glen

"Marcin Krzyzanowski"  wrote in message 
news:OpOK21mNIHA.4880@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> I'm trying to use WebDAV replication as described here: 
> http://msdn2.microsoft.com/en-us/library/ms877289.aspx but, I'm not able 
> to execute any of example.
>
> I'm sending XML like this, and receive Error 400:
>
> <?xml version="1.0"?>
> <D:searchrequest xmlns:D="DAV:" 
> xmlns:R="http://schemas.microsoft.com/repl/">
> <R:repl>
> <R:collblob/>
> </R:repl>
> <D:sql>SELECT  'http://schemas.microsoft.com/repl/resourcetag' FROM SCOPE 
> ('SHALLOW TRAVERSAL OF 
> "http://exchange:8082/exchange/usermailbox/Tasks/"') </D:sql>
> </D:searchrequest>
>
>
> I allways get error 400. Is there any setup needed to enable this feature 
> ?
>
>
> Regards
>
date: Wed, 5 Dec 2007 17:20:05 +1100   author:   Glen Scales [MVP]

Re: WebDAV replication   
That was it. Thanks Glen.

Glen Scales [MVP] pisze:
> Your XML look okay except for the <D:sql>SELECT 
> 'http://schemas.microsoft.com/repl/resourcetag' FROM
> 
> You need to use double quotes around the property name eg 
> "http://schemas.microsoft.com/repl/resourcetag" using single quotes will 
> generate 400 errors.
> 
> Cheers
> Glen
> 
> "Marcin Krzyzanowski"  wrote in message 
> news:OpOK21mNIHA.4880@TK2MSFTNGP03.phx.gbl...
>> Hi,
>>
>> I'm trying to use WebDAV replication as described here: 
>> http://msdn2.microsoft.com/en-us/library/ms877289.aspx but, I'm not able 
>> to execute any of example.
>>
>> I'm sending XML like this, and receive Error 400:
>>
>> <?xml version="1.0"?>
>> <D:searchrequest xmlns:D="DAV:" 
>> xmlns:R="http://schemas.microsoft.com/repl/">
>> <R:repl>
>> <R:collblob/>
>> </R:repl>
>> <D:sql>SELECT  'http://schemas.microsoft.com/repl/resourcetag' FROM SCOPE 
>> ('SHALLOW TRAVERSAL OF 
>> "http://exchange:8082/exchange/usermailbox/Tasks/"') </D:sql>
>> </D:searchrequest>
>>
>>
>> I allways get error 400. Is there any setup needed to enable this feature 
>> ?
>>
>>
>> Regards
>>
> 
>
date: Wed, 05 Dec 2007 09:56:56 +0100   author:   Marcin Krzyzanowski

Re: WebDAV replication   
BTW, all examples show single quotes here. funny.

Marcin Krzyzanowski pisze:
> That was it. Thanks Glen.
> 
> Glen Scales [MVP] pisze:
>> Your XML look okay except for the <D:sql>SELECT 
>> 'http://schemas.microsoft.com/repl/resourcetag' FROM
>>
>> You need to use double quotes around the property name eg 
>> "http://schemas.microsoft.com/repl/resourcetag" using single quotes 
>> will generate 400 errors.
>>
>> Cheers
>> Glen
>>
>> "Marcin Krzyzanowski"  wrote in message 
>> news:OpOK21mNIHA.4880@TK2MSFTNGP03.phx.gbl...
>>> Hi,
>>>
>>> I'm trying to use WebDAV replication as described here: 
>>> http://msdn2.microsoft.com/en-us/library/ms877289.aspx but, I'm not 
>>> able to execute any of example.
>>>
>>> I'm sending XML like this, and receive Error 400:
>>>
>>> <?xml version="1.0"?>
>>> <D:searchrequest xmlns:D="DAV:" 
>>> xmlns:R="http://schemas.microsoft.com/repl/">
>>> <R:repl>
>>> <R:collblob/>
>>> </R:repl>
>>> <D:sql>SELECT  'http://schemas.microsoft.com/repl/resourcetag' FROM 
>>> SCOPE ('SHALLOW TRAVERSAL OF 
>>> "http://exchange:8082/exchange/usermailbox/Tasks/"') </D:sql>
>>> </D:searchrequest>
>>>
>>>
>>> I allways get error 400. Is there any setup needed to enable this 
>>> feature ?
>>>
>>>
>>> Regards
>>>
>>
>>
date: Wed, 05 Dec 2007 10:22:53 +0100   author:   Marcin Krzyzanowski

Google
 
Web ureader.com


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