Hello,
I want to delete a item (task) with Exchange Web Services.
I have followed the documentation (http://msdn.microsoft.com/en-us/library/bb204091(v=exchg.80).aspx)
the server retun a success response but the task is not deleted.
My provider is OVH, perhaps I haven't the permition to do delete item. (server host :https://ex.mail.ovh.net/ews/exchange.asmx) I dont know ...
This the soap request :
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/messages"><SOAP-ENV:Header><ns1:RequestServerVersion
Version="Exchange2010"/></SOAP-ENV:Header><SOAP-ENV:Body><ns2:DeleteItem DeleteType="HardDelete"><ns2:ItemIds><ns1:ItemId Id="AAMkADE3MDA2YWM0LTNiOWItNGEzYy05NDZiLWEzNDBjZGNjMDljNQBGAAAAAAB++7WPj0UOSpefm+XK9KDTBwB++BIZXYk3QZ9RhVxkdVIDAAAAAAETAAB++BIZXYk3QZ9RhVxkdVIDAABHcgqjAAA="/></ns2:ItemIds></ns2:DeleteItem></SOAP-ENV:Body></SOAP-ENV:Envelope>
the soap response :
</s:Envelope>
Just so you know the ID is good because I can retrieve the item with it.
sending request :
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ns2="http://schemas.microsoft.com/exchange/services/2006/messages"><SOAP-ENV:Header><ns1:RequestServerVersion
Version="Exchange2010"/></SOAP-ENV:Header><SOAP-ENV:Body><ns2:GetItem><ns2:ItemShape><ns1:BaseShape>AllProperties</ns1:BaseShape><ns1:BodyType>Text</ns1:BodyType></ns2:ItemShape><ns2:ItemIds><ns1:ItemId
Id="AAMkADE3MDA2YWM0LTNiOWItNGEzYy05NDZiLWEzNDBjZGNjMDljNQBGAAAAAAB++7WPj0UOSpefm+XK9KDTBwB++BIZXYk3QZ9RhVxkdVIDAAAAAAETAAB++BIZXYk3QZ9RhVxkdVIDAABHcgqjAAA="/></ns2:ItemIds></ns2:GetItem></SOAP-ENV:Body></SOAP-ENV:Envelope>
The server return that :
</s:Envelope>
if someone has the solution or an explanation for this could you please post it. It'd be appreciated.