ruby-ecomm-client 1.1.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/.ruby-version +1 -1
- data/Gemfile +1 -0
- data/README.md +10 -0
- data/fixtures/vcr_cassettes/account_info/default.yml +49 -34
- data/fixtures/vcr_cassettes/account_info/unknown/resource_id.yml +42 -34
- data/fixtures/vcr_cassettes/account_info/unknown/resource_type.yml +42 -34
- data/fixtures/vcr_cassettes/account_info/unknown/source_tree_id.yml +42 -34
- data/fixtures/vcr_cassettes/express_checkout/configured.yml +39 -31
- data/fixtures/vcr_cassettes/express_checkout/unknown.yml +39 -31
- data/fixtures/vcr_cassettes/request_change/express/downgrade/default.yml +46 -36
- data/fixtures/vcr_cassettes/request_change/express/downgrade/noop.yml +55 -34
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/resource_id.yml +46 -34
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/resource_type.yml +47 -34
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/target_tree_id.yml +46 -34
- data/fixtures/vcr_cassettes/request_change/express/relay/default.yml +48 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/default.yml +55 -36
- data/fixtures/vcr_cassettes/request_change/express/upgrade/noop.yml +46 -34
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/resource_id.yml +46 -34
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/resource_type.yml +47 -34
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/target_tree_id.yml +46 -34
- data/fixtures/vcr_cassettes/request_change/manager/downgrade/default.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/downgrade/noop.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/downgrade/unknown/resource_id.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/downgrade/unknown/resource_type.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/downgrade/unknown/target_tree_id.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/relay/default.yml +100 -0
- data/fixtures/vcr_cassettes/request_change/manager/upgrade/default.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/upgrade/noop.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/upgrade/unknown/resource_id.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/upgrade/unknown/resource_type.yml +43 -34
- data/fixtures/vcr_cassettes/request_change/manager/upgrade/unknown/target_tree_id.yml +43 -34
- data/fixtures/vcr_cassettes/transitions/default/unknown/source_tree_id.yml +42 -34
- data/fixtures/vcr_cassettes/transitions/many.yml +49 -34
- data/fixtures/vcr_cassettes/transitions/one.yml +49 -34
- data/lib/ruby-ecomm-client.rb +13 -1
- data/lib/ruby-ecomm-client/client.rb +19 -148
- data/lib/ruby-ecomm-client/config.rb +25 -0
- data/lib/ruby-ecomm-client/service_base.rb +55 -0
- data/lib/ruby-ecomm-client/service_manager.rb +75 -0
- data/lib/ruby-ecomm-client/service_profile.rb +30 -0
- data/lib/ruby-ecomm-client/service_purchase.rb +79 -0
- data/lib/ruby-ecomm-client/util.rb +16 -0
- data/lib/ruby-ecomm-client/version.rb +1 -1
- data/ruby-ecomm-client.gemspec +2 -1
- data/script/bootstrap +68 -0
- data/script/cibuild +4 -5
- data/spec/ruby-ecomm-client/client_spec.rb +32 -339
- data/spec/ruby-ecomm-client/config_spec.rb +56 -0
- data/spec/ruby-ecomm-client/service_base_spec.rb +119 -0
- data/spec/ruby-ecomm-client/service_manager_spec.rb +285 -0
- data/spec/ruby-ecomm-client/service_profile_spec.rb +33 -0
- data/spec/ruby-ecomm-client/service_purchase_spec.rb +160 -0
- data/spec/ruby-ecomm-client/util_spec.rb +66 -0
- data/spec/spec_helper.rb +10 -0
- metadata +160 -152
- data/lib/ruby-ecomm-client/converter.rb +0 -45
- data/spec/ruby-ecomm-client/converter_spec.rb +0 -96
@@ -1,42 +1,51 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://bonsai.dev.glbt1.gdg/
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange
|
11
|
+
TreeID='2418' ShopperID='923518'/></tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
soapaction:
|
14
|
+
- ! '"#Bonsai/ChangeAccountRequest"'
|
15
|
+
content-type:
|
10
16
|
- text/xml;charset=UTF-8
|
11
|
-
content-length:
|
12
|
-
-
|
13
|
-
accept:
|
14
|
-
-
|
15
|
-
|
16
|
-
-
|
17
|
-
response:
|
18
|
-
status:
|
17
|
+
content-length:
|
18
|
+
- '696'
|
19
|
+
accept:
|
20
|
+
- ! '*/*'
|
21
|
+
user-agent:
|
22
|
+
- Ruby
|
23
|
+
response:
|
24
|
+
status:
|
19
25
|
code: 200
|
20
26
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- text/xml; charset=utf-8
|
24
|
-
content-length:
|
25
|
-
- "407"
|
26
|
-
x-aspnet-version:
|
27
|
-
- 4.0.30319
|
28
|
-
cache-control:
|
27
|
+
headers:
|
28
|
+
cache-control:
|
29
29
|
- private, max-age=0
|
30
|
-
|
30
|
+
content-type:
|
31
|
+
- text/xml; charset=utf-8
|
32
|
+
server:
|
31
33
|
- Microsoft-IIS/7.0
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
- close
|
36
|
-
x-powered-by:
|
34
|
+
x-aspnet-version:
|
35
|
+
- 4.0.30319
|
36
|
+
x-powered-by:
|
37
37
|
- ASP.NET
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
date:
|
39
|
+
- Fri, 18 Apr 2014 16:29:11 GMT
|
40
|
+
connection:
|
41
|
+
- close
|
42
|
+
content-length:
|
43
|
+
- '407'
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
47
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse
|
48
|
+
xmlns="#Bonsai"><ChangeAccountRequestResult>2</ChangeAccountRequestResult><ResultCode>0</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
49
|
+
http_version: '1.1'
|
50
|
+
recorded_at: Fri, 18 Apr 2014 16:30:10 GMT
|
42
51
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,51 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://bonsai.dev.glbt1.gdg/
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange
|
11
|
+
TreeID='2410' ShopperID='923518'/></tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
soapaction:
|
14
|
+
- ! '"#Bonsai/ChangeAccountRequest"'
|
15
|
+
content-type:
|
10
16
|
- text/xml;charset=UTF-8
|
11
|
-
content-length:
|
12
|
-
-
|
13
|
-
accept:
|
14
|
-
-
|
15
|
-
|
16
|
-
-
|
17
|
-
response:
|
18
|
-
status:
|
17
|
+
content-length:
|
18
|
+
- '696'
|
19
|
+
accept:
|
20
|
+
- ! '*/*'
|
21
|
+
user-agent:
|
22
|
+
- Ruby
|
23
|
+
response:
|
24
|
+
status:
|
19
25
|
code: 200
|
20
26
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- text/xml; charset=utf-8
|
24
|
-
content-length:
|
25
|
-
- "407"
|
26
|
-
x-aspnet-version:
|
27
|
-
- 4.0.30319
|
28
|
-
cache-control:
|
27
|
+
headers:
|
28
|
+
cache-control:
|
29
29
|
- private, max-age=0
|
30
|
-
|
30
|
+
content-type:
|
31
|
+
- text/xml; charset=utf-8
|
32
|
+
server:
|
31
33
|
- Microsoft-IIS/7.0
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
- close
|
36
|
-
x-powered-by:
|
34
|
+
x-aspnet-version:
|
35
|
+
- 4.0.30319
|
36
|
+
x-powered-by:
|
37
37
|
- ASP.NET
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
date:
|
39
|
+
- Fri, 18 Apr 2014 16:29:14 GMT
|
40
|
+
connection:
|
41
|
+
- close
|
42
|
+
content-length:
|
43
|
+
- '407'
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
47
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse
|
48
|
+
xmlns="#Bonsai"><ChangeAccountRequestResult>1</ChangeAccountRequestResult><ResultCode>0</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
49
|
+
http_version: '1.1'
|
50
|
+
recorded_at: Fri, 18 Apr 2014 16:30:13 GMT
|
42
51
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,51 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://bonsai.dev.glbt1.gdg/
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>unknown</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange
|
11
|
+
TreeID='2418' ShopperID='923518'/></tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
soapaction:
|
14
|
+
- ! '"#Bonsai/ChangeAccountRequest"'
|
15
|
+
content-type:
|
10
16
|
- text/xml;charset=UTF-8
|
11
|
-
content-length:
|
12
|
-
-
|
13
|
-
accept:
|
14
|
-
-
|
15
|
-
|
16
|
-
-
|
17
|
-
response:
|
18
|
-
status:
|
17
|
+
content-length:
|
18
|
+
- '667'
|
19
|
+
accept:
|
20
|
+
- ! '*/*'
|
21
|
+
user-agent:
|
22
|
+
- Ruby
|
23
|
+
response:
|
24
|
+
status:
|
19
25
|
code: 200
|
20
26
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- text/xml; charset=utf-8
|
24
|
-
content-length:
|
25
|
-
- "411"
|
26
|
-
x-aspnet-version:
|
27
|
-
- 4.0.30319
|
28
|
-
cache-control:
|
27
|
+
headers:
|
28
|
+
cache-control:
|
29
29
|
- private, max-age=0
|
30
|
-
|
30
|
+
content-type:
|
31
|
+
- text/xml; charset=utf-8
|
32
|
+
server:
|
31
33
|
- Microsoft-IIS/7.0
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
- close
|
36
|
-
x-powered-by:
|
34
|
+
x-aspnet-version:
|
35
|
+
- 4.0.30319
|
36
|
+
x-powered-by:
|
37
37
|
- ASP.NET
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
date:
|
39
|
+
- Fri, 18 Apr 2014 16:29:11 GMT
|
40
|
+
connection:
|
41
|
+
- close
|
42
|
+
content-length:
|
43
|
+
- '411'
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
47
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse
|
48
|
+
xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-304</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
49
|
+
http_version: '1.1'
|
50
|
+
recorded_at: Fri, 18 Apr 2014 16:30:11 GMT
|
42
51
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,51 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://bonsai.dev.glbt1.gdg/
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>flugel</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange
|
11
|
+
TreeID='2418' ShopperID='923518'/></tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
soapaction:
|
14
|
+
- ! '"#Bonsai/ChangeAccountRequest"'
|
15
|
+
content-type:
|
10
16
|
- text/xml;charset=UTF-8
|
11
|
-
content-length:
|
12
|
-
-
|
13
|
-
accept:
|
14
|
-
-
|
15
|
-
|
16
|
-
-
|
17
|
-
response:
|
18
|
-
status:
|
17
|
+
content-length:
|
18
|
+
- '694'
|
19
|
+
accept:
|
20
|
+
- ! '*/*'
|
21
|
+
user-agent:
|
22
|
+
- Ruby
|
23
|
+
response:
|
24
|
+
status:
|
19
25
|
code: 200
|
20
26
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- text/xml; charset=utf-8
|
24
|
-
content-length:
|
25
|
-
- "411"
|
26
|
-
x-aspnet-version:
|
27
|
-
- 4.0.30319
|
28
|
-
cache-control:
|
27
|
+
headers:
|
28
|
+
cache-control:
|
29
29
|
- private, max-age=0
|
30
|
-
|
30
|
+
content-type:
|
31
|
+
- text/xml; charset=utf-8
|
32
|
+
server:
|
31
33
|
- Microsoft-IIS/7.0
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
- close
|
36
|
-
x-powered-by:
|
34
|
+
x-aspnet-version:
|
35
|
+
- 4.0.30319
|
36
|
+
x-powered-by:
|
37
37
|
- ASP.NET
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
date:
|
39
|
+
- Fri, 18 Apr 2014 16:29:11 GMT
|
40
|
+
connection:
|
41
|
+
- close
|
42
|
+
content-length:
|
43
|
+
- '411'
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
47
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse
|
48
|
+
xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-100</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
49
|
+
http_version: '1.1'
|
50
|
+
recorded_at: Fri, 18 Apr 2014 16:30:10 GMT
|
42
51
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,51 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://bonsai.dev.glbt1.gdg/
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:RenewalPFID>0</tns:RenewalPFID><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange
|
11
|
+
TreeID='73223' ShopperID='923518'/></tns:AccountChangeXml></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
12
|
+
headers:
|
13
|
+
soapaction:
|
14
|
+
- ! '"#Bonsai/ChangeAccountRequest"'
|
15
|
+
content-type:
|
10
16
|
- text/xml;charset=UTF-8
|
11
|
-
content-length:
|
12
|
-
-
|
13
|
-
accept:
|
14
|
-
-
|
15
|
-
|
16
|
-
-
|
17
|
-
response:
|
18
|
-
status:
|
17
|
+
content-length:
|
18
|
+
- '697'
|
19
|
+
accept:
|
20
|
+
- ! '*/*'
|
21
|
+
user-agent:
|
22
|
+
- Ruby
|
23
|
+
response:
|
24
|
+
status:
|
19
25
|
code: 200
|
20
26
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- text/xml; charset=utf-8
|
24
|
-
content-length:
|
25
|
-
- "411"
|
26
|
-
x-aspnet-version:
|
27
|
-
- 4.0.30319
|
28
|
-
cache-control:
|
27
|
+
headers:
|
28
|
+
cache-control:
|
29
29
|
- private, max-age=0
|
30
|
-
|
30
|
+
content-type:
|
31
|
+
- text/xml; charset=utf-8
|
32
|
+
server:
|
31
33
|
- Microsoft-IIS/7.0
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
- close
|
36
|
-
x-powered-by:
|
34
|
+
x-aspnet-version:
|
35
|
+
- 4.0.30319
|
36
|
+
x-powered-by:
|
37
37
|
- ASP.NET
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
date:
|
39
|
+
- Fri, 18 Apr 2014 16:29:13 GMT
|
40
|
+
connection:
|
41
|
+
- close
|
42
|
+
content-length:
|
43
|
+
- '411'
|
44
|
+
body:
|
45
|
+
encoding: US-ASCII
|
46
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
47
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse
|
48
|
+
xmlns="#Bonsai"><ChangeAccountRequestResult>-1</ChangeAccountRequestResult><ResultCode>-999</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
49
|
+
http_version: '1.1'
|
50
|
+
recorded_at: Fri, 18 Apr 2014 16:30:11 GMT
|
42
51
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,50 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
|
-
uri: http://bonsai.dev.glbt1.gdg/
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/Bonsai/BonsaiManager/Service.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:GetAccountXml><tns:ResourceID>b6be6fd0-c1a5-11e3-8e42-0050569575d8</tns:ResourceID><tns:ResourceType>outright</tns:ResourceType><tns:IDType>ORION</tns:IDType><tns:TreeID>87563</tns:TreeID><tns:PrivateLabelID>1</tns:PrivateLabelID></tns:GetAccountXml></env:Body></env:Envelope>
|
11
|
+
headers:
|
12
|
+
soapaction:
|
13
|
+
- ! '"#Bonsai/GetAccountXml"'
|
14
|
+
content-type:
|
10
15
|
- text/xml;charset=UTF-8
|
11
|
-
content-length:
|
12
|
-
-
|
13
|
-
accept:
|
14
|
-
-
|
15
|
-
|
16
|
-
-
|
17
|
-
response:
|
18
|
-
status:
|
16
|
+
content-length:
|
17
|
+
- '516'
|
18
|
+
accept:
|
19
|
+
- ! '*/*'
|
20
|
+
user-agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
19
24
|
code: 200
|
20
25
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- text/xml; charset=utf-8
|
24
|
-
content-length:
|
25
|
-
- "338"
|
26
|
-
x-aspnet-version:
|
27
|
-
- 4.0.30319
|
28
|
-
cache-control:
|
26
|
+
headers:
|
27
|
+
cache-control:
|
29
28
|
- private, max-age=0
|
30
|
-
|
29
|
+
content-type:
|
30
|
+
- text/xml; charset=utf-8
|
31
|
+
server:
|
31
32
|
- Microsoft-IIS/7.0
|
32
|
-
|
33
|
-
-
|
34
|
-
|
35
|
-
- close
|
36
|
-
x-powered-by:
|
33
|
+
x-aspnet-version:
|
34
|
+
- 4.0.30319
|
35
|
+
x-powered-by:
|
37
36
|
- ASP.NET
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
37
|
+
date:
|
38
|
+
- Fri, 18 Apr 2014 16:29:06 GMT
|
39
|
+
connection:
|
40
|
+
- close
|
41
|
+
content-length:
|
42
|
+
- '338'
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
46
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><GetAccountXmlResponse
|
47
|
+
xmlns="#Bonsai"><ResultCode>-999</ResultCode></GetAccountXmlResponse></soap:Body></soap:Envelope>
|
48
|
+
http_version: '1.1'
|
49
|
+
recorded_at: Fri, 18 Apr 2014 16:30:05 GMT
|
42
50
|
recorded_with: VCR 2.8.0
|