Question

I am working on one client issue related to Exchange server. and so I am looking for the exact difference between the above mentioned EWS. I had WSDL for two Exchange web service one of Exchange server at our end, and another is from our client Exchange server. When I compared both of them, i found following difference.

Client Side WSDL :

     <wsdl:operation name="CreateItem">
     <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem" />
     - <wsdl:input>
      <soap:header message="tns:CreateItemSoapIn" part="Impersonation" use="literal" />
      <soap:header message="tns:CreateItemSoapIn" part="S2SAuth" use="literal" />
      <soap:header message="tns:CreateItemSoapIn" part="MailboxCulture" use="literal" />
      <soap:header message="tns:CreateItemSoapIn" part="RequestVersion" use="literal" />
      <soap:header message="tns:CreateItemSoapIn" part="TimeZoneContext" use="literal" />
      <soap:body parts="request" use="literal" />
      </wsdl:input>

WSDL at OUR END:

      </wsdl:operation> -<wsdl:operation name="CreateItem">
      <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem"/>
     -<wsdl:input>
      <soap:header message="tns:CreateItemSoapIn" use="literal" part="Impersonation"/>
      <soap:header message="tns:CreateItemSoapIn" use="literal" part="S2SAuth"/>
      <soap:header message="tns:CreateItemSoapIn" use="literal" part="MailboxCulture"/>
      <soap:header message="tns:CreateItemSoapIn" use="literal" part="RequestVersion"/>
      <soap:body use="literal" parts="request"/>
      </wsdl:input>

      <soap:header message="tns:CreateItemSoapIn" part="TimeZoneContext" use="literal" />

This is the line which is extra in their WSDL. Can any one explain,For what purpose this can be?

And how can I determine the version of EWS?

Was it helpful?

Solution

For Exchange 2010, TimeZones can be established for Appointment items relative to a global timezone when connecting to the service as opposed to setting it for each appointment item as you must do in Exchange 2007.

You can determine the Server version of EWS by observing the ServerVersionInfo element in the SOAP header.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top