ruby-ecomm-client 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +2 -2
- data/README.md +3 -7
- data/fixtures/vcr_cassettes/account_info/default.yml +22 -22
- data/fixtures/vcr_cassettes/account_info/unknown/resource_id.yml +21 -21
- data/fixtures/vcr_cassettes/account_info/unknown/resource_type.yml +21 -21
- data/fixtures/vcr_cassettes/account_info/unknown/source_tree_id.yml +21 -21
- data/fixtures/vcr_cassettes/express_checkout/configured.yml +17 -17
- data/fixtures/vcr_cassettes/express_checkout/unknown.yml +17 -17
- data/fixtures/vcr_cassettes/request_change/express/downgrade/default.yml +44 -0
- data/fixtures/vcr_cassettes/request_change/express/downgrade/noop.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/resource_id.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/resource_type.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/downgrade/unknown/target_tree_id.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/default.yml +44 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/noop.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/resource_id.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/resource_type.yml +42 -0
- data/fixtures/vcr_cassettes/request_change/express/upgrade/unknown/target_tree_id.yml +42 -0
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/default.yml +18 -18
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/noop.yml +17 -17
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/unknown/resource_id.yml +17 -17
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/downgrade}/unknown/resource_type.yml +17 -17
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/downgrade}/unknown/target_tree_id.yml +17 -17
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/default.yml +18 -18
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/noop.yml +17 -17
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/unknown/resource_id.yml +17 -17
- data/fixtures/vcr_cassettes/{downgrade → request_change/manager/upgrade}/unknown/resource_type.yml +17 -17
- data/fixtures/vcr_cassettes/{upgrade → request_change/manager/upgrade}/unknown/target_tree_id.yml +17 -17
- data/fixtures/vcr_cassettes/transitions/default/unknown/source_tree_id.yml +13 -13
- data/fixtures/vcr_cassettes/transitions/many.yml +14 -14
- data/fixtures/vcr_cassettes/transitions/one.yml +14 -14
- data/lib/ruby-ecomm-client/client.rb +61 -21
- data/lib/ruby-ecomm-client/version.rb +1 -1
- data/spec/ruby-ecomm-client/client_spec.rb +203 -82
- data/spec/spec_helper.rb +2 -0
- metadata +24 -15
- data/fixtures/vcr_cassettes/transitions/unknown/source_tree_id.yml +0 -42
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='1735' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "956"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
23
|
+
- close
|
24
|
+
x-aspnet-version:
|
25
|
+
- 4.0.30319
|
26
|
+
content-length:
|
27
|
+
- "460"
|
28
|
+
date:
|
29
|
+
- Fri, 28 Mar 2014 00:23:13 GMT
|
30
|
+
x-powered-by:
|
31
|
+
- ASP.NET
|
32
|
+
cache-control:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>1</PurchaseChangeAccountRequestResult><ResultCode>0</ResultCode><Error /><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:23:15 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>unknown</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='1736' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "927"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
23
|
+
- close
|
24
|
+
x-aspnet-version:
|
25
|
+
- 4.0.30319
|
26
|
+
content-length:
|
27
|
+
- "507"
|
28
|
+
date:
|
29
|
+
- Fri, 28 Mar 2014 00:23:12 GMT
|
30
|
+
x-powered-by:
|
31
|
+
- ASP.NET
|
32
|
+
cache-control:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-304</ResultCode><Error>Invalid external resource ID provided</Error><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:23:14 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='1736' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>flugel</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "954"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
23
|
+
- close
|
24
|
+
x-aspnet-version:
|
25
|
+
- 4.0.30319
|
26
|
+
content-length:
|
27
|
+
- "535"
|
28
|
+
date:
|
29
|
+
- Fri, 28 Mar 2014 00:23:10 GMT
|
30
|
+
x-powered-by:
|
31
|
+
- ASP.NET
|
32
|
+
cache-control:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-100</ResultCode><Error>No row found for requested resource mapping [ResourceType] flugel</Error><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:23:13 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='73541' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "957"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
23
|
+
- close
|
24
|
+
x-aspnet-version:
|
25
|
+
- 4.0.30319
|
26
|
+
content-length:
|
27
|
+
- "530"
|
28
|
+
date:
|
29
|
+
- Fri, 28 Mar 2014 00:23:12 GMT
|
30
|
+
x-powered-by:
|
31
|
+
- ASP.NET
|
32
|
+
cache-control:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-999</ResultCode><Error>Unable to get tree ID from requested Tree ID [TREE ID] 73541</Error><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:23:15 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,44 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='1737' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "956"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
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:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: |-
|
40
|
+
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>0</PurchaseChangeAccountRequestResult><ResultCode>0</ResultCode><Error /><OrderXml><ORDER><ORDERDETAIL _handling_total="0" _oadjust_subtotal="9995" _shipping_total="0" _tax_total="0" _total_total="9995" basket_type="gdshop" bill_to_email="test@outright.com" order_id="1493513" pipeline_response_level="1" privatelabelid="1" shopper_id="922411" source_code="???" third_party_shipping_amount="" transactioncurrency="USD"/><ITEMS><ITEM _oadjust_adjustedprice="9995" dept_id="2438" duration="0.500" gdshop_product_typeid="454" group_id="1291752265" name="Outright - Plus Annual 2 years" period_description="Period(s)" pf_id="2703" quantity="1" recurring_payment="annual" trans_method="service" _row_id="0"/></ITEMS><BASKETERRORS/><PURCHASEERRORS/></ORDER>
|
41
|
+
</OrderXml></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
42
|
+
http_version: "1.1"
|
43
|
+
recorded_at: Fri, 28 Mar 2014 00:23:07 GMT
|
44
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='1735' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "956"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
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:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>1</PurchaseChangeAccountRequestResult><ResultCode>0</ResultCode><Error /><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:23:11 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>unknown</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='1737' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "927"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
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:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-304</ResultCode><Error>Invalid external resource ID provided</Error><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:23:08 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='1737' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>flugel</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "954"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
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:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-100</ResultCode><Error>No row found for requested resource mapping [ResourceType] flugel</Error><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:23:08 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://bonsaipurchase.dev.glbt1.gdg/BonsaiPurchase/Service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:PurchaseChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:IDType>ORION</tns:IDType><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID><tns:AccountPurchaseChangeXml><ClientChange TreeID='73223' ShopperID='922411' TransactionCurrency='USD' RequestingApp='outright' RequestingAppHost='LM126196-SSAND.local' ClientAddr='127.0.0.1' EnteredBy='customer' OrderSource='Online' RedirectToBasket='false' EstimateOnly='false' SendConfirmEmail='false'/></tns:AccountPurchaseChangeXml><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:PurchaseChangeAccountRequest></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
soapaction:
|
12
|
+
- "\"#Bonsai/PurchaseChangeAccountRequest\""
|
13
|
+
content-length:
|
14
|
+
- "957"
|
15
|
+
content-type:
|
16
|
+
- text/xml;charset=UTF-8
|
17
|
+
response:
|
18
|
+
status:
|
19
|
+
code: 200
|
20
|
+
message: OK
|
21
|
+
headers:
|
22
|
+
connection:
|
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:
|
33
|
+
- private, max-age=0
|
34
|
+
server:
|
35
|
+
- Microsoft-IIS/7.0
|
36
|
+
content-type:
|
37
|
+
- text/xml; charset=utf-8
|
38
|
+
body:
|
39
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><PurchaseChangeAccountRequestResponse xmlns="#Bonsai"><PurchaseChangeAccountRequestResult>-1</PurchaseChangeAccountRequestResult><ResultCode>-999</ResultCode><Error>Unable to get tree ID from requested Tree ID [TREE ID] 73223</Error><OrderXml /></PurchaseChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:23:09 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -1,42 +1,42 @@
|
|
1
1
|
---
|
2
|
-
recorded_with: VCR 2.8.0
|
3
2
|
http_interactions:
|
4
3
|
- request:
|
5
4
|
method: post
|
6
5
|
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
6
|
body:
|
8
|
-
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:tns="#Bonsai" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:ChangeAccountRequest><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1736' ShopperID='922411'/></tns:AccountChangeXml><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ResourceType>outright</tns:ResourceType><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceID>10e16f14-b606-11e3-a45e-0050569575d8</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
9
8
|
headers:
|
10
|
-
content-length:
|
11
|
-
- "696"
|
12
|
-
soapaction:
|
13
|
-
- "\"#Bonsai/ChangeAccountRequest\""
|
14
9
|
content-type:
|
15
10
|
- text/xml;charset=UTF-8
|
11
|
+
content-length:
|
12
|
+
- "696"
|
16
13
|
accept:
|
17
14
|
- "*/*"
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
18
17
|
response:
|
19
18
|
status:
|
20
19
|
code: 200
|
21
20
|
message: OK
|
22
21
|
headers:
|
23
|
-
|
24
|
-
-
|
25
|
-
x-powered-by:
|
26
|
-
- ASP.NET
|
27
|
-
x-aspnet-version:
|
28
|
-
- 4.0.30319
|
22
|
+
content-type:
|
23
|
+
- text/xml; charset=utf-8
|
29
24
|
content-length:
|
30
25
|
- "407"
|
31
|
-
|
32
|
-
-
|
26
|
+
x-aspnet-version:
|
27
|
+
- 4.0.30319
|
33
28
|
cache-control:
|
34
29
|
- private, max-age=0
|
35
|
-
|
36
|
-
-
|
30
|
+
server:
|
31
|
+
- Microsoft-IIS/7.0
|
37
32
|
date:
|
38
|
-
-
|
33
|
+
- Fri, 28 Mar 2014 00:22:38 GMT
|
34
|
+
connection:
|
35
|
+
- close
|
36
|
+
x-powered-by:
|
37
|
+
- ASP.NET
|
39
38
|
body:
|
40
39
|
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><ChangeAccountRequestResponse xmlns="#Bonsai"><ChangeAccountRequestResult>2</ChangeAccountRequestResult><ResultCode>0</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
41
40
|
http_version: "1.1"
|
42
|
-
recorded_at:
|
41
|
+
recorded_at: Fri, 28 Mar 2014 00:22:40 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|