Re: [Evolution] Accessing other Calendars via EWS



On Tue, 2016-02-09 at 11:41 +0100, Milan Crha wrote:
On Tue, 2016-02-09 at 07:43 +0000, Joakim Tjernlund wrote:
Below are instructions to access another Calendar in Outlook, I cannot find a way to do
the same from Evolution. Is there a way?

      Hi,
evolution-ews calls it "Subscribe to other user folder", which can be
found in a context menu above the EWS mail account name in the Mail
view. It's quite hidden, but may change sooner or later [1].
      Bye,
      Milan

[1] https://bugzilla.gnome.org/show_bug.cgi?id=760220

Nice! I tried this but got an error that "Folder Calendar not found"
So I added som debug variables:
cat evo-debug.sh 
export CALDAV_DEBUG=all
export WEBCAL_DEBUG=1
export ALARMS_DEBUG=1
export EWS_DEBUG=2
evolution

And got this:

POST /ews/exchange.asmx HTTP/1.1
Soup-Debug-Timestamp: 1455020573
Soup-Debug: SoupSessionAsync 1 (0x1307860), ESoapMessage 33 (0x7f0ab8006130), SoupSocket 1 (0x7f0af0006910)
Host: owa.infinera.com
User-Agent: Evolution/3.18.4
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><SOAP-ENV:Header><types:RequestServerVersion 
xmlns:types="http://schemas.microsoft.com/exchange/services/2006/types"; 
Version="Exchange2010_SP2"/></SOAP-ENV:Header><SOAP-ENV:Body 
xmlns:messages="http://schemas.microsoft.com/exchange/services/2006/messages";><messages:ResolveNames 
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"; SearchScope="ActiveDirectory" 
ReturnFullContactData="false"><messages:UnresolvedEntry>Naprapath infinera 
com</messages:UnresolvedEntry></messages:ResolveNames></SOAP-ENV:Body></SOAP-ENV:Envelope>
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1455020573
< Soup-Debug: ESoapMessage 33 (0x7f0ab8006130)
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: text/xml; charset=utf-8
< Server: Microsoft-IIS/8.0
< request-id: b7f9d3d6-9778-4833-8c48-d579ccc5eddf
< X-CalculatedBETarget: sv-ex13-prd1.infinera.com
< X-DiagInfo: SV-EX13-PRD1
< X-BEServer: SV-EX13-PRD1
< X-AspNet-Version: 4.0.30319
< Set-Cookie: exchangecookie=4428736f7908491d91de1f68e21cda3f; path=/
< Set-Cookie: 
X-BackEndCookie=S-1-5-21-1757981266-1085031214-682003330-51010=u56Lnp2ejJqBnpqeyc/Gy8zSzM2ZytLLx82c0p3JzM3Syp3Ozs3Hm5vGyp2dgYHNz87J0s/M0s7Pq87Nxc3OxcvH;
 expires=Thu, 10-Mar-2016 20:21:48 GMT; path=/ews; secure; HttpOnly
< X-Powered-By: ASP.NET
< X-FEServer: SV-EX13-PRD2
< Date: Tue, 09 Feb 2016 12:21:47 GMT
  

 The response code: 200
 The response headers for message 0x7f0ab8006130
 =====================
Cache-Control: private
Transfer-Encoding: chunked
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/8.0
request-id: b7f9d3d6-9778-4833-8c48-d579ccc5eddf
X-CalculatedBETarget: sv-ex13-prd1.infinera.com
X-DiagInfo: SV-EX13-PRD1
X-BEServer: SV-EX13-PRD1
X-AspNet-Version: 4.0.30319
Set-Cookie: exchangecookie=4428736f7908491d91de1f68e21cda3f; path=/
Set-Cookie: 
X-BackEndCookie=S-1-5-21-1757981266-1085031214-682003330-51010=u56Lnp2ejJqBnpqeyc/Gy8zSzM2ZytLLx82c0p3JzM3Syp3Ozs3Hm5vGyp2dgYHNz87J0s/M0s7Pq87Nxc3OxcvH;
 expires=Thu, 10-Mar-2016 20:21:48 GMT; path=/ews; secure; HttpOnly
