ruby-ecomm-client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +22 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +52 -0
- data/Rakefile +12 -0
- data/fixtures/vcr_cassettes/account_info/default.yml +42 -0
- data/fixtures/vcr_cassettes/account_info/unknown/resource_id.yml +42 -0
- data/fixtures/vcr_cassettes/account_info/unknown/resource_type.yml +42 -0
- data/fixtures/vcr_cassettes/account_info/unknown/source_tree_id.yml +42 -0
- data/fixtures/vcr_cassettes/downgrade/default.yml +42 -0
- data/fixtures/vcr_cassettes/downgrade/noop.yml +42 -0
- data/fixtures/vcr_cassettes/downgrade/unknown/resource_id.yml +42 -0
- data/fixtures/vcr_cassettes/downgrade/unknown/resource_type.yml +42 -0
- data/fixtures/vcr_cassettes/downgrade/unknown/target_tree_id.yml +42 -0
- data/fixtures/vcr_cassettes/express_checkout/configured.yml +40 -0
- data/fixtures/vcr_cassettes/express_checkout/unknown.yml +40 -0
- data/fixtures/vcr_cassettes/transitions/default/unknown/source_tree_id.yml +42 -0
- data/fixtures/vcr_cassettes/transitions/many.yml +42 -0
- data/fixtures/vcr_cassettes/transitions/one.yml +42 -0
- data/fixtures/vcr_cassettes/transitions/unknown/source_tree_id.yml +42 -0
- data/fixtures/vcr_cassettes/upgrade/default.yml +42 -0
- data/fixtures/vcr_cassettes/upgrade/noop.yml +42 -0
- data/fixtures/vcr_cassettes/upgrade/unknown/resource_id.yml +42 -0
- data/fixtures/vcr_cassettes/upgrade/unknown/resource_type.yml +42 -0
- data/fixtures/vcr_cassettes/upgrade/unknown/target_tree_id.yml +42 -0
- data/lib/ruby-ecomm-client.rb +10 -0
- data/lib/ruby-ecomm-client/client.rb +148 -0
- data/lib/ruby-ecomm-client/converter.rb +45 -0
- data/lib/ruby-ecomm-client/error.rb +12 -0
- data/lib/ruby-ecomm-client/version.rb +3 -0
- data/lib/ruby-ecomm-client/wsdl/manager.wsdl +296 -0
- data/lib/ruby-ecomm-client/wsdl/profile.wsdl +66 -0
- data/lib/ruby-ecomm-client/wsdl/purchase.wsdl +74 -0
- data/ruby-ecomm-client.gemspec +30 -0
- data/script/cibuild +10 -0
- data/spec/ruby-ecomm-client/client_spec.rb +297 -0
- data/spec/ruby-ecomm-client/converter_spec.rb +96 -0
- data/spec/ruby-ecomm-client/error_spec.rb +39 -0
- data/spec/spec_helper.rb +21 -0
- metadata +237 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.8.0
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
|
+
body:
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"><env:Body><tns:ChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='73541' ShopperID='255528'/></tns:AccountChangeXml><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceType>outright</tns:ResourceType><tns:ResourceID>e1dd6ab9-b072-11e3-9aad-005056953ce3</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
9
|
+
headers:
|
10
|
+
soapaction:
|
11
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
+
accept:
|
13
|
+
- "*/*"
|
14
|
+
content-length:
|
15
|
+
- "697"
|
16
|
+
content-type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
x-aspnet-version:
|
24
|
+
- 4.0.30319
|
25
|
+
server:
|
26
|
+
- Microsoft-IIS/7.0
|
27
|
+
connection:
|
28
|
+
- close
|
29
|
+
date:
|
30
|
+
- Wed, 26 Mar 2014 03:26:25 GMT
|
31
|
+
cache-control:
|
32
|
+
- private, max-age=0
|
33
|
+
content-length:
|
34
|
+
- "411"
|
35
|
+
x-powered-by:
|
36
|
+
- ASP.NET
|
37
|
+
content-type:
|
38
|
+
- text/xml; charset=utf-8
|
39
|
+
body:
|
40
|
+
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>-1</ChangeAccountRequestResult><ResultCode>-999</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
41
|
+
http_version: "1.1"
|
42
|
+
recorded_at: Wed, 26 Mar 2014 03:26:26 GMT
|
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.8.0
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: http://gdcomm.dev.glbt1.gdg/WSgdInstantPurchasePublic/Service.asmx
|
7
|
+
body:
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope 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/" xmlns:tns="http://tempuri.org/"><env:Body><tns:ShopperHasInstantPurchasePayment><tns:sShopperID>255528</tns:sShopperID></tns:ShopperHasInstantPurchasePayment></env:Body></env:Envelope>
|
9
|
+
headers:
|
10
|
+
soapaction:
|
11
|
+
- "\"http://tempuri.org/ShopperHasInstantPurchasePayment\""
|
12
|
+
content-length:
|
13
|
+
- "389"
|
14
|
+
content-type:
|
15
|
+
- text/xml;charset=UTF-8
|
16
|
+
accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
date:
|
24
|
+
- Wed, 26 Mar 2014 03:20:41 GMT
|
25
|
+
x-powered-by:
|
26
|
+
- ASP.NET
|
27
|
+
x-aspnet-version:
|
28
|
+
- 2.0.50727
|
29
|
+
server:
|
30
|
+
- Microsoft-IIS/7.0
|
31
|
+
content-length:
|
32
|
+
- "537"
|
33
|
+
cache-control:
|
34
|
+
- private, max-age=0
|
35
|
+
content-type:
|
36
|
+
- text/xml; charset=utf-8
|
37
|
+
body:
|
38
|
+
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><ShopperHasInstantPurchasePaymentResponse xmlns="http://tempuri.org/"><ShopperHasInstantPurchasePaymentResult><Status>SUCCESS</Status></ShopperHasInstantPurchasePaymentResult><bHasInstantPurchasePayment>true</bHasInstantPurchasePayment></ShopperHasInstantPurchasePaymentResponse></soap:Body></soap:Envelope>
|
39
|
+
http_version: "1.1"
|
40
|
+
recorded_at: Wed, 26 Mar 2014 03:20:42 GMT
|
@@ -0,0 +1,40 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.8.0
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: http://gdcomm.dev.glbt1.gdg/WSgdInstantPurchasePublic/Service.asmx
|
7
|
+
body:
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope 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/" xmlns:tns="http://tempuri.org/"><env:Body><tns:ShopperHasInstantPurchasePayment><tns:sShopperID>101010</tns:sShopperID></tns:ShopperHasInstantPurchasePayment></env:Body></env:Envelope>
|
9
|
+
headers:
|
10
|
+
soapaction:
|
11
|
+
- "\"http://tempuri.org/ShopperHasInstantPurchasePayment\""
|
12
|
+
content-length:
|
13
|
+
- "389"
|
14
|
+
content-type:
|
15
|
+
- text/xml;charset=UTF-8
|
16
|
+
accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
date:
|
24
|
+
- Wed, 26 Mar 2014 03:20:41 GMT
|
25
|
+
x-powered-by:
|
26
|
+
- ASP.NET
|
27
|
+
x-aspnet-version:
|
28
|
+
- 2.0.50727
|
29
|
+
server:
|
30
|
+
- Microsoft-IIS/7.0
|
31
|
+
content-length:
|
32
|
+
- "538"
|
33
|
+
cache-control:
|
34
|
+
- private, max-age=0
|
35
|
+
content-type:
|
36
|
+
- text/xml; charset=utf-8
|
37
|
+
body:
|
38
|
+
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><ShopperHasInstantPurchasePaymentResponse xmlns="http://tempuri.org/"><ShopperHasInstantPurchasePaymentResult><Status>SUCCESS</Status></ShopperHasInstantPurchasePaymentResult><bHasInstantPurchasePayment>false</bHasInstantPurchasePayment></ShopperHasInstantPurchasePaymentResponse></soap:Body></soap:Envelope>
|
39
|
+
http_version: "1.1"
|
40
|
+
recorded_at: Wed, 26 Mar 2014 03:20:42 GMT
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope 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/" xmlns:tns="#Bonsai"><env:Body><tns:GetAccountXml><tns:TreeID>87563</tns:TreeID><tns:IDType>ORION</tns:IDType><tns:ResourceType>outright</tns:ResourceType><tns:ResourceID>e1dd6ab9-b072-11e3-9aad-005056953ce3</tns:ResourceID><tns:PrivateLabelID>1</tns:PrivateLabelID></tns:GetAccountXml></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
content-length:
|
12
|
+
- "516"
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=UTF-8
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/GetAccountXml\""
|
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
|
+
cache-control:
|
27
|
+
- private, max-age=0
|
28
|
+
content-length:
|
29
|
+
- "338"
|
30
|
+
server:
|
31
|
+
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Wed, 26 Mar 2014 03:23:44 GMT
|
34
|
+
content-type:
|
35
|
+
- text/xml; charset=utf-8
|
36
|
+
x-powered-by:
|
37
|
+
- ASP.NET
|
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><GetAccountXmlResponse xmlns="#Bonsai"><ResultCode>-999</ResultCode></GetAccountXmlResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Wed, 26 Mar 2014 03:23:44 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope 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/" xmlns:tns="#Bonsai"><env:Body><tns:GetAccountXml><tns:TreeID>1735</tns:TreeID><tns:IDType>ORION</tns:IDType><tns:ResourceType>outright</tns:ResourceType><tns:ResourceID>e1dd6ab9-b072-11e3-9aad-005056953ce3</tns:ResourceID><tns:PrivateLabelID>1</tns:PrivateLabelID></tns:GetAccountXml></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
content-length:
|
12
|
+
- "515"
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=UTF-8
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/GetAccountXml\""
|
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
|
+
cache-control:
|
27
|
+
- private, max-age=0
|
28
|
+
content-length:
|
29
|
+
- "1626"
|
30
|
+
server:
|
31
|
+
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Wed, 26 Mar 2014 03:23:44 GMT
|
34
|
+
content-type:
|
35
|
+
- text/xml; charset=utf-8
|
36
|
+
x-powered-by:
|
37
|
+
- ASP.NET
|
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><GetAccountXmlResponse xmlns="#Bonsai"><ResultCode>0</ResultCode><AccountXml><Bonsai><Bonsai PrivateLabelID="1" ResourceID="e1dd6ab9-b072-11e3-9aad-005056953ce3" IsPastDue="False" IsFree="False" CurrentTreeID="1735" CurrentUnifiedProductID="2701" xmlns=""><Tree TreeID="1735" NodeID="1735" UnifiedProductID="2701" IsFree="False"><Transition NodeName="Outright - Monthly Plus" UnifiedProductID="2697" TreeID="1734" IsFree="False" NodeID="1734" /><Transition NodeName="Outright - Annual Plus 1 year" UnifiedProductID="2699" TreeID="1736" IsFree="False" NodeID="1736" /><Transition NodeName="Outright - Annual Plus 2 years" UnifiedProductID="2703" TreeID="1737" IsFree="False" NodeID="1737" /><Transition NodeName="Outright - Annual Plus 3 years" UnifiedProductID="2705" TreeID="1738" IsFree="False" NodeID="1738" /><Transition NodeName="Outright - Annual Plus 4 years" UnifiedProductID="2707" TreeID="1739" IsFree="False" NodeID="1739" /><Transition NodeName="Outright - Annual Plus 5 years" UnifiedProductID="2709" TreeID="1740" IsFree="False" NodeID="1740" /><FilteredTransitions /><Prepaid><Item Name="Prepaid Previous Tax - Outright" CategoryName="Prepaid Previous Tax" CategoryID="49" MinQty="1" MaxQty="-1" MinDuration="1" MaxDuration="-1" IsQuantityBased="False" Increment="1" UnifiedProductID="2711" /></Prepaid></Tree></Bonsai></Bonsai></AccountXml></GetAccountXmlResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Wed, 26 Mar 2014 03:23:45 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
6
|
+
body:
|
7
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope 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/" xmlns:tns="#Bonsai"><env:Body><tns:GetAccountXml><tns:TreeID>1734</tns:TreeID><tns:IDType>ORION</tns:IDType><tns:ResourceType>outright</tns:ResourceType><tns:ResourceID>e1dd6ab9-b072-11e3-9aad-005056953ce3</tns:ResourceID><tns:PrivateLabelID>1</tns:PrivateLabelID></tns:GetAccountXml></env:Body></env:Envelope>
|
8
|
+
headers:
|
9
|
+
accept:
|
10
|
+
- "*/*"
|
11
|
+
content-length:
|
12
|
+
- "515"
|
13
|
+
content-type:
|
14
|
+
- text/xml;charset=UTF-8
|
15
|
+
soapaction:
|
16
|
+
- "\"#Bonsai/GetAccountXml\""
|
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
|
+
cache-control:
|
27
|
+
- private, max-age=0
|
28
|
+
content-length:
|
29
|
+
- "768"
|
30
|
+
server:
|
31
|
+
- Microsoft-IIS/7.0
|
32
|
+
date:
|
33
|
+
- Wed, 26 Mar 2014 03:23:44 GMT
|
34
|
+
content-type:
|
35
|
+
- text/xml; charset=utf-8
|
36
|
+
x-powered-by:
|
37
|
+
- ASP.NET
|
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><GetAccountXmlResponse xmlns="#Bonsai"><ResultCode>0</ResultCode><AccountXml><Bonsai><Bonsai PrivateLabelID="1" ResourceID="e1dd6ab9-b072-11e3-9aad-005056953ce3" IsPastDue="False" IsFree="False" CurrentTreeID="1735" CurrentUnifiedProductID="2701" xmlns=""><Tree TreeID="1734" NodeID="1734" UnifiedProductID="2697" IsFree="False"><Transition NodeName="Outright - Free" UnifiedProductID="2701" TreeID="1735" IsFree="False" NodeID="1735" /><FilteredTransitions /></Tree></Bonsai></Bonsai></AccountXml></GetAccountXmlResponse></soap:Body></soap:Envelope>
|
40
|
+
http_version: "1.1"
|
41
|
+
recorded_at: Wed, 26 Mar 2014 03:23:45 GMT
|
42
|
+
recorded_with: VCR 2.8.0
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.8.0
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
|
+
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:GetAccountXml><tns:IDType>ORION</tns:IDType><tns:PrivateLabelID>1</tns:PrivateLabelID><tns:TreeID>87563</tns:TreeID><tns:ResourceType>outright</tns:ResourceType><tns:ResourceID>e1dd6ab9-b072-11e3-9aad-005056953ce3</tns:ResourceID></tns:GetAccountXml></env:Body></env:Envelope>
|
9
|
+
headers:
|
10
|
+
content-type:
|
11
|
+
- text/xml;charset=UTF-8
|
12
|
+
content-length:
|
13
|
+
- "516"
|
14
|
+
soapaction:
|
15
|
+
- "\"#Bonsai/GetAccountXml\""
|
16
|
+
accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
date:
|
24
|
+
- Wed, 26 Mar 2014 03:22:57 GMT
|
25
|
+
cache-control:
|
26
|
+
- private, max-age=0
|
27
|
+
server:
|
28
|
+
- Microsoft-IIS/7.0
|
29
|
+
content-length:
|
30
|
+
- "338"
|
31
|
+
connection:
|
32
|
+
- close
|
33
|
+
content-type:
|
34
|
+
- text/xml; charset=utf-8
|
35
|
+
x-powered-by:
|
36
|
+
- ASP.NET
|
37
|
+
x-aspnet-version:
|
38
|
+
- 4.0.30319
|
39
|
+
body:
|
40
|
+
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><GetAccountXmlResponse xmlns="#Bonsai"><ResultCode>-999</ResultCode></GetAccountXmlResponse></soap:Body></soap:Envelope>
|
41
|
+
http_version: "1.1"
|
42
|
+
recorded_at: Wed, 26 Mar 2014 03:22:57 GMT
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.8.0
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
|
+
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:ResourceType>outright</tns:ResourceType><tns:RenewalPFID>0</tns:RenewalPFID><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:ResourceID>e1dd6ab9-b072-11e3-9aad-005056953ce3</tns:ResourceID><tns:AccountChangeXml><ClientChange TreeID='1736' ShopperID='255528'/></tns:AccountChangeXml><tns:IDType>ORION</tns:IDType><tns:RenewalPeriods>0</tns:RenewalPeriods></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
9
|
+
headers:
|
10
|
+
content-length:
|
11
|
+
- "696"
|
12
|
+
soapaction:
|
13
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
14
|
+
content-type:
|
15
|
+
- text/xml;charset=UTF-8
|
16
|
+
accept:
|
17
|
+
- "*/*"
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
connection:
|
24
|
+
- close
|
25
|
+
x-powered-by:
|
26
|
+
- ASP.NET
|
27
|
+
x-aspnet-version:
|
28
|
+
- 4.0.30319
|
29
|
+
content-length:
|
30
|
+
- "407"
|
31
|
+
server:
|
32
|
+
- Microsoft-IIS/7.0
|
33
|
+
cache-control:
|
34
|
+
- private, max-age=0
|
35
|
+
content-type:
|
36
|
+
- text/xml; charset=utf-8
|
37
|
+
date:
|
38
|
+
- Wed, 26 Mar 2014 03:24:12 GMT
|
39
|
+
body:
|
40
|
+
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
|
+
http_version: "1.1"
|
42
|
+
recorded_at: Wed, 26 Mar 2014 03:24:12 GMT
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.8.0
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
|
+
body:
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"><env:Body><tns:ChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1735' ShopperID='255528'/></tns:AccountChangeXml><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceType>outright</tns:ResourceType><tns:ResourceID>e1dd6ab9-b072-11e3-9aad-005056953ce3</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
9
|
+
headers:
|
10
|
+
soapaction:
|
11
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
+
accept:
|
13
|
+
- "*/*"
|
14
|
+
content-length:
|
15
|
+
- "696"
|
16
|
+
content-type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
x-aspnet-version:
|
24
|
+
- 4.0.30319
|
25
|
+
server:
|
26
|
+
- Microsoft-IIS/7.0
|
27
|
+
connection:
|
28
|
+
- close
|
29
|
+
date:
|
30
|
+
- Wed, 26 Mar 2014 03:26:23 GMT
|
31
|
+
cache-control:
|
32
|
+
- private, max-age=0
|
33
|
+
content-length:
|
34
|
+
- "407"
|
35
|
+
x-powered-by:
|
36
|
+
- ASP.NET
|
37
|
+
content-type:
|
38
|
+
- text/xml; charset=utf-8
|
39
|
+
body:
|
40
|
+
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>1</ChangeAccountRequestResult><ResultCode>0</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
41
|
+
http_version: "1.1"
|
42
|
+
recorded_at: Wed, 26 Mar 2014 03:26:25 GMT
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.8.0
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
|
+
body:
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"><env:Body><tns:ChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1736' ShopperID='255528'/></tns:AccountChangeXml><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceType>outright</tns:ResourceType><tns:ResourceID>unknown</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
9
|
+
headers:
|
10
|
+
soapaction:
|
11
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
+
accept:
|
13
|
+
- "*/*"
|
14
|
+
content-length:
|
15
|
+
- "667"
|
16
|
+
content-type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
x-aspnet-version:
|
24
|
+
- 4.0.30319
|
25
|
+
server:
|
26
|
+
- Microsoft-IIS/7.0
|
27
|
+
connection:
|
28
|
+
- close
|
29
|
+
date:
|
30
|
+
- Wed, 26 Mar 2014 03:26:23 GMT
|
31
|
+
cache-control:
|
32
|
+
- private, max-age=0
|
33
|
+
content-length:
|
34
|
+
- "411"
|
35
|
+
x-powered-by:
|
36
|
+
- ASP.NET
|
37
|
+
content-type:
|
38
|
+
- text/xml; charset=utf-8
|
39
|
+
body:
|
40
|
+
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>-1</ChangeAccountRequestResult><ResultCode>-304</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
41
|
+
http_version: "1.1"
|
42
|
+
recorded_at: Wed, 26 Mar 2014 03:26:24 GMT
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
recorded_with: VCR 2.8.0
|
3
|
+
http_interactions:
|
4
|
+
- request:
|
5
|
+
method: post
|
6
|
+
uri: http://bonsai.dev.glbt1.gdg/bonsai/bonsaimanager/service.asmx
|
7
|
+
body:
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="#Bonsai"><env:Body><tns:ChangeAccountRequest><tns:RenewalPFID>0</tns:RenewalPFID><tns:IDType>ORION</tns:IDType><tns:ItemRequestXml><itemRequest/></tns:ItemRequestXml><tns:AccountChangeXml><ClientChange TreeID='1736' ShopperID='255528'/></tns:AccountChangeXml><tns:RenewalPeriods>0</tns:RenewalPeriods><tns:ResourceType>flugel</tns:ResourceType><tns:ResourceID>e1dd6ab9-b072-11e3-9aad-005056953ce3</tns:ResourceID></tns:ChangeAccountRequest></env:Body></env:Envelope>
|
9
|
+
headers:
|
10
|
+
soapaction:
|
11
|
+
- "\"#Bonsai/ChangeAccountRequest\""
|
12
|
+
accept:
|
13
|
+
- "*/*"
|
14
|
+
content-length:
|
15
|
+
- "694"
|
16
|
+
content-type:
|
17
|
+
- text/xml;charset=UTF-8
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
x-aspnet-version:
|
24
|
+
- 4.0.30319
|
25
|
+
server:
|
26
|
+
- Microsoft-IIS/7.0
|
27
|
+
connection:
|
28
|
+
- close
|
29
|
+
date:
|
30
|
+
- Wed, 26 Mar 2014 03:26:23 GMT
|
31
|
+
cache-control:
|
32
|
+
- private, max-age=0
|
33
|
+
content-length:
|
34
|
+
- "411"
|
35
|
+
x-powered-by:
|
36
|
+
- ASP.NET
|
37
|
+
content-type:
|
38
|
+
- text/xml; charset=utf-8
|
39
|
+
body:
|
40
|
+
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>-1</ChangeAccountRequestResult><ResultCode>-100</ResultCode></ChangeAccountRequestResponse></soap:Body></soap:Envelope>
|
41
|
+
http_version: "1.1"
|
42
|
+
recorded_at: Wed, 26 Mar 2014 03:26:24 GMT
|