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, 28 Feb 2006 07:55:27 -0800,    group: microsoft.public.exchange2000.development        back       


BMove won't work in Exchange if using permanenturl   
I'm trying to perform a webDav call to move selected messages into a 
destination folder and does anybody know why BMOVE will work when i use the 
regular folder name as the request parameters, and it won't work when i use 
the folder permanentURL ? 

Below you can see the two requests, the first one does NOT work, and the 
second one works ok:

BMOVE 
/exchange/lucianoresende/-FlatUrlSpace-/9414c48bbd498144b7b7238535deb823-233e2/ HTTP/1.1
Content-Type: text/xml
Host: pir03pc17.westford5.notesdev.ibm.com
Authorization: Basic d2VzdGZvcmQ1XGx1Y2lhbm9yZXNlbmRlOnBhc3N3MHJk
Destination: 
/exchange/lucianoresende/-FlatUrlSpace-/9414c48bbd498144b7b7238535deb823-233e5/
User-Agent: Java/1.4.2
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 93

<?xml version='1.0'?>
<move xmlns='DAV:'>
<target>
<href>delete%20999.EML</href>
</target>
</move>

BMOVE /exchange/lucianoresende/inbox/ HTTP/1.1
Content-Type: text/xml
Host: pir03pc17.westford5.notesdev.ibm.com
Authorization: Basic d2VzdGZvcmQ1XGx1Y2lhbm9yZXNlbmRlOnBhc3N3MHJk
Destination: /exchange/lucianoresende/deleted%20items/
User-Agent: Java/1.4.2
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 93

<?xml version='1.0'?>
<move xmlns='DAV:'>
<target>
<href>delete%20999.EML</href>
</target>
</move>

-- 
- Luciano Resende

-- 
- Luciano Resende
date: Tue, 28 Feb 2006 07:55:27 -0800   author:   Luciano Resende am

Re: BMove won't work in Exchange if using permanenturl   
Unfortunately by design.  Permanent a.k.a. Flat URLs can't be used as:

- destination of *MOVE or *COPY operations
- a source for a DELETE

I assume that the application you're writing has access to the DAV:href of 
the folder, so why use permanent URLs in this case?

Cheers,
- Karim

"Luciano Resende" <luck@newsgroups.nospam> wrote in message 
news:0BDAB177-5236-4A4A-B40F-76D75C7E920E@microsoft.com...
> I'm trying to perform a webDav call to move selected messages into a
> destination folder and does anybody know why BMOVE will work when i use 
> the
> regular folder name as the request parameters, and it won't work when i 
> use
> the folder permanentURL ?
>
> Below you can see the two requests, the first one does NOT work, and the
> second one works ok:
>
> BMOVE
> /exchange/lucianoresende/-FlatUrlSpace-/9414c48bbd498144b7b7238535deb823-233e2/ 
> HTTP/1.1
> Content-Type: text/xml
> Host: pir03pc17.westford5.notesdev.ibm.com
> Authorization: Basic d2VzdGZvcmQ1XGx1Y2lhbm9yZXNlbmRlOnBhc3N3MHJk
> Destination:
> /exchange/lucianoresende/-FlatUrlSpace-/9414c48bbd498144b7b7238535deb823-233e5/
> User-Agent: Java/1.4.2
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> Content-Length: 93
>
> <?xml version='1.0'?>
> <move xmlns='DAV:'>
> <target>
> <href>delete%20999.EML</href>
> </target>
> </move>
>
> BMOVE /exchange/lucianoresende/inbox/ HTTP/1.1
> Content-Type: text/xml
> Host: pir03pc17.westford5.notesdev.ibm.com
> Authorization: Basic d2VzdGZvcmQ1XGx1Y2lhbm9yZXNlbmRlOnBhc3N3MHJk
> Destination: /exchange/lucianoresende/deleted%20items/
> User-Agent: Java/1.4.2
> Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
> Connection: keep-alive
> Content-Length: 93
>
> <?xml version='1.0'?>
> <move xmlns='DAV:'>
> <target>
> <href>delete%20999.EML</href>
> </target>
> </move>
>
> -- 
> - Luciano Resende
>
> -- 
> - Luciano Resende
date: Tue, 28 Feb 2006 11:38:48 -0800   author:   Karim Batthish [MS]

Google
 
Web ureader.com


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