X-Powered-By: ASP.NET
X-FEServer: SV-EX13-PRD2
Date: Tue, 09 Feb 2016 12:21:47 GMT

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>;
  <s:Header>
    <h:ServerVersionInfo xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"; 
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
MajorVersion="15" MinorVersion="0" MajorBuildNumber="1044" MinorBuildNumber="21" Version="V2_22"/>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <m:ResolveNamesResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"; 
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types";>
      <m:ResponseMessages>
        <m:ResolveNamesResponseMessage ResponseClass="Success">
          <m:ResponseCode>NoError</m:ResponseCode>
          <m:ResolutionSet TotalItemsInView="1" IncludesLastItemInRange="true">
            <t:Resolution>
              <t:Mailbox>
                <t:Name>~STH Naprapath</t:Name>
                <t:EmailAddress>Naprapath infinera com</t:EmailAddress>
                <t:RoutingType>SMTP</t:RoutingType>
                <t:MailboxType>Mailbox</t:MailboxType>
              </t:Mailbox>
            </t:Resolution>
          </m:ResolutionSet>
        </m:ResolveNamesResponseMessage>
      </m:ResponseMessages>
    </m:ResolveNamesResponse>
  </s:Body>
</s:Envelope>
POST /ews/exchange.asmx HTTP/1.1
Soup-Debug-Timestamp: 1455020573
Soup-Debug: SoupSessionAsync 1 (0x1307860), ESoapMessage 34 (0x409bc20), SoupSocket 1 (0x7f0af0006910)
Host: owa.infinera.com
User-Agent: Evolution/3.18.4
Connection: Keep-Alive
Content-Type: text/xml; charset=utf-8
 
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><SOAP-ENV:Header><types:RequestServerVersion 
xmlns:types="http://schemas.microsoft.com/exchange/services/2006/types"; 
Version="Exchange2010_SP2"/></SOAP-ENV:Header><SOAP-ENV:Body 
xmlns:messages="http://schemas.microsoft.com/exchange/services/2006/messages";><messages:GetFolder 
xmlns="http://schemas.microsoft.com/exchange/services/2006/types";><messages:FolderShape><BaseShape>Default</BaseShape><AdditionalProperties><FieldURI
 FieldURI="folder:FolderClass"/><FieldURI 
FieldURI="folder:ParentFolderId"/></AdditionalProperties></messages:FolderShape><messages:FolderIds><DistinguishedFolderId
 Id="calendar"><Mailbox><EmailAddress>Naprapath infinera 
com</EmailAddress></Mailbox></DistinguishedFolderId></messages:FolderIds></messages:GetFolder></SOAP-ENV:Body></SOAP-ENV:Envelope>
  
< HTTP/1.1 200 OK
< Soup-Debug-Timestamp: 1455020574
< Soup-Debug: ESoapMessage 34 (0x409bc20)
< Cache-Control: private
< Transfer-Encoding: chunked
< Content-Type: text/xml; charset=utf-8
< Server: Microsoft-IIS/8.0
< request-id: b64b9fe8-9787-40f4-a5c9-d251d8b719d8
< X-CalculatedBETarget: sv-ex13-prd1.infinera.com
< X-DiagInfo: SV-EX13-PRD1
< X-BEServer: SV-EX13-PRD1
< X-AspNet-Version: 4.0.30319
< Set-Cookie: exchangecookie=4428736f7908491d91de1f68e21cda3f; path=/
< Set-Cookie: 
X-BackEndCookie=S-1-5-21-1757981266-1085031214-682003330-51010=u56Lnp2ejJqBnpqeyc/Gy8zSzM2ZytLLx82c0p3JzM3Syp3Ozs3Hm5vGyp2dgYHNz87J0s/M0s7Pq87Nxc3OxcvH;
 expires=Thu, 10-Mar-2016 20:21:48 GMT; path=/ews; secure; HttpOnly
< X-Powered-By: ASP.NET
< X-FEServer: SV-EX13-PRD2
< Date: Tue, 09 Feb 2016 12:21:48 GMT
  

 The response code: 200
 The response headers for message 0x409bc20
 =====================
Cache-Control: private
Transfer-Encoding: chunked
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/8.0
request-id: b64b9fe8-9787-40f4-a5c9-d251d8b719d8
X-CalculatedBETarget: sv-ex13-prd1.infinera.com
X-DiagInfo: SV-EX13-PRD1
X-BEServer: SV-EX13-PRD1
X-AspNet-Version: 4.0.30319
Set-Cookie: exchangecookie=4428736f7908491d91de1f68e21cda3f; path=/
Set-Cookie: 
X-BackEndCookie=S-1-5-21-1757981266-1085031214-682003330-51010=u56Lnp2ejJqBnpqeyc/Gy8zSzM2ZytLLx82c0p3JzM3Syp3Ozs3Hm5vGyp2dgYHNz87J0s/M0s7Pq87Nxc3OxcvH;
 expires=Thu, 10-Mar-2016 20:21:48 GMT; path=/ews; secure; HttpOnly
X-Powered-By: ASP.NET
X-FEServer: SV-EX13-PRD2
Date: Tue, 09 Feb 2016 12:21:48 GMT

