Skip to content
This repository
Browse code

Refactored specs and added VCR cassettes

  • Loading branch information...
commit 006f242ea5b54bc3192b2e99a2e3074bded9e122 1 parent 9021941
Edgars Beigarts authored October 11, 2012

Showing 36 changed files with 1,576 additions and 216 deletions. Show diff stats Hide diff stats

  1. 1  .gitignore
  2. 46  Gemfile.lock
  3. 22  README.md
  4. 6  exchanger.gemspec
  5. 4  lib/exchanger/persistence.rb
  6. 26  spec/calendar_item_spec.rb
  7. 58  spec/cassettes/contact/destroy.yml
  8. 61  spec/cassettes/contact/destroy_setup.yml
  9. 119  spec/cassettes/contact/find.yml
  10. 61  spec/cassettes/contact/find_setup.yml
  11. 399  spec/cassettes/contact/save.yml
  12. 58  spec/cassettes/contact/save_cleanup.yml
  13. 60  spec/cassettes/folder/find_calendar.yml
  14. 60  spec/cassettes/folder/find_contacts.yml
  15. 60  spec/cassettes/folder/find_root.yml
  16. 108  spec/cassettes/folder/find_root_folders.yml
  17. 75  spec/cassettes/get_user_availability.yml
  18. 78  spec/cassettes/get_user_availability_default.yml
  19. 58  spec/cassettes/mailbox/search_test.yml
  20. 58  spec/cassettes/mailbox/search_test_members.yml
  21. 67  spec/contact_spec.rb
  22. 4  spec/element_spec.rb
  23. 13  spec/exchanger/calendar_folder_spec.rb
  24. 13  spec/exchanger/calendar_item_spec.rb
  25. 2  spec/{ → exchanger}/client_spec.rb
  26. 102  spec/exchanger/contact_spec.rb
  27. 4  spec/exchanger/element_spec.rb
  28. 2  spec/{ → exchanger}/field_spec.rb
  29. 17  spec/exchanger/folder_spec.rb
  30. 46  spec/exchanger/get_user_availability_spec.rb
  31. 18  spec/exchanger/mailbox_spec.rb
  32. 4  spec/fixtures/get_user_availability.yml.example
  33. 13  spec/folder_spec.rb
  34. 44  spec/get_user_availability_spec.rb
  35. 9  spec/mailbox_spec.rb
  36. 16  spec/spec_helper.rb
1  .gitignore
... ...
@@ -1,4 +1,5 @@
1 1
 coverage
  2
+Gemfile.lock
2 3
 spec/config.yml
3 4
 spec/fixtures/get_user_availability.yml
4 5
 pkg
46  Gemfile.lock
... ...
@@ -1,46 +0,0 @@
1  
-PATH
2  
-  remote: .
3  
-  specs:
4  
-    exchanger (0.1.2)
5  
-      activesupport (>= 2.2.2)
6  
-      httpclient (>= 2.1.5.2)
7  
-      nokogiri (>= 1.3.0)
8  
-      rubyntlm (>= 0.1.1)
9  
-
10  
-GEM
11  
-  remote: http://rubygems.org/
12  
-  specs:
13  
-    BlueCloth (1.0.1)
14  
-    activesupport (3.1.3)
15  
-      multi_json (~> 1.0)
16  
-    diff-lcs (1.1.2)
17  
-    httpclient (2.2.4)
18  
-    i18n (0.5.0)
19  
-    multi_json (1.0.4)
20  
-    nokogiri (1.5.0)
21  
-    rake (0.8.7)
22  
-    rcov (0.9.9)
23  
-    rspec (2.6.0)
24  
-      rspec-core (~> 2.6.0)
25  
-      rspec-expectations (~> 2.6.0)
26  
-      rspec-mocks (~> 2.6.0)
27  
-    rspec-core (2.6.4)
28  
-    rspec-expectations (2.6.0)
29  
-      diff-lcs (~> 1.1.2)
30  
-    rspec-mocks (2.6.0)
31  
-    rubyntlm (0.1.1)
32  
-    tzinfo (0.3.33)
33  
-    yard (0.6.4)
34  
-
35  
-PLATFORMS
36  
-  ruby
37  
-
38  
-DEPENDENCIES
39  
-  BlueCloth
40  
-  exchanger!
41  
-  i18n
42  
-  rake
43  
-  rcov
44  
-  rspec (~> 2.6.0)
45  
-  tzinfo
46  
-  yard
22  README.md
Source Rendered
... ...
@@ -1,6 +1,8 @@
1 1
 Exchanger
2 2
 =========
3 3
 
  4
