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
@@ -0,0 +1,48 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://gdcomm.dev.glbt1.gdg/WSgdInstantPurchasePublic/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="http://tempuri.org/"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ShopperHasInstantPurchasePayment><tns:sShopperID>923518</tns:sShopperID></tns:ShopperHasInstantPurchasePayment></env:Body></env:Envelope>
|
11
|
+
headers:
|
12
|
+
soapaction:
|
13
|
+
- ! '"http://tempuri.org/ShopperHasInstantPurchasePayment"'
|
14
|
+
content-type:
|
15
|
+
- text/xml;charset=UTF-8
|
16
|
+
content-length:
|
17
|
+
- '389'
|
18
|
+
accept:
|
19
|
+
- ! '*/*'
|
20
|
+
user-agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
cache-control:
|
28
|
+
- private, max-age=0
|
29
|
+
content-type:
|
30
|
+
- text/xml; charset=utf-8
|
31
|
+
server:
|
32
|
+
- Microsoft-IIS/7.0
|
33
|
+
x-aspnet-version:
|
34
|
+
- 2.0.50727
|
35
|
+
x-powered-by:
|
36
|
+
- ASP.NET
|
37
|
+
date:
|
38
|
+
- Wed, 07 May 2014 01:19:03 GMT
|
39
|
+
content-length:
|
40
|
+
- '537'
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
44
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ShopperHasInstantPurchasePaymentResponse
|
45
|
+
xmlns="http://tempuri.org/"><ShopperHasInstantPurchasePaymentResult><Status>SUCCESS</Status></ShopperHasInstantPurchasePaymentResult><bHasInstantPurchasePayment>true</bHasInstantPurchasePayment></ShopperHasInstantPurchasePaymentResponse></soap:Body></soap:Envelope>
|
46
|
+
http_version: '1.1'
|
47
|
+
recorded_at: Wed, 07 May 2014 01:19:04 GMT
|
48
|
+
recorded_with: VCR 2.8.0
|
@@ -1,44 +1,63 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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:PurchaseChangeAccountRequest><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:AccountPurchaseChangeXml><ClientChange
|
11
|
+
TreeID='2418' ShopperID='923518' TransactionCurrency='USD' RequestingApp='outright'
|
12
|
+
RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer'
|
13
|
+
OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
14
|
+
headers:
|
15
|
+
soapaction:
|
16
|
+
- ! '"#Bonsai/PurchaseChangeAccountRequest"'
|
17
|
+
content-type:
|
16
18
|
- text/xml;charset=UTF-8
|
17
|
-
|
18
|
-
|
19
|
+
content-length:
|
20
|
+
- '956'
|
21
|
+
accept:
|
22
|
+
- ! '*/*'
|
23
|
+
user-agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
19
27
|
code: 200
|
20
28
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- close
|
24
|
-
x-aspnet-version:
|
25
|
-
- 4.0.30319
|
26
|
-
content-length:
|
27
|
-
- "1186"
|
28
|
-
date:
|
29
|
-
- Fri, 28 Mar 2014 00:23:05 GMT
|
30
|
-
x-powered-by:
|
31
|
-
- ASP.NET
|
32
|
-
cache-control:
|
29
|
+
headers:
|
30
|
+
cache-control:
|
33
31
|
- private, max-age=0
|
34
|
-
|
35
|
-
- Microsoft-IIS/7.0
|
36
|
-
content-type:
|
32
|
+
content-type:
|
37
33
|
- text/xml; charset=utf-8
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
x-aspnet-version:
|
37
|
+
- 4.0.30319
|
38
|
+
x-powered-by:
|
39
|
+
- ASP.NET
|
40
|
+
date:
|
41
|
+
- Fri, 18 Apr 2014 16:29:26 GMT
|
42
|
+
connection:
|
43
|
+
- close
|
44
|
+
content-length:
|
45
|
+
- '1182'
|
46
|
+
body:
|
47
|
+
encoding: US-ASCII
|
48
|
+
string: ! '<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
49
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse
|
50
|
+
xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>0</PurchaseChangeAccountRequestResult><ResultCode>0</ResultCode><Error
|
51
|
+
/><OrderXml><ORDER><ORDERDETAIL _handling_total="0" _oadjust_subtotal="767"
|
52
|
+
_shipping_total="0" _tax_total="0" _total_total="767" basket_type="gdshop"
|
53
|
+
bill_to_email="danica@outright.com" order_id="1495222" pipeline_response_level="1"
|
54
|
+
privatelabelid="1" shopper_id="923518" source_code="???" third_party_shipping_amount=""
|
55
|
+
transactioncurrency="USD"/><ITEMS><ITEM _oadjust_adjustedprice="767"
|
56
|
+
dept_id="2438" duration="0.767" gdshop_product_typeid="454" group_id="730750375"
|
57
|
+
name="Get Paid Premium - Monthly" period_description="Month(s)" pf_id="326388"
|
58
|
+
quantity="1" recurring_payment="monthly" trans_method="service" _row_id="0"/></ITEMS><BASKETERRORS/><PURCHASEERRORS/></ORDER>
|
59
|
+
|
60
|
+
</OrderXml></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>'
|
61
|
+
http_version: '1.1'
|
62
|
+
recorded_at: Fri, 18 Apr 2014 16:30:24 GMT
|
44
63
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,54 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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:PurchaseChangeAccountRequest><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:AccountPurchaseChangeXml><ClientChange
|
11
|
+
TreeID='2410' ShopperID='923518' TransactionCurrency='USD' RequestingApp='outright'
|
12
|
+
RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer'
|
13
|
+
OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
14
|
+
headers:
|
15
|
+
soapaction:
|
16
|
+
- ! '"#Bonsai/PurchaseChangeAccountRequest"'
|
17
|
+
content-type:
|
16
18
|
- text/xml;charset=UTF-8
|
17
|
-
|
18
|
-
|
19
|
+
content-length:
|
20
|
+
- '956'
|
21
|
+
accept:
|
22
|
+
- ! '*/*'
|
23
|
+
user-agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
19
27
|
code: 200
|
20
28
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- close
|
24
|
-
x-aspnet-version:
|
25
|
-
- 4.0.30319
|
26
|
-
content-length:
|
27
|
-
- "460"
|
28
|
-
date:
|
29
|
-
- Fri, 28 Mar 2014 00:23:09 GMT
|
30
|
-
x-powered-by:
|
31
|
-
- ASP.NET
|
32
|
-
cache-control:
|
29
|
+
headers:
|
30
|
+
cache-control:
|
33
31
|
- private, max-age=0
|
34
|
-
|
35
|
-
- Microsoft-IIS/7.0
|
36
|
-
content-type:
|
32
|
+
content-type:
|
37
33
|
- text/xml; charset=utf-8
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
x-aspnet-version:
|
37
|
+
- 4.0.30319
|
38
|
+
x-powered-by:
|
39
|
+
- ASP.NET
|
40
|
+
date:
|
41
|
+
- Fri, 18 Apr 2014 16:29:27 GMT
|
42
|
+
connection:
|
43
|
+
- close
|
44
|
+
content-length:
|
45
|
+
- '460'
|
46
|
+
body:
|
47
|
+
encoding: US-ASCII
|
48
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
49
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse
|
50
|
+
xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>1</PurchaseChangeAccountRequestResult><ResultCode>0</ResultCode><Error
|
51
|
+
/><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
52
|
+
http_version: '1.1'
|
53
|
+
recorded_at: Fri, 18 Apr 2014 16:30:26 GMT
|
42
54
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,54 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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:PurchaseChangeAccountRequest><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:AccountPurchaseChangeXml><ClientChange
|
11
|
+
TreeID='2418' ShopperID='923518' TransactionCurrency='USD' RequestingApp='outright'
|
12
|
+
RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer'
|
13
|
+
OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
14
|
+
headers:
|
15
|
+
soapaction:
|
16
|
+
- ! '"#Bonsai/PurchaseChangeAccountRequest"'
|
17
|
+
content-type:
|
16
18
|
- text/xml;charset=UTF-8
|
17
|
-
|
18
|
-
|
19
|
+
content-length:
|
20
|
+
- '927'
|
21
|
+
accept:
|
22
|
+
- ! '*/*'
|
23
|
+
user-agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
19
27
|
code: 200
|
20
28
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- close
|
24
|
-
x-aspnet-version:
|
25
|
-
- 4.0.30319
|
26
|
-
content-length:
|
27
|
-
- "507"
|
28
|
-
date:
|
29
|
-
- Fri, 28 Mar 2014 00:23:06 GMT
|
30
|
-
x-powered-by:
|
31
|
-
- ASP.NET
|
32
|
-
cache-control:
|
29
|
+
headers:
|
30
|
+
cache-control:
|
33
31
|
- private, max-age=0
|
34
|
-
|
35
|
-
- Microsoft-IIS/7.0
|
36
|
-
content-type:
|
32
|
+
content-type:
|
37
33
|
- text/xml; charset=utf-8
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
x-aspnet-version:
|
37
|
+
- 4.0.30319
|
38
|
+
x-powered-by:
|
39
|
+
- ASP.NET
|
40
|
+
date:
|
41
|
+
- Fri, 18 Apr 2014 16:29:26 GMT
|
42
|
+
connection:
|
43
|
+
- close
|
44
|
+
content-length:
|
45
|
+
- '507'
|
46
|
+
body:
|
47
|
+
encoding: US-ASCII
|
48
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
49
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse
|
50
|
+
xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-304</ResultCode><Error>Invalid
|
51
|
+
external resource ID provided</Error><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
52
|
+
http_version: '1.1'
|
53
|
+
recorded_at: Fri, 18 Apr 2014 16:30:25 GMT
|
42
54
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,55 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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:PurchaseChangeAccountRequest><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:AccountPurchaseChangeXml><ClientChange
|
11
|
+
TreeID='2418' ShopperID='923518' TransactionCurrency='USD' RequestingApp='outright'
|
12
|
+
RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer'
|
13
|
+
OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
14
|
+
headers:
|
15
|
+
soapaction:
|
16
|
+
- ! '"#Bonsai/PurchaseChangeAccountRequest"'
|
17
|
+
content-type:
|
16
18
|
- text/xml;charset=UTF-8
|
17
|
-
|
18
|
-
|
19
|
+
content-length:
|
20
|
+
- '954'
|
21
|
+
accept:
|
22
|
+
- ! '*/*'
|
23
|
+
user-agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
19
27
|
code: 200
|
20
28
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- close
|
24
|
-
x-aspnet-version:
|
25
|
-
- 4.0.30319
|
26
|
-
content-length:
|
27
|
-
- "535"
|
28
|
-
date:
|
29
|
-
- Fri, 28 Mar 2014 00:23:05 GMT
|
30
|
-
x-powered-by:
|
31
|
-
- ASP.NET
|
32
|
-
cache-control:
|
29
|
+
headers:
|
30
|
+
cache-control:
|
33
31
|
- private, max-age=0
|
34
|
-
|
35
|
-
- Microsoft-IIS/7.0
|
36
|
-
content-type:
|
32
|
+
content-type:
|
37
33
|
- text/xml; charset=utf-8
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
x-aspnet-version:
|
37
|
+
- 4.0.30319
|
38
|
+
x-powered-by:
|
39
|
+
- ASP.NET
|
40
|
+
date:
|
41
|
+
- Fri, 18 Apr 2014 16:29:26 GMT
|
42
|
+
connection:
|
43
|
+
- close
|
44
|
+
content-length:
|
45
|
+
- '535'
|
46
|
+
body:
|
47
|
+
encoding: US-ASCII
|
48
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
49
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse
|
50
|
+
xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-100</ResultCode><Error>No
|
51
|
+
row found for requested resource mapping [ResourceType] flugel</Error><OrderXml
|
52
|
+
/></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
53
|
+
http_version: '1.1'
|
54
|
+
recorded_at: Fri, 18 Apr 2014 16:30:25 GMT
|
42
55
|
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,54 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
4
|
method: post
|
5
5
|
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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:PurchaseChangeAccountRequest><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:AccountPurchaseChangeXml><ClientChange
|
11
|
+
TreeID='73223' ShopperID='923518' TransactionCurrency='USD' RequestingApp='outright'
|
12
|
+
RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer'
|
13
|
+
OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
14
|
+
headers:
|
15
|
+
soapaction:
|
16
|
+
- ! '"#Bonsai/PurchaseChangeAccountRequest"'
|
17
|
+
content-type:
|
16
18
|
- text/xml;charset=UTF-8
|
17
|
-
|
18
|
-
|
19
|
+
content-length:
|
20
|
+
- '957'
|
21
|
+
accept:
|
22
|
+
- ! '*/*'
|
23
|
+
user-agent:
|
24
|
+
- Ruby
|
25
|
+
response:
|
26
|
+
status:
|
19
27
|
code: 200
|
20
28
|
message: OK
|
21
|
-
headers:
|
22
|
-
|
23
|
-
- close
|
24
|
-
x-aspnet-version:
|
25
|
-
- 4.0.30319
|
26
|
-
content-length:
|
27
|
-
- "530"
|
28
|
-
date:
|
29
|
-
- Fri, 28 Mar 2014 00:23:06 GMT
|
30
|
-
x-powered-by:
|
31
|
-
- ASP.NET
|
32
|
-
cache-control:
|
29
|
+
headers:
|
30
|
+
cache-control:
|
33
31
|
- private, max-age=0
|
34
|
-
|
35
|
-
- Microsoft-IIS/7.0
|
36
|
-
content-type:
|
32
|
+
content-type:
|
37
33
|
- text/xml; charset=utf-8
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
x-aspnet-version:
|
37
|
+
- 4.0.30319
|
38
|
+
x-powered-by:
|
39
|
+
- ASP.NET
|
40
|
+
date:
|
41
|
+
- Fri, 18 Apr 2014 16:29:27 GMT
|
42
|
+
connection:
|
43
|
+
- close
|
44
|
+
content-length:
|
45
|
+
- '530'
|
46
|
+
body:
|
47
|
+
encoding: US-ASCII
|
48
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
49
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse
|
50
|
+
xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-999</ResultCode><Error>Unable
|
51
|
+
to get tree ID from requested Tree ID [TREE ID] 73223</Error><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
52
|
+
http_version: '1.1'
|
53
|
+
recorded_at: Fri, 18 Apr 2014 16:30:25 GMT
|
42
54
|
recorded_with: VCR 2.8.0
|