2012-12-05 43 views

回答

1

从* nix的平台 - 你真有唯一的选择是using EWS to communicate directly with Exchange或有一个中介服务,包装此EWS行为了(的Exchange Server 2007+)。如果您正在使用older versions of Exchange you may have to consider WebDAV

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
       xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
       xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
       xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"> 
    <soap:Header> 
    <t:RequestServerVersion Version="Exchange2007_SP1"/> 
    <t:TimeZoneContext> 
     <t:TimeZoneDefinition Id="Eastern Standard Time"/> 
    </t:TimeZoneContext> 
    </soap:Header> 
    <soap:Body> 
    <CreateItem xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
     <Items xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"> 
      <Task xmlns="http://schemas.microsoft.com/exchange/services/2006/types"> 
      <Subject>This is a recurring task that was created by using the autogenerated EWS proxies.</Subject> 
      <Body BodyType="Text">This task occurs every week.</Body> 
      <Recurrence> 
       <WeeklyRegeneration> 
       <Interval>1</Interval> 
       </WeeklyRegeneration> 
       <NoEndRecurrence> 
       <StartDate>2006-08-15</StartDate> 
       </NoEndRecurrence> 
      </Recurrence> 
      <StartDate>2006-08-15T14:24:51.3876635-07:00</StartDate> 
      </Task> 
     </Items> 
    </CreateItem> 
    </soap:Body> 
</soap:Envelope>