<?xml version="1.0" encoding="utf-8"?>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/";>;
  <s:Header>
    <h:ServerVersionInfo xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"; 
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
MajorVersion="15" MinorVersion="0" MajorBuildNumber="1044" MinorBuildNumber="21" Version="V2_22"/>
  </s:Header>
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
    <m:GetFolderResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"; 
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types";>
      <m:ResponseMessages>
        <m:GetFolderResponseMessage ResponseClass="Error">
          <m:MessageText>The specified folder could not be found in the store.</m:MessageText>
          <m:ResponseCode>ErrorFolderNotFound</m:ResponseCode>
          <m:DescriptiveLinkKey>0</m:DescriptiveLinkKey>
          <m:Folders/>
        </m:GetFolderResponseMessage>
      </m:ResponseMessages>
    </m:GetFolderResponse>
  </s:Body>
</s:Envelope>

 The response code: 200
 The response headers for message 0x3b60dc0
 =====================
Cache-Control: private
Transfer-Encoding: chunked
Server: Microsoft-IIS/8.5
request-id: 534b7b1f-374d-4384-8495-ba79bb00abb6
X-CalculatedBETarget: exch2.transmode.se
X-NoBuffering: 1
X-DiagInfo: EXCH2
X-BEServer: EXCH2
X-AspNet-Version: 4.0.30319
Set-Cookie: exchangecookie=24301b1db1324672aa315552863f0c66; path=/
Set-Cookie: 
X-BackEndCookie=S-1-5-21-2087656646-1191524528-1537874043-1967=u56Lnp2ejJqByZ6cyczOzMbSnpyam9LLnsqb0sbMzprSyM3Jz83Mz8fIy8zPgYHNz87J0s/M0s7Pq87Nxc3Nxc3M;
 expires=Thu, 10-Mar-2016 12:22:23 GMT; path=/EWS; secure; HttpOnly
X-Powered-By: ASP.NET
X-FEServer: EXCH2
Date: Tue, 09 Feb 2016 12:22:23 GMT

<?xml version="1.0"?>
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/";>;
  <soap11:Header xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/";>;
    <ServerVersionInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"; MajorVersion="15" MinorVersion="0" 
MajorBuildNumber="1076" MinorBuildNumber="9" Version="V2_22"/>
  </soap11:Header>
  <soap11:Body xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/";>;
    <m:GetStreamingEventsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"; 
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages";>
      <m:ResponseMessages>
        <m:GetStreamingEventsResponseMessage ResponseClass="Success">
          <m:ResponseCode>NoError</m:ResponseCode>
          <m:ConnectionStatus>OK</m:ConnectionStatus>
        </m:GetStreamingEventsResponseMessage>
      </m:ResponseMessages>
    </m:GetStreamingEventsResponse>
  </soap11:Body>
</Envelope>

 The response code: 200
 The response headers for message 0x7f0acc005920
 =====================
Cache-Control: private
Transfer-Encoding: chunked
Server: Microsoft-IIS/8.0
request-id: b2e0564e-6e0e-476f-a3ab-cb40424effe4
X-CalculatedBETarget: sv-ex13-prd1.infinera.com
X-NoBuffering: 1
X-DiagInfo: SV-EX13-PRD1
X-BEServer: SV-EX13-PRD1
X-AspNet-Version: 4.0.30319
Set-Cookie: exchangecookie=d1c6670dca4b45ad964b030d54363bbf; path=/
Set-Cookie: 
X-BackEndCookie=S-1-5-21-1757981266-1085031214-682003330-51010=u56Lnp2ejJqBnpqeyc/Gy8zSzM2ZytLLx82c0p3JzM3Syp3Ozs3Hm5vGyp2dgYHNz87J0s/M0s7Pq87Nxc3Oxc3N;
 expires=Thu, 10-Mar-2016 20:21:22 GMT; path=/ews; secure; HttpOnly
X-Powered-By: ASP.NET
X-FEServer: SV-EX13-PRD2
Date: Tue, 09 Feb 2016 12:21:21 GMT

<?xml version="1.0"?>
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/";>;
  <soap11:Header xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/";>;
    <ServerVersionInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns="http://schemas.microsoft.com/exchange/services/2006/types"; MajorVersion="15" MinorVersion="0" 
MajorBuildNumber="1044" MinorBuildNumber="21" Version="V2_22"/>
  </soap11:Header>
  <soap11:Body xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/";>;
    <m:GetStreamingEventsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"; 
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages";>
      <m:ResponseMessages>
        <m:GetStreamingEventsResponseMessage ResponseClass="Success">
          <m:ResponseCode>NoError</m:ResponseCode>
          <m:ConnectionStatus>OK</m:ConnectionStatus>
        </m:GetStreamingEventsResponseMessage>
      </m:ResponseMessages>
    </m:GetStreamingEventsResponse>
  </soap11:Body>
</Envelope>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]