Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

ErrorInvalidServerVersion using EWS on a Exchange 2010 SP3

$
0
0
ErrorInvalidServerVersion using EWS on a Exchange 2010 SP3

Hi all,

using this version of exchange serveur:

Correctif cumulatif 5 pour Exchange Server 2010 SP3     24 février 2014    14.03.0181.006

A meeting creation request doesn’t work if I set the exchange version to 2010_SP3.

It works well if I change to 2010_SP2

==>Is my request wrong

==>If not, do you confirm the bug and is it a known bug ?

BR,

Damien



Request WITH SP3:

<?xml version="1.0"
encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><soap:Header><t:RequestServerVersion
Version="Exchange2010_SP3"/></soap:Header><soap:Body><CreateItem
xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
SendMeetingInvitations="SendToAllAndSaveCopy" ><SavedItemFolderId><t:DistinguishedFolderId
Id="calendar"><t:Mailbox><t:EmailAddress>sc01@test.exch2k10.msg</t:EmailAddress></t:Mailbox></t:DistinguishedFolderId></SavedItemFolderId><Items><t:CalendarItem
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><Subject>test
event1</Subject><Body BodyType="Text">my test
event</Body><ReminderIsSet>false</ReminderIsSet><Start>2014-08-13T06:00:00Z</Start><End>2014-08-13T18:00:00Z</End><IsAllDayEvent>false</IsAllDayEvent><Location>test
location</Location></t:CalendarItem></Items></CreateItem></soap:Body></soap:Envelope>



Response WITH SP3:

<?xml version="1.0"
encoding="utf-8"?><s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode
xmlns:a="http://schemas.microsoft.com/exchange/services/2006/types">a:ErrorInvalidServerVersion</faultcode><faultstring
xml:lang="en-GB">The specified server version is
invalid.</faultstring><detail><e:ResponseCode
xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">ErrorInvalidServerVersion</e:ResponseCode><e:Message
xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">The
specified server version is invalid.</e:Message></detail></s:Fault></s:Body></s:Envelope>



Request WITH SP2:

<?xml version="1.0"
encoding="utf-8"?><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><soap:Header><t:RequestServerVersion
Version="Exchange2010_SP2"/></soap:Header><soap:Body><CreateItem
xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
SendMeetingInvitations="SendToAllAndSaveCopy"><SavedItemFolderId><t:DistinguishedFolderId
Id="calendar"><t:Mailbox><t:EmailAddress>sc01@test.exch2k10.msg</t:EmailAddress></t:Mailbox></t:DistinguishedFolderId></SavedItemFolderId><Items><t:CalendarItem
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"><Subject>test
event1</Subject><Body BodyType="Text">my test
event</Body><ReminderIsSet>false</ReminderIsSet><Start>2014-08-13T06:00:00Z</Start><End>2014-08-13T18:00:00Z</End><IsAllDayEvent>false</IsAllDayEvent><Location>test
location</Location></t:CalendarItem></Items></CreateItem></soap:Body></soap:Envelope>



Response WITH SP2:

<?xml version="1.0"
encoding="utf-8"?><s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
MajorVersion="14" MinorVersion="3" MajorBuildNumber="181"
MinorBuildNumber="6" Version="Exchange2010_SP2"
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:CreateItemResponse
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:CreateItemResponseMessage
ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:CalendarItem><t:ItemId
Id="AQMkADNiNzliMzllLTc1ZDItNDMyMy04NjYAZC1iYTQ4NTY5ODEyNjMARgAAA17VPXwy0oRHnIVaHOVnbdsHACfbzI/Kv9JNvZ+62p+lzFoAAAMdAAAAOlP67nXgIUCTYKTPMcIrfgAEDf74pgAAAA=="
ChangeKey="DwAAABYAAAA6U/rudeAhQJNgpM8xwit+AAQN/ykV"/></t:CalendarItem></m:Items></m:CreateItemResponseMessage></m:ResponseMessages></m:CreateItemResponse>




Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>