+[![Continuous Integration status](https://secure.travis-ci.org/ebeigarts/exchanger.png)](http://travis-ci.org/ebeigarts/exchanger)
  5
+
4 6
 Ruby library for accessing Microsoft Exchange using Exchange Web Services.
5 7
 This library tries to make creating and updating items as easy as possible.
6 8
 It will keep track of changed properties and will update only them.
@@ -63,6 +65,26 @@ Searching in Global Address Book
63 65
 mailboxes = Exchanger::Mailbox.search("John")
64 66
 ```
65 67
 
  68
+Running specs with Exchange Server
  69
+==================================
  70
+
  71
+The easiest way is to sign up for a Microsoft Office 365 free trial.
  72
+
  73
+1. Create a random calendar entry in July 2016
  74
+2. Create a distribution list named 'Test'
  75
+3. Create `spec/config.yml` with your Exchange credentials
  76
+4. Create `spec/fixtures/get_user_availability.yml` with your Exchange email address
  77
+5. Clear the recorded VCR cassettes by removing `spec/cassettes`
  78
+6. Run the specs `rake spec`
  79
+
  80
+It looks like Office 365 trial has some rate limits,
  81
+so you may have to record the VCR cassettes for each spec separately.
  82
+
  83
+```
  84
+Exchanger::Operation::ResponseError:
  85
+  An internal server error occurred. Try again later.
  86
+```
  87
+
66 88
 Alternatives
67 89
 ============
68 90
 
6  exchanger.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9 9
   s.version     = Exchanger::VERSION
10 10
   s.platform    = Gem::Platform::RUBY
11 11
   s.authors     = ["Edgars Beigarts"]
12  
-  s.email       = "1@wb4.lv"
  12
+  s.email       = "edgars.beigarts@gmail.com"
13 13
   s.homepage    = "http://github.com/ebeigarts/exchanger"
14 14
   s.description = %q{Ruby library for accessing Microsoft Exchange using Exchange Web Services}
15 15
   s.summary     = s.description
@@ -24,10 +24,12 @@ Gem::Specification.new do |s|
24 24
   s.add_development_dependency "rake"
25 25
   s.add_development_dependency "i18n" # required by activesupport
26 26
   s.add_development_dependency "rspec", ["~> 2.6.0"]
27  
-  s.add_development_dependency "rcov"
  27
+  s.add_development_dependency "simplecov"
28 28
   s.add_development_dependency "yard"
29 29
   s.add_development_dependency "BlueCloth" # required by yard
30 30
   s.add_development_dependency "tzinfo"
  31
+  s.add_development_dependency "vcr", ["~> 2.2.5"]
  32
+  s.add_development_dependency "webmock", ["~> 1.8.11"]
31 33
 
32 34
   s.files          = Dir.glob("{lib,spec}/**/*") + %w(README.md LICENSE)
33 35
   s.require_paths  = ["lib"]
4  lib/exchanger/persistence.rb
... ...
@@ -1,5 +1,9 @@
1 1
 module Exchanger
2 2
   module Persistence
  3
+    def persisted?
  4
+      not new_record?
  5
+    end
  6
+
3 7
     def new_record?
4 8
       not id
5 9
     end
26  spec/calendar_item_spec.rb
... ...
@@ -1,26 +0,0 @@
1  
-require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2  
-
3  
-describe Exchanger::CalendarFolder do
4  
-  before do
5  
-    @folder = Exchanger::Folder.find(:calendar)
6  
-  end
7  
-
8  
-  it "should return calendar folder" do
9  
-    @folder.class.should == Exchanger::CalendarFolder
10  
-  end
11  
-
12  
-  it "should have calendar items" do
13  
-    @folder.items.size.should > 0
14  
-  end
15  
-end
16  
-
17  
-describe Exchanger::CalendarItem do
18  
-  before do
19  
-    @folder = Exchanger::Folder.find(:calendar)
20  
-    @item = @folder.items.first
21  
-  end
22  
-
23  
-  it "should have start time" do
24  
-    @item.start.class.should == Time
25  
-  end
26  
-end
58  spec/cassettes/contact/destroy.yml
... ...
@@ -0,0 +1,58 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
  9
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
  10
+        xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n  <soap:Body>\n    <DeleteItem
  11
+        xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\" DeleteType=\"HardDelete\">\n
  12
+        \     <ItemIds>\n        <t:ItemId Id=\"AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4QAAA==\"/>\n
  13
+        \     </ItemIds>\n    </DeleteItem>\n  </soap:Body>\n</soap:Envelope>\n"
  14
+    headers:
  15
+      Soapaction:
  16
+      - http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem
  17
+      Content-Type:
  18
+      - text/xml; charset=utf-8
  19
+      Authorization:
  20
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  21
+  response:
  22
+    status:
  23
+      code: 200
  24
+      message: OK
  25
+    headers:
  26
+      Cache-Control:
  27
+      - private
  28
+      Transfer-Encoding:
  29
+      - chunked
  30
+      Content-Type:
  31
+      - text/xml; charset=utf-8
  32
+      Server:
  33
+      - Microsoft-IIS/7.5
  34
+      Requestid:
  35
+      - 071b403f-65af-4951-84a1-86bedecb925a
  36
+      Set-Cookie:
  37
+      - exchangecookie=e376048b1e0346b7a76245c10898841a; expires=Fri, 11-Oct-2013
  38
+        19:19:23 GMT; path=/; HttpOnly
  39
+      X-Aspnet-Version:
  40
+      - 2.0.50727
  41
+      X-Powered-By:
  42
+      - ASP.NET
  43
+      X-Diaginfo:
  44
+      - AMSPRD0710CA021
  45
+      Date:
  46
+      - Thu, 11 Oct 2012 19:19:23 GMT
  47
+    body:
  48
+      encoding: US-ASCII
  49
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  50
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  51
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  52
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  53
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:DeleteItemResponse
  54
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:DeleteItemResponseMessage
  55
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode></m:DeleteItemResponseMessage></m:ResponseMessages></m:DeleteItemResponse></s:Body></s:Envelope>
  56
+    http_version: 
  57
+  recorded_at: Thu, 11 Oct 2012 19:19:23 GMT
  58
+recorded_with: VCR 2.2.5
61  spec/cassettes/contact/destroy_setup.yml
... ...
@@ -0,0 +1,61 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
  9
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
  10
+        xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n  <soap:Body>\n    <CreateItem
  11
+        xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\">\n
  12
+        \     <SavedItemFolderId>\n        <t:FolderId Id=\"AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA\"/>\n
  13
+        \     </SavedItemFolderId>\n      <Items>\n        <t:Contact/>\n      </Items>\n
  14
+        \   </CreateItem>\n  </soap:Body>\n</soap:Envelope>\n"
  15
+    headers:
  16
+      Soapaction:
  17
+      - http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem
  18
+      Content-Type:
  19
+      - text/xml; charset=utf-8
  20
+      Authorization:
  21
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  22
+  response:
  23
+    status:
  24
+      code: 200
  25
+      message: OK
  26
+    headers:
  27
+      Cache-Control:
  28
+      - private
  29
+      Transfer-Encoding:
  30
+      - chunked
  31
+      Content-Type:
  32
+      - text/xml; charset=utf-8
  33
+      Server:
  34
+      - Microsoft-IIS/7.5
  35
+      Requestid:
  36
+      - 07fa3a7f-6a09-4770-b26f-c0e066196b74
  37
+      Set-Cookie:
  38
+      - exchangecookie=5c2328ab96444ff1a4d39c1e0ea7239b; expires=Fri, 11-Oct-2013
  39
+        19:19:23 GMT; path=/; HttpOnly
  40
+      X-Aspnet-Version:
  41
+      - 2.0.50727
  42
+      X-Powered-By:
  43
+      - ASP.NET
  44
+      X-Diaginfo:
  45
+      - AMSPRD0710CA006
  46
+      Date:
  47
+      - Thu, 11 Oct 2012 19:19:22 GMT
  48
+    body:
  49
+      encoding: US-ASCII
  50
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  51
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  52
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  53
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  54
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:CreateItemResponse
  55
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:CreateItemResponseMessage
  56
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:Contact><t:ItemId
  57
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4QAAA=="
  58
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+v"/></t:Contact></m:Items></m:CreateItemResponseMessage></m:ResponseMessages></m:CreateItemResponse></s:Body></s:Envelope>
  59
+    http_version: 
  60
+  recorded_at: Thu, 11 Oct 2012 19:19:23 GMT
  61
+recorded_with: VCR 2.2.5
119  spec/cassettes/contact/find.yml
... ...
@@ -0,0 +1,119 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
  9
+        \ <soap:Body>\n    <GetItem xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
  10
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n      <ItemShape>\n
  11
+        \       <t:BaseShape>AllProperties</t:BaseShape>\n      </ItemShape>\n      <ItemIds>\n
  12
+        \       <t:ItemId Id=\"AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4UAAA==\"/>\n
  13
+        \     </ItemIds>\n    </GetItem>\n  </soap:Body>\n</soap:Envelope>\n"
  14
+    headers:
  15
+      Soapaction:
  16
+      - http://schemas.microsoft.com/exchange/services/2006/messages/GetItem
  17
+      Content-Type:
  18
+      - text/xml; charset=utf-8
  19
+      Authorization:
  20
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  21
+  response:
  22
+    status:
  23
+      code: 200
  24
+      message: OK
  25
+    headers:
  26
+      Cache-Control:
  27
+      - private
  28
+      Transfer-Encoding:
  29
+      - chunked
  30
+      Content-Type:
  31
+      - text/xml; charset=utf-8
  32
+      Server:
  33
+      - Microsoft-IIS/7.5
  34
+      Requestid:
  35
+      - 8ec07db1-033c-4813-ba49-83b9bc554c22
  36
+      Set-Cookie:
  37
+      - exchangecookie=039a3702ca6b4db89806e742c4a8cec8; expires=Fri, 11-Oct-2013
  38
+        19:19:34 GMT; path=/; HttpOnly
  39
+      X-Aspnet-Version:
  40
+      - 2.0.50727
  41
+      X-Powered-By:
  42
+      - ASP.NET
  43
+      X-Diaginfo:
  44
+      - AMSPRD0710CA022
  45
+      Date:
  46
+      - Thu, 11 Oct 2012 19:19:33 GMT
  47
+    body:
  48
+      encoding: US-ASCII
  49
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  50
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  51
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  52
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  53
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetItemResponse
  54
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetItemResponseMessage
  55
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:Contact><t:ItemId
  56
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4UAAA=="
  57
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+z"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  58
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:Body
  59
+        BodyType="Text"/><t:DateTimeReceived>2012-10-11T19:19:33Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:19:33Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:19:33Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact></m:Items></m:GetItemResponseMessage></m:ResponseMessages></m:GetItemResponse></s:Body></s:Envelope>
  60
+    http_version: 
  61
+  recorded_at: Thu, 11 Oct 2012 19:19:33 GMT
  62
+- request:
  63
+    method: post
  64
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  65
+    body:
  66
+      encoding: US-ASCII
  67
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
  68
+        \ <soap:Body>\n    <GetFolder xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
  69
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n      <FolderShape>\n
  70
+        \       <t:BaseShape>Default</t:BaseShape>\n      </FolderShape>\n      <FolderIds>\n
  71
+        \       <t:FolderId Id=\"AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA\"/>\n
  72
+        \     </FolderIds>\n    </GetFolder>\n  </soap:Body>\n</soap:Envelope>\n"
  73
+    headers:
  74
+      Soapaction:
  75
+      - http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder
  76
+      Content-Type:
  77
+      - text/xml; charset=utf-8
  78
+      Authorization:
  79
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  80
+  response:
  81
+    status:
  82
+      code: 200
  83
+      message: OK
  84
+    headers:
  85
+      Cache-Control:
  86
+      - private
  87
+      Transfer-Encoding:
  88
+      - chunked
  89
+      Content-Type:
  90
+      - text/xml; charset=utf-8
  91
+      Server:
  92
+      - Microsoft-IIS/7.5
  93
+      Requestid:
  94
+      - e5ab9ace-fd46-4b92-a9a2-3eb003bc0e5f
  95
+      Set-Cookie:
  96
+      - exchangecookie=ab3d13823795478fbd1ea7156aaaca84; expires=Fri, 11-Oct-2013
  97
+        19:19:34 GMT; path=/; HttpOnly
  98
+      X-Aspnet-Version:
  99
+      - 2.0.50727
  100
+      X-Powered-By:
  101
+      - ASP.NET
  102
+      X-Diaginfo:
  103
+      - AMSPRD0710CA008
  104
+      Date:
  105
+      - Thu, 11 Oct 2012 19:19:34 GMT
  106
+    body:
  107
+      encoding: US-ASCII
  108
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  109
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  110
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  111
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  112
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetFolderResponse
  113
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetFolderResponseMessage
  114
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Folders><t:ContactsFolder><t:FolderId
  115
+        Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  116
+        ChangeKey="AwAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3C"/><t:DisplayName>Contacts</t:DisplayName><t:TotalCount>7</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount></t:ContactsFolder></m:Folders></m:GetFolderResponseMessage></m:ResponseMessages></m:GetFolderResponse></s:Body></s:Envelope>
  117
+    http_version: 
  118
+  recorded_at: Thu, 11 Oct 2012 19:19:34 GMT
  119
+recorded_with: VCR 2.2.5
61  spec/cassettes/contact/find_setup.yml
... ...
@@ -0,0 +1,61 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
  9
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
  10
+        xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n  <soap:Body>\n    <CreateItem
  11
+        xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\">\n
  12
+        \     <SavedItemFolderId>\n        <t:FolderId Id=\"AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA\"/>\n
  13
+        \     </SavedItemFolderId>\n      <Items>\n        <t:Contact/>\n      </Items>\n
  14
+        \   </CreateItem>\n  </soap:Body>\n</soap:Envelope>\n"
  15
+    headers:
  16
+      Soapaction:
  17
+      - http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem
  18
+      Content-Type:
  19
+      - text/xml; charset=utf-8
  20
+      Authorization:
  21
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  22
+  response:
  23
+    status:
  24
+      code: 200
  25
+      message: OK
  26
+    headers:
  27
+      Cache-Control:
  28
+      - private
  29
+      Transfer-Encoding:
  30
+      - chunked
  31
+      Content-Type:
  32
+      - text/xml; charset=utf-8
  33
+      Server:
  34
+      - Microsoft-IIS/7.5
  35
+      Requestid:
  36
+      - 95fe0cab-b35a-4112-a481-dc24ce73377c
  37
+      Set-Cookie:
  38
+      - exchangecookie=4975e973e3964b76b336f00fb1b24fcb; expires=Fri, 11-Oct-2013
  39
+        19:19:33 GMT; path=/; HttpOnly
  40
+      X-Aspnet-Version:
  41
+      - 2.0.50727
  42
+      X-Powered-By:
  43
+      - ASP.NET
  44
+      X-Diaginfo:
  45
+      - AMSPRD0710CA002
  46
+      Date:
  47
+      - Thu, 11 Oct 2012 19:19:32 GMT
  48
+    body:
  49
+      encoding: US-ASCII
  50
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  51
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  52
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  53
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  54
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:CreateItemResponse
  55
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:CreateItemResponseMessage
  56
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:Contact><t:ItemId
  57
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4UAAA=="
  58
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+z"/></t:Contact></m:Items></m:CreateItemResponseMessage></m:ResponseMessages></m:CreateItemResponse></s:Body></s:Envelope>
  59
+    http_version: 
  60
+  recorded_at: Thu, 11 Oct 2012 19:19:33 GMT
  61
+recorded_with: VCR 2.2.5
399  spec/cassettes/contact/save.yml
... ...
@@ -0,0 +1,399 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
  9
+        \ <soap:Body>\n    <FindItem xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
  10
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" Traversal=\"Shallow\">\n
  11
+        \     <ItemShape>\n        <t:BaseShape>AllProperties</t:BaseShape>\n      </ItemShape>\n
  12
+        \     <ParentFolderIds>\n        <t:FolderId Id=\"AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA\"/>\n
  13
+        \     </ParentFolderIds>\n    </FindItem>\n  </soap:Body>\n</soap:Envelope>\n"
  14
+    headers:
  15
+      Soapaction:
  16
+      - http://schemas.microsoft.com/exchange/services/2006/messages/FindItem
  17
+      Content-Type:
  18
+      - text/xml; charset=utf-8
  19
+      Authorization:
  20
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  21
+  response:
  22
+    status:
  23
+      code: 200
  24
+      message: OK
  25
+    headers:
  26
+      Cache-Control:
  27
+      - private
  28
+      Transfer-Encoding:
  29
+      - chunked
  30
+      Content-Type:
  31
+      - text/xml; charset=utf-8
  32
+      Server:
  33
+      - Microsoft-IIS/7.5
  34
+      Requestid:
  35
+      - bec55c2b-a862-4485-8a5b-31f64eca442e
  36
+      Set-Cookie:
  37
+      - exchangecookie=52597437df324701869ab491e290435a; expires=Fri, 11-Oct-2013
  38
+        19:19:43 GMT; path=/; HttpOnly
  39
+      X-Aspnet-Version:
  40
+      - 2.0.50727
  41
+      X-Powered-By:
  42
+      - ASP.NET
  43
+      X-Diaginfo:
  44
+      - AMSPRD0710CA013
  45
+      Date:
  46
+      - Thu, 11 Oct 2012 19:19:42 GMT
  47
+    body:
  48
+      encoding: US-ASCII
  49
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  50
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  51
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  52
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  53
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:FindItemResponse
  54
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:FindItemResponseMessage
  55
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:RootFolder
  56
+        TotalItemsInView="7" IncludesLastItemInRange="true"><t:Items><t:Contact><t:ItemId
  57
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4UAAA=="
  58
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+z"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  59
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:19:33Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:19:33Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:19:33Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  60
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4MAAA=="
  61
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+t"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  62
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:12:06Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:12:06Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:12:06Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  63
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4AAAA=="
  64
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+i"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  65
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:03:22Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:03:22Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:03:22Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  66
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa38AAA=="
  67
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+g"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  68
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:03:21Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:03:21Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:03:21Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  69
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa34AAA=="
  70
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+e"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  71
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:01:56Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:01:56Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:01:56Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  72
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa3oAAA=="
  73
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+Q"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  74
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject>Edgars
  75
+        Beigarts</t:Subject><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T18:57:35Z</t:DateTimeReceived><t:Size>527</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T18:57:35Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T18:57:35Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName>Edgars
  76
+        Beigarts</t:DisplayName><t:GivenName>Edgars</t:GivenName><t:Nickname>Test</t:Nickname><t:CompleteName><t:FirstName>Edgars</t:FirstName><t:LastName>Beigarts</t:LastName><t:FullName>Edgars
  77
+        Beigarts</t:FullName><t:Nickname>Test</t:Nickname></t:CompleteName><t:EmailAddresses><t:Entry
  78
+        Key="EmailAddress1">edgars.beigarts@tieto.com</t:Entry></t:EmailAddresses><t:PhysicalAddresses><t:Entry
  79
+        Key="Business"><t:Street>Brivibas iela 1</t:Street><t:City>Riga</t:City></t:Entry></t:PhysicalAddresses><t:Surname>Beigarts</t:Surname></t:Contact><t:Contact><t:ItemId
  80
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa3gAAA=="
  81
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+J"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  82
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject>Edgars
  83
+        Beigarts</t:Subject><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T18:57:18Z</t:DateTimeReceived><t:Size>569</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T18:57:18Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T18:57:18Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName>Edgars
  84
+        Beigarts</t:DisplayName><t:GivenName>Edgars</t:GivenName><t:Nickname>EBEI</t:Nickname><t:CompleteName><t:FirstName>Edgars</t:FirstName><t:LastName>Beigarts</t:LastName><t:FullName>Edgars
  85
+        Beigarts</t:FullName><t:Nickname>EBEI</t:Nickname></t:CompleteName><t:EmailAddresses><t:Entry
  86
+        Key="EmailAddress1">edgars.beigarts@tieto.com</t:Entry></t:EmailAddresses><t:PhysicalAddresses><t:Entry
  87
+        Key="Business"><t:Street>Brivibas iela 1</t:Street><t:City>Riga</t:City></t:Entry><t:Entry
  88
+        Key="Home"><t:Street>Brivibas iela 2</t:Street><t:City>Riga</t:City></t:Entry></t:PhysicalAddresses><t:Surname>Beigarts</t:Surname></t:Contact></t:Items></m:RootFolder></m:FindItemResponseMessage></m:ResponseMessages></m:FindItemResponse></s:Body></s:Envelope>
  89
+    http_version: 
  90
+  recorded_at: Thu, 11 Oct 2012 19:19:43 GMT
  91
+- request:
  92
+    method: post
  93
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  94
+    body:
  95
+      encoding: US-ASCII
  96
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
  97
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
  98
+        xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n  <soap:Body>\n    <CreateItem
  99
+        xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\">\n
  100
+        \     <SavedItemFolderId>\n        <t:FolderId Id=\"AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA\"/>\n
  101
+        \     </SavedItemFolderId>\n      <Items>\n        <t:Contact>\n  <t:GivenName>Edgars</t:GivenName>\n
  102
+        \ <t:Nickname>EBEI</t:Nickname>\n  <t:EmailAddresses>\n    <t:Entry Key=\"EmailAddress1\">edgars.beigarts@tieto.com</t:Entry>\n
  103
+        \ </t:EmailAddresses>\n  <t:PhysicalAddresses>\n    <t:Entry Key=\"Business\">\n
  104
+        \     <t:Street>Brivibas iela 1</t:Street>\n      <t:City>Riga</t:City>\n
  105
+        \   </t:Entry>\n    <t:Entry Key=\"Home\">\n      <t:Street>Brivibas iela
  106
+        2</t:Street>\n      <t:City>Riga</t:City>\n    </t:Entry>\n  </t:PhysicalAddresses>\n
  107
+        \ <t:Surname>Beigarts</t:Surname>\n</t:Contact>\n      </Items>\n    </CreateItem>\n
  108
+        \ </soap:Body>\n</soap:Envelope>\n"
  109
+    headers:
  110
+      Soapaction:
  111
+      - http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem
  112
+      Content-Type:
  113
+      - text/xml; charset=utf-8
  114
+      Authorization:
  115
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  116
+  response:
  117
+    status:
  118
+      code: 200
  119
+      message: OK
  120
+    headers:
  121
+      Cache-Control:
  122
+      - private
  123
+      Transfer-Encoding:
  124
+      - chunked
  125
+      Content-Type:
  126
+      - text/xml; charset=utf-8
  127
+      Server:
  128
+      - Microsoft-IIS/7.5
  129
+      Requestid:
  130
+      - a59c5f25-10f4-46d9-a28d-8b069fb9e9dd
  131
+      Set-Cookie:
  132
+      - exchangecookie=6fb51f7c7dd242a88710b59ce1f190aa; expires=Fri, 11-Oct-2013
  133
+        19:19:44 GMT; path=/; HttpOnly
  134
+      X-Aspnet-Version:
  135
+      - 2.0.50727
  136
+      X-Powered-By:
  137
+      - ASP.NET
  138
+      X-Diaginfo:
  139
+      - AMSPRD0710CA007
  140
+      Date:
  141
+      - Thu, 11 Oct 2012 19:19:43 GMT
  142
+    body:
  143
+      encoding: US-ASCII
  144
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  145
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  146
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  147
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  148
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:CreateItemResponse
  149
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:CreateItemResponseMessage
  150
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:Contact><t:ItemId
  151
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4YAAA=="
  152
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+1"/></t:Contact></m:Items></m:CreateItemResponseMessage></m:ResponseMessages></m:CreateItemResponse></s:Body></s:Envelope>
  153
+    http_version: 
  154
+  recorded_at: Thu, 11 Oct 2012 19:19:43 GMT
  155
+- request:
  156
+    method: post
  157
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  158
+    body:
  159
+      encoding: US-ASCII
  160
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
  161
+        \ <soap:Body>\n    <GetItem xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
  162
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n      <ItemShape>\n
  163
+        \       <t:BaseShape>AllProperties</t:BaseShape>\n      </ItemShape>\n      <ItemIds>\n
  164
+        \       <t:ItemId Id=\"AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4YAAA==\"/>\n
  165
+        \     </ItemIds>\n    </GetItem>\n  </soap:Body>\n</soap:Envelope>\n"
  166
+    headers:
  167
+      Soapaction:
  168
+      - http://schemas.microsoft.com/exchange/services/2006/messages/GetItem
  169
+      Content-Type:
  170
+      - text/xml; charset=utf-8
  171
+      Authorization:
  172
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  173
+  response:
  174
+    status:
  175
+      code: 200
  176
+      message: OK
  177
+    headers:
  178
+      Cache-Control:
  179
+      - private
  180
+      Transfer-Encoding:
  181
+      - chunked
  182
+      Content-Type:
  183
+      - text/xml; charset=utf-8
  184
+      Server:
  185
+      - Microsoft-IIS/7.5
  186
+      Requestid:
  187
+      - 752eaa19-5a15-4f73-a347-fbbb6c360ec9
  188
+      Set-Cookie:
  189
+      - exchangecookie=93c7ef3424a14812aca55bdd2902d117; expires=Fri, 11-Oct-2013
  190
+        19:19:44 GMT; path=/; HttpOnly
  191
+      X-Aspnet-Version:
  192
+      - 2.0.50727
  193
+      X-Powered-By:
  194
+      - ASP.NET
  195
+      X-Diaginfo:
  196
+      - AMSPRD0710CA010
  197
+      Date:
  198
+      - Thu, 11 Oct 2012 19:19:44 GMT
  199
+    body:
  200
+      encoding: US-ASCII
  201
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  202
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  203
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  204
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  205
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetItemResponse
  206
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetItemResponseMessage
  207
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:Contact><t:ItemId
  208
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4YAAA=="
  209
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+1"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  210
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject>Edgars
  211
+        Beigarts</t:Subject><t:Sensitivity>Normal</t:Sensitivity><t:Body BodyType="Text"/><t:DateTimeReceived>2012-10-11T19:19:44Z</t:DateTimeReceived><t:Size>569</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:19:44Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:19:44Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName>Edgars
  212
+        Beigarts</t:DisplayName><t:GivenName>Edgars</t:GivenName><t:Nickname>EBEI</t:Nickname><t:CompleteName><t:FirstName>Edgars</t:FirstName><t:LastName>Beigarts</t:LastName><t:FullName>Edgars
  213
+        Beigarts</t:FullName><t:Nickname>EBEI</t:Nickname></t:CompleteName><t:EmailAddresses><t:Entry
  214
+        Key="EmailAddress1">edgars.beigarts@tieto.com</t:Entry></t:EmailAddresses><t:PhysicalAddresses><t:Entry
  215
+        Key="Business"><t:Street>Brivibas iela 1</t:Street><t:City>Riga</t:City></t:Entry><t:Entry
  216
+        Key="Home"><t:Street>Brivibas iela 2</t:Street><t:City>Riga</t:City></t:Entry></t:PhysicalAddresses><t:Surname>Beigarts</t:Surname></t:Contact></m:Items></m:GetItemResponseMessage></m:ResponseMessages></m:GetItemResponse></s:Body></s:Envelope>
  217
+    http_version: 
  218
+  recorded_at: Thu, 11 Oct 2012 19:19:44 GMT
  219
+- request:
  220
+    method: post
  221
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  222
+    body:
  223
+      encoding: US-ASCII
  224
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
  225
+        \ <soap:Body>\n    <FindItem xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
  226
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" Traversal=\"Shallow\">\n
  227
+        \     <ItemShape>\n        <t:BaseShape>AllProperties</t:BaseShape>\n      </ItemShape>\n
  228
+        \     <ParentFolderIds>\n        <t:FolderId Id=\"AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA\"/>\n
  229
+        \     </ParentFolderIds>\n    </FindItem>\n  </soap:Body>\n</soap:Envelope>\n"
  230
+    headers:
  231
+      Soapaction:
  232
+      - http://schemas.microsoft.com/exchange/services/2006/messages/FindItem
  233
+      Content-Type:
  234
+      - text/xml; charset=utf-8
  235
+      Authorization:
  236
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  237
+  response:
  238
+    status:
  239
+      code: 200
  240
+      message: OK
  241
+    headers:
  242
+      Cache-Control:
  243
+      - private
  244
+      Transfer-Encoding:
  245
+      - chunked
  246
+      Content-Type:
  247
+      - text/xml; charset=utf-8
  248
+      Server:
  249
+      - Microsoft-IIS/7.5
  250
+      Requestid:
  251
+      - 70d7bafb-b1b0-418f-a467-49626356ada6
  252
+      Set-Cookie:
  253
+      - exchangecookie=2ec6fd49b35f4f148f1da8ccac197b60; expires=Fri, 11-Oct-2013
  254
+        19:19:45 GMT; path=/; HttpOnly
  255
+      X-Aspnet-Version:
  256
+      - 2.0.50727
  257
+      X-Powered-By:
  258
+      - ASP.NET
  259
+      X-Diaginfo:
  260
+      - AMSPRD0710CA020
  261
+      Date:
  262
+      - Thu, 11 Oct 2012 19:19:44 GMT
  263
+    body:
  264
+      encoding: US-ASCII
  265
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  266
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  267
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  268
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  269
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:FindItemResponse
  270
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:FindItemResponseMessage
  271
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:RootFolder
  272
+        TotalItemsInView="8" IncludesLastItemInRange="true"><t:Items><t:Contact><t:ItemId
  273
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4YAAA=="
  274
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+1"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  275
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject>Edgars
  276
+        Beigarts</t:Subject><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:19:44Z</t:DateTimeReceived><t:Size>569</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:19:44Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:19:44Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName>Edgars
  277
+        Beigarts</t:DisplayName><t:GivenName>Edgars</t:GivenName><t:Nickname>EBEI</t:Nickname><t:CompleteName><t:FirstName>Edgars</t:FirstName><t:LastName>Beigarts</t:LastName><t:FullName>Edgars
  278
+        Beigarts</t:FullName><t:Nickname>EBEI</t:Nickname></t:CompleteName><t:EmailAddresses><t:Entry
  279
+        Key="EmailAddress1">edgars.beigarts@tieto.com</t:Entry></t:EmailAddresses><t:PhysicalAddresses><t:Entry
  280
+        Key="Business"><t:Street>Brivibas iela 1</t:Street><t:City>Riga</t:City></t:Entry><t:Entry
  281
+        Key="Home"><t:Street>Brivibas iela 2</t:Street><t:City>Riga</t:City></t:Entry></t:PhysicalAddresses><t:Surname>Beigarts</t:Surname></t:Contact><t:Contact><t:ItemId
  282
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4UAAA=="
  283
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+z"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  284
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:19:33Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:19:33Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:19:33Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  285
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4MAAA=="
  286
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+t"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  287
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:12:06Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:12:06Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:12:06Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  288
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4AAAA=="
  289
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+i"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  290
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:03:22Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:03:22Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:03:22Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  291
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa38AAA=="
  292
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+g"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  293
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:03:21Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:03:21Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:03:21Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  294
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa34AAA=="
  295
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+e"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  296
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject/><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T19:01:56Z</t:DateTimeReceived><t:Size>147</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T19:01:56Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T19:01:56Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName/></t:Contact><t:Contact><t:ItemId
  297
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa3oAAA=="
  298
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+Q"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  299
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject>Edgars
  300
+        Beigarts</t:Subject><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T18:57:35Z</t:DateTimeReceived><t:Size>527</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T18:57:35Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T18:57:35Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName>Edgars
  301
+        Beigarts</t:DisplayName><t:GivenName>Edgars</t:GivenName><t:Nickname>Test</t:Nickname><t:CompleteName><t:FirstName>Edgars</t:FirstName><t:LastName>Beigarts</t:LastName><t:FullName>Edgars
  302
+        Beigarts</t:FullName><t:Nickname>Test</t:Nickname></t:CompleteName><t:EmailAddresses><t:Entry
  303
+        Key="EmailAddress1">edgars.beigarts@tieto.com</t:Entry></t:EmailAddresses><t:PhysicalAddresses><t:Entry
  304
+        Key="Business"><t:Street>Brivibas iela 1</t:Street><t:City>Riga</t:City></t:Entry></t:PhysicalAddresses><t:Surname>Beigarts</t:Surname></t:Contact><t:Contact><t:ItemId
  305
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa3gAAA=="
  306
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+J"/><t:ParentFolderId Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  307
+        ChangeKey="AQAAAA=="/><t:ItemClass>IPM.Contact</t:ItemClass><t:Subject>Edgars
  308
+        Beigarts</t:Subject><t:Sensitivity>Normal</t:Sensitivity><t:DateTimeReceived>2012-10-11T18:57:18Z</t:DateTimeReceived><t:Size>569</t:Size><t:Importance>Normal</t:Importance><t:IsSubmitted>false</t:IsSubmitted><t:IsDraft>true</t:IsDraft><t:IsFromMe>false</t:IsFromMe><t:IsResend>false</t:IsResend><t:IsUnmodified>false</t:IsUnmodified><t:DateTimeSent>2012-10-11T18:57:18Z</t:DateTimeSent><t:DateTimeCreated>2012-10-11T18:57:18Z</t:DateTimeCreated><t:DisplayCc/><t:DisplayTo/><t:HasAttachments>false</t:HasAttachments><t:Culture>en-US</t:Culture><t:FileAs/><t:FileAsMapping>None</t:FileAsMapping><t:DisplayName>Edgars
  309
+        Beigarts</t:DisplayName><t:GivenName>Edgars</t:GivenName><t:Nickname>EBEI</t:Nickname><t:CompleteName><t:FirstName>Edgars</t:FirstName><t:LastName>Beigarts</t:LastName><t:FullName>Edgars
  310
+        Beigarts</t:FullName><t:Nickname>EBEI</t:Nickname></t:CompleteName><t:EmailAddresses><t:Entry
  311
+        Key="EmailAddress1">edgars.beigarts@tieto.com</t:Entry></t:EmailAddresses><t:PhysicalAddresses><t:Entry
  312
+        Key="Business"><t:Street>Brivibas iela 1</t:Street><t:City>Riga</t:City></t:Entry><t:Entry
  313
+        Key="Home"><t:Street>Brivibas iela 2</t:Street><t:City>Riga</t:City></t:Entry></t:PhysicalAddresses><t:Surname>Beigarts</t:Surname></t:Contact></t:Items></m:RootFolder></m:FindItemResponseMessage></m:ResponseMessages></m:FindItemResponse></s:Body></s:Envelope>
  314
+    http_version: 
  315
+  recorded_at: Thu, 11 Oct 2012 19:19:44 GMT
  316
+- request:
  317
+    method: post
  318
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  319
+    body:
  320
+      encoding: US-ASCII
  321
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
  322
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
  323
+        xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n  <soap:Body>\n    <UpdateItem
  324
+        xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\" ConflictResolution=\"AlwaysOverwrite\">\n
  325
+        \     <ItemChanges>\n        <t:ItemChange>\n  <t:ItemId Id=\"AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4YAAA==\"
  326
+        ChangeKey=\"EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+1\"/>\n  <t:Updates>\n
  327
+        \   <t:SetItemField>\n      <t:FieldURI FieldURI=\"contacts:Nickname\"/>\n
  328
+        \     <t:Contact>\n        <t:Nickname>Test</t:Nickname>\n      </t:Contact>\n
  329
+        \   </t:SetItemField>\n    <t:SetItemField>\n      <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:Street\"
  330
+        FieldIndex=\"Business\"/>\n      <t:Contact>\n        <t:PhysicalAddresses>\n
  331
+        \         <t:Entry Key=\"Business\">\n            <t:Street>Brivibas iela
  332
+        1</t:Street>\n          </t:Entry>\n        </t:PhysicalAddresses>\n      </t:Contact>\n
  333
+        \   </t:SetItemField>\n    <t:SetItemField>\n      <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:City\"
  334
+        FieldIndex=\"Business\"/>\n      <t:Contact>\n        <t:PhysicalAddresses>\n
  335
+        \         <t:Entry Key=\"Business\">\n            <t:City>Riga</t:City>\n
  336
+        \         </t:Entry>\n        </t:PhysicalAddresses>\n      </t:Contact>\n
  337
+        \   </t:SetItemField>\n    <t:DeleteItemField>\n      <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:State\"
  338
+        FieldIndex=\"Business\"/>\n    </t:DeleteItemField>\n    <t:DeleteItemField>\n
  339
+        \     <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:CountryOrRegion\"
  340
+        FieldIndex=\"Business\"/>\n    </t:DeleteItemField>\n    <t:DeleteItemField>\n
  341
+        \     <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:PostalCode\"
  342
+        FieldIndex=\"Business\"/>\n    </t:DeleteItemField>\n    <t:DeleteItemField>\n
  343
+        \     <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:Street\" FieldIndex=\"Home\"/>\n
  344
+        \   </t:DeleteItemField>\n    <t:DeleteItemField>\n      <t:IndexedFieldURI
  345
+        FieldURI=\"contacts:PhysicalAddress:City\" FieldIndex=\"Home\"/>\n    </t:DeleteItemField>\n
  346
+        \   <t:DeleteItemField>\n      <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:State\"
  347
+        FieldIndex=\"Home\"/>\n    </t:DeleteItemField>\n    <t:DeleteItemField>\n
  348
+        \     <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:CountryOrRegion\"
  349
+        FieldIndex=\"Home\"/>\n    </t:DeleteItemField>\n    <t:DeleteItemField>\n
  350
+        \     <t:IndexedFieldURI FieldURI=\"contacts:PhysicalAddress:PostalCode\"
  351
+        FieldIndex=\"Home\"/>\n    </t:DeleteItemField>\n  </t:Updates>\n</t:ItemChange>\n
  352
+        \     </ItemChanges>\n    </UpdateItem>\n  </soap:Body>\n</soap:Envelope>\n"
  353
+    headers:
  354
+      Soapaction:
  355
+      - http://schemas.microsoft.com/exchange/services/2006/messages/UpdateItem
  356
+      Content-Type:
  357
+      - text/xml; charset=utf-8
  358
+      Authorization:
  359
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  360
+  response:
  361
+    status:
  362
+      code: 200
  363
+      message: OK
  364
+    headers:
  365
+      Cache-Control:
  366
+      - private
  367
+      Transfer-Encoding:
  368
+      - chunked
  369
+      Content-Type:
  370
+      - text/xml; charset=utf-8
  371
+      Server:
  372
+      - Microsoft-IIS/7.5
  373
+      Requestid:
  374
+      - 5f31fafc-ee94-4c3e-8e37-bae9671f7113
  375
+      Set-Cookie:
  376
+      - exchangecookie=dddb8818d3374b7ca47706020a9fbfc4; expires=Fri, 11-Oct-2013
  377
+        19:19:45 GMT; path=/; HttpOnly
  378
+      X-Aspnet-Version:
  379
+      - 2.0.50727
  380
+      X-Powered-By:
  381
+      - ASP.NET
  382
+      X-Diaginfo:
  383
+      - AMSPRD0710CA016
  384
+      Date:
  385
+      - Thu, 11 Oct 2012 19:19:45 GMT
  386
+    body:
  387
+      encoding: US-ASCII
  388
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  389
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  390
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  391
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  392
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:UpdateItemResponse
  393
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:UpdateItemResponseMessage
  394
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Items><t:Contact><t:ItemId
  395
+        Id="AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4YAAA=="
  396
+        ChangeKey="EQAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARm+2"/></t:Contact></m:Items></m:UpdateItemResponseMessage></m:ResponseMessages></m:UpdateItemResponse></s:Body></s:Envelope>
  397
+    http_version: 
  398
+  recorded_at: Thu, 11 Oct 2012 19:19:45 GMT
  399
+recorded_with: VCR 2.2.5
58  spec/cassettes/contact/save_cleanup.yml
... ...
@@ -0,0 +1,58 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"
  9
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
  10
+        xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">\n  <soap:Body>\n    <DeleteItem
  11
+        xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\" DeleteType=\"HardDelete\">\n
  12
+        \     <ItemIds>\n        <t:ItemId Id=\"AAAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAEYAAAAAAFCCRZAuOKtKpGOhX84gI1gHAJoatVMmPNZLthU74SWegbgAAABF7aIAAJoatVMmPNZLthU74SWegbgAAABGa4YAAA==\"/>\n
  13
+        \     </ItemIds>\n    </DeleteItem>\n  </soap:Body>\n</soap:Envelope>\n"
  14
+    headers:
  15
+      Soapaction:
  16
+      - http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem
  17
+      Content-Type:
  18
+      - text/xml; charset=utf-8
  19
+      Authorization:
  20
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  21
+  response:
  22
+    status:
  23
+      code: 200
  24
+      message: OK
  25
+    headers:
  26
+      Cache-Control:
  27
+      - private
  28
+      Transfer-Encoding:
  29
+      - chunked
  30
+      Content-Type:
  31
+      - text/xml; charset=utf-8
  32
+      Server:
  33
+      - Microsoft-IIS/7.5
  34
+      Requestid:
  35
+      - 66b54450-321d-4ac8-afcc-c4cdb28ee1a9
  36
+      Set-Cookie:
  37
+      - exchangecookie=30e152f9fdf94926bb3a8d9d312983b2; expires=Fri, 11-Oct-2013
  38
+        19:19:46 GMT; path=/; HttpOnly
  39
+      X-Aspnet-Version:
  40
+      - 2.0.50727
  41
+      X-Powered-By:
  42
+      - ASP.NET
  43
+      X-Diaginfo:
  44
+      - AMSPRD0710CA004
  45
+      Date:
  46
+      - Thu, 11 Oct 2012 19:19:46 GMT
  47
+    body:
  48
+      encoding: US-ASCII
  49
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  50
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  51
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  52
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  53
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:DeleteItemResponse
  54
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:DeleteItemResponseMessage
  55
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode></m:DeleteItemResponseMessage></m:ResponseMessages></m:DeleteItemResponse></s:Body></s:Envelope>
  56
+    http_version: 
  57
+  recorded_at: Thu, 11 Oct 2012 19:19:45 GMT
  58
+recorded_with: VCR 2.2.5
60  spec/cassettes/folder/find_calendar.yml
... ...
@@ -0,0 +1,60 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
  9
+        \ <soap:Body>\n    <GetFolder xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
  10
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n      <FolderShape>\n
  11
+        \       <t:BaseShape>Default</t:BaseShape>\n      </FolderShape>\n      <FolderIds>\n
  12
+        \       <t:DistinguishedFolderId Id=\"calendar\"/>\n      </FolderIds>\n    </GetFolder>\n
  13
+        \ </soap:Body>\n</soap:Envelope>\n"
  14
+    headers:
  15
+      Soapaction:
  16
+      - http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder
  17
+      Content-Type:
  18
+      - text/xml; charset=utf-8
  19
+      Authorization:
  20
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  21
+  response:
  22
+    status:
  23
+      code: 200
  24
+      message: OK
  25
+    headers:
  26
+      Cache-Control:
  27
+      - private
  28
+      Transfer-Encoding:
  29
+      - chunked
  30
+      Content-Type:
  31
+      - text/xml; charset=utf-8
  32
+      Server:
  33
+      - Microsoft-IIS/7.5
  34
+      Requestid:
  35
+      - 56ded872-6c51-47fa-acfa-b3aa88c55c52
  36
+      Set-Cookie:
  37
+      - exchangecookie=a294c6d2503b4af2acab2ab6195297e4; expires=Fri, 11-Oct-2013
  38
+        19:33:54 GMT; path=/; HttpOnly
  39
+      X-Aspnet-Version:
  40
+      - 2.0.50727
  41
+      X-Powered-By:
  42
+      - ASP.NET
  43
+      X-Diaginfo:
  44
+      - AMSPRD0710CA014
  45
+      Date:
  46
+      - Thu, 11 Oct 2012 19:33:54 GMT
  47
+    body:
  48
+      encoding: US-ASCII
  49
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  50
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  51
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  52
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  53
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetFolderResponse
  54
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetFolderResponseMessage
  55
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Folders><t:CalendarFolder><t:FolderId
  56
+        Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2hAAAA"
  57
+        ChangeKey="AgAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3B"/><t:DisplayName>Calendar</t:DisplayName><t:ChildFolderCount>0</t:ChildFolderCount></t:CalendarFolder></m:Folders></m:GetFolderResponseMessage></m:ResponseMessages></m:GetFolderResponse></s:Body></s:Envelope>
  58
+    http_version: 
  59
+  recorded_at: Thu, 11 Oct 2012 19:33:54 GMT
  60
+recorded_with: VCR 2.2.5
60  spec/cassettes/folder/find_contacts.yml
... ...
@@ -0,0 +1,60 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
  9
+        \ <soap:Body>\n    <GetFolder xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
  10
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n      <FolderShape>\n
  11
+        \       <t:BaseShape>Default</t:BaseShape>\n      </FolderShape>\n      <FolderIds>\n
  12
+        \       <t:DistinguishedFolderId Id=\"contacts\"/>\n      </FolderIds>\n    </GetFolder>\n
  13
+        \ </soap:Body>\n</soap:Envelope>\n"
  14
+    headers:
  15
+      Soapaction:
  16
+      - http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder
  17
+      Content-Type:
  18
+      - text/xml; charset=utf-8
  19
+      Authorization:
  20
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  21
+  response:
  22
+    status:
  23
+      code: 200
  24
+      message: OK
  25
+    headers:
  26
+      Cache-Control:
  27
+      - private
  28
+      Transfer-Encoding:
  29
+      - chunked
  30
+      Content-Type:
  31
+      - text/xml; charset=utf-8
  32
+      Server:
  33
+      - Microsoft-IIS/7.5
  34
+      Requestid:
  35
+      - 3e8962c0-5098-4ece-a5c9-b232e21ad4ad
  36
+      Set-Cookie:
  37
+      - exchangecookie=2d9e740e5f274046955df12f14e6ef66; expires=Fri, 11-Oct-2013
  38
+        19:19:03 GMT; path=/; HttpOnly
  39
+      X-Aspnet-Version:
  40
+      - 2.0.50727
  41
+      X-Powered-By:
  42
+      - ASP.NET
  43
+      X-Diaginfo:
  44
+      - AMSPRD0710CA015
  45
+      Date:
  46
+      - Thu, 11 Oct 2012 19:19:03 GMT
  47
+    body:
  48
+      encoding: US-ASCII
  49
+      string: <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Header><h:ServerVersionInfo
  50
+        MajorVersion="14" MinorVersion="16" MajorBuildNumber="207" MinorBuildNumber="9"
  51
+        xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types"
  52
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/></s:Header><s:Body
  53
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><m:GetFolderResponse
  54
+        xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><m:ResponseMessages><m:GetFolderResponseMessage
  55
+        ResponseClass="Success"><m:ResponseCode>NoError</m:ResponseCode><m:Folders><t:ContactsFolder><t:FolderId
  56
+        Id="AQAjAGViZWlnYXJ0c0BlYmVpZ2FydHMub25taWNyb3NvZnQuY29tAC4AAANQgkWQLjirSqRjoV/OICNYAQCaGrVTJjzWS7YVO+ElnoG4AAABRe2iAAAA"
  57
+        ChangeKey="AwAAABYAAACaGrVTJjzWS7YVO+ElnoG4AAAARe3C"/><t:DisplayName>Contacts</t:DisplayName><t:TotalCount>6</t:TotalCount><t:ChildFolderCount>0</t:ChildFolderCount></t:ContactsFolder></m:Folders></m:GetFolderResponseMessage></m:ResponseMessages></m:GetFolderResponse></s:Body></s:Envelope>
  58
+    http_version: 
  59
+  recorded_at: Thu, 11 Oct 2012 19:19:03 GMT
  60
+recorded_with: VCR 2.2.5
60  spec/cassettes/folder/find_root.yml
... ...
@@ -0,0 +1,60 @@
  1
+---
  2
+http_interactions:
  3
+- request:
  4
+    method: post
  5
+    uri: https://FILTERED_USERNAME:FILTERED_PASSWORD@amsprd0710.outlook.com/EWS/Exchange.asmx
  6
+    body:
  7
+      encoding: US-ASCII
  8
+      string: ! "<?xml version=\"1.0\"?>\n<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n
  9
+        \ <soap:Body>\n    <GetFolder xmlns=\"http://schemas.microsoft.com/exchange/services/2006/messages\"
  10
+        xmlns:t=\"http://schemas.microsoft.com/exchange/services/2006/types\">\n      <FolderShape>\n
  11
+        \       <t:BaseShape>Default</t:BaseShape>\n      </FolderShape>\n      <FolderIds>\n
  12
+        \       <t:DistinguishedFolderId Id=\"root\"/>\n      </FolderIds>\n    </GetFolder>\n
  13
+        \ </soap:Body>\n</soap:Envelope>\n"
  14
+    headers:
  15
+      Soapaction:
  16
+      - http://schemas.microsoft.com/exchange/services/2006/messages/GetFolder
  17
+      Content-Type:
  18
+      - text/xml; charset=utf-8
  19
+      Authorization:
  20
+      - Basic ZWJlaWdhcnRzQGViZWlnYXJ0cy5vbm1pY3Jvc29mdC5jb206S3k1a2ltUDZTNmlIQQ==
  21
+  response:
  22
+    status:
  23
+      code: 200
  24
+      message: OK
  25
+    headers:
  26