tax_cloud 0.1.1 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +11 -0
- data/Rakefile +8 -6
- data/lib/tax_cloud/transaction.rb +15 -0
- data/lib/tax_cloud/version.rb +1 -1
- data/tax_cloud.gemspec +9 -8
- data/test/cassettes/authorized.yml +63 -0
- data/test/cassettes/authorized_with_capture.yml +63 -0
- data/test/cassettes/captured.yml +94 -0
- data/test/cassettes/lookup.yml +32 -0
- data/test/cassettes/returned.yml +94 -0
- data/test/cassettes/verify_bad_address.yml +993 -0
- data/test/cassettes/verify_good_address.yml +32 -0
- data/test/helper.rb +9 -0
- data/test/test_address.rb +16 -6
- data/test/test_transaction.rb +29 -12
- metadata +44 -18
@@ -0,0 +1,993 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: https://api.taxcloud.net:443/1.0/?wsdl
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
response: !ruby/struct:VCR::Response
|
9
|
+
status: !ruby/struct:VCR::ResponseStatus
|
10
|
+
code: 200
|
11
|
+
message: OK
|
12
|
+
headers:
|
13
|
+
cache-control:
|
14
|
+
- private, max-age=0
|
15
|
+
content-type:
|
16
|
+
- text/xml; charset=utf-8
|
17
|
+
server:
|
18
|
+
- Microsoft-IIS/7.0
|
19
|
+
x-aspnet-version:
|
20
|
+
- 2.0.50727
|
21
|
+
x-powered-by:
|
22
|
+
- TaxCloud
|
23
|
+
date:
|
24
|
+
- Sat, 17 Sep 2011 19:21:53 GMT
|
25
|
+
content-length:
|
26
|
+
- "42282"
|
27
|
+
body: |-
|
28
|
+
<?xml version="1.0" encoding="utf-8"?>
|
29
|
+
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://taxcloud.net" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://taxcloud.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
30
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">TaxCloud Web Service</wsdl:documentation>
|
31
|
+
<wsdl:types>
|
32
|
+
<s:schema elementFormDefault="qualified" targetNamespace="http://taxcloud.net">
|
33
|
+
<s:element name="VerifyAddress">
|
34
|
+
<s:complexType>
|
35
|
+
<s:sequence>
|
36
|
+
<s:element minOccurs="0" maxOccurs="1" name="uspsUserID" type="s:string" />
|
37
|
+
<s:element minOccurs="0" maxOccurs="1" name="address1" type="s:string" />
|
38
|
+
<s:element minOccurs="0" maxOccurs="1" name="address2" type="s:string" />
|
39
|
+
<s:element minOccurs="0" maxOccurs="1" name="city" type="s:string" />
|
40
|
+
<s:element minOccurs="0" maxOccurs="1" name="state" type="s:string" />
|
41
|
+
<s:element minOccurs="0" maxOccurs="1" name="zip5" type="s:string" />
|
42
|
+
<s:element minOccurs="0" maxOccurs="1" name="zip4" type="s:string" />
|
43
|
+
</s:sequence>
|
44
|
+
</s:complexType>
|
45
|
+
</s:element>
|
46
|
+
<s:element name="VerifyAddressResponse">
|
47
|
+
<s:complexType>
|
48
|
+
<s:sequence>
|
49
|
+
<s:element minOccurs="0" maxOccurs="1" name="VerifyAddressResult" type="tns:VerifiedAddress" />
|
50
|
+
</s:sequence>
|
51
|
+
</s:complexType>
|
52
|
+
</s:element>
|
53
|
+
<s:complexType name="VerifiedAddress">
|
54
|
+
<s:complexContent mixed="false">
|
55
|
+
<s:extension base="tns:Address">
|
56
|
+
<s:sequence>
|
57
|
+
<s:element minOccurs="0" maxOccurs="1" name="ErrNumber" type="s:string" />
|
58
|
+
<s:element minOccurs="0" maxOccurs="1" name="ErrDescription" type="s:string" />
|
59
|
+
</s:sequence>
|
60
|
+
</s:extension>
|
61
|
+
</s:complexContent>
|
62
|
+
</s:complexType>
|
63
|
+
<s:complexType name="Address">
|
64
|
+
<s:sequence>
|
65
|
+
<s:element minOccurs="0" maxOccurs="1" name="Address1" type="s:string" />
|
66
|
+
<s:element minOccurs="0" maxOccurs="1" name="Address2" type="s:string" />
|
67
|
+
<s:element minOccurs="0" maxOccurs="1" name="City" type="s:string" />
|
68
|
+
<s:element minOccurs="0" maxOccurs="1" name="State" type="s:string" />
|
69
|
+
<s:element minOccurs="0" maxOccurs="1" name="Zip5" type="s:string" />
|
70
|
+
<s:element minOccurs="0" maxOccurs="1" name="Zip4" type="s:string" />
|
71
|
+
</s:sequence>
|
72
|
+
</s:complexType>
|
73
|
+
<s:element name="LookupForDate">
|
74
|
+
<s:complexType>
|
75
|
+
<s:sequence>
|
76
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
77
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
78
|
+
<s:element minOccurs="0" maxOccurs="1" name="customerID" type="s:string" />
|
79
|
+
<s:element minOccurs="0" maxOccurs="1" name="cartID" type="s:string" />
|
80
|
+
<s:element minOccurs="0" maxOccurs="1" name="cartItems" type="tns:ArrayOfCartItem" />
|
81
|
+
<s:element minOccurs="0" maxOccurs="1" name="origin" type="tns:Address" />
|
82
|
+
<s:element minOccurs="0" maxOccurs="1" name="destination" type="tns:Address" />
|
83
|
+
<s:element minOccurs="1" maxOccurs="1" name="deliveredBySeller" type="s:boolean" />
|
84
|
+
<s:element minOccurs="0" maxOccurs="1" name="exemptCert" type="tns:ExemptionCertificate" />
|
85
|
+
<s:element minOccurs="1" maxOccurs="1" name="useDate" type="s:dateTime" />
|
86
|
+
</s:sequence>
|
87
|
+
</s:complexType>
|
88
|
+
</s:element>
|
89
|
+
<s:complexType name="ArrayOfCartItem">
|
90
|
+
<s:sequence>
|
91
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="CartItem" nillable="true" type="tns:CartItem" />
|
92
|
+
</s:sequence>
|
93
|
+
</s:complexType>
|
94
|
+
<s:complexType name="CartItem">
|
95
|
+
<s:sequence>
|
96
|
+
<s:element minOccurs="1" maxOccurs="1" name="Index" type="s:int" />
|
97
|
+
<s:element minOccurs="0" maxOccurs="1" name="ItemID" type="s:string" />
|
98
|
+
<s:element minOccurs="1" maxOccurs="1" name="TIC" type="s:int" />
|
99
|
+
<s:element minOccurs="1" maxOccurs="1" name="Price" type="s:double" />
|
100
|
+
<s:element minOccurs="1" maxOccurs="1" name="Qty" type="s:float" />
|
101
|
+
</s:sequence>
|
102
|
+
</s:complexType>
|
103
|
+
<s:complexType name="ExemptionCertificate">
|
104
|
+
<s:sequence>
|
105
|
+
<s:element minOccurs="0" maxOccurs="1" name="CertificateID" type="s:string" />
|
106
|
+
<s:element minOccurs="0" maxOccurs="1" name="Detail" type="tns:ExemptionCertificateDetail" />
|
107
|
+
</s:sequence>
|
108
|
+
</s:complexType>
|
109
|
+
<s:complexType name="ExemptionCertificateDetail">
|
110
|
+
<s:sequence>
|
111
|
+
<s:element minOccurs="0" maxOccurs="1" name="ExemptStates" type="tns:ArrayOfExemptState" />
|
112
|
+
<s:element minOccurs="1" maxOccurs="1" name="SinglePurchase" type="s:boolean" />
|
113
|
+
<s:element minOccurs="0" maxOccurs="1" name="SinglePurchaseOrderNumber" type="s:string" />
|
114
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserFirstName" type="s:string" />
|
115
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserLastName" type="s:string" />
|
116
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserTitle" type="s:string" />
|
117
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserAddress1" type="s:string" />
|
118
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserAddress2" type="s:string" />
|
119
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserCity" type="s:string" />
|
120
|
+
<s:element minOccurs="1" maxOccurs="1" name="PurchaserState" type="tns:State" />
|
121
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserZip" type="s:string" />
|
122
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserTaxID" type="tns:TaxID" />
|
123
|
+
<s:element minOccurs="1" maxOccurs="1" name="PurchaserBusinessType" type="tns:BusinessType" />
|
124
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserBusinessTypeOtherValue" type="s:string" />
|
125
|
+
<s:element minOccurs="1" maxOccurs="1" name="PurchaserExemptionReason" type="tns:ExemptionReason" />
|
126
|
+
<s:element minOccurs="0" maxOccurs="1" name="PurchaserExemptionReasonValue" type="s:string" />
|
127
|
+
<s:element minOccurs="1" maxOccurs="1" name="CreatedDate" type="s:dateTime" />
|
128
|
+
</s:sequence>
|
129
|
+
</s:complexType>
|
130
|
+
<s:complexType name="ArrayOfExemptState">
|
131
|
+
<s:sequence>
|
132
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="ExemptState" nillable="true" type="tns:ExemptState" />
|
133
|
+
</s:sequence>
|
134
|
+
</s:complexType>
|
135
|
+
<s:complexType name="ExemptState">
|
136
|
+
<s:sequence>
|
137
|
+
<s:element minOccurs="1" maxOccurs="1" name="StateAbbr" type="tns:State" />
|
138
|
+
<s:element minOccurs="0" maxOccurs="1" name="ReasonForExemption" type="s:string" />
|
139
|
+
<s:element minOccurs="0" maxOccurs="1" name="IdentificationNumber" type="s:string" />
|
140
|
+
</s:sequence>
|
141
|
+
</s:complexType>
|
142
|
+
<s:simpleType name="State">
|
143
|
+
<s:restriction base="s:string">
|
144
|
+
<s:enumeration value="AL" />
|
145
|
+
<s:enumeration value="AK" />
|
146
|
+
<s:enumeration value="AZ" />
|
147
|
+
<s:enumeration value="AR" />
|
148
|
+
<s:enumeration value="CA" />
|
149
|
+
<s:enumeration value="CO" />
|
150
|
+
<s:enumeration value="CT" />
|
151
|
+
<s:enumeration value="DE" />
|
152
|
+
<s:enumeration value="DC" />
|
153
|
+
<s:enumeration value="FL" />
|
154
|
+
<s:enumeration value="GA" />
|
155
|
+
<s:enumeration value="HI" />
|
156
|
+
<s:enumeration value="ID" />
|
157
|
+
<s:enumeration value="IL" />
|
158
|
+
<s:enumeration value="IN" />
|
159
|
+
<s:enumeration value="IA" />
|
160
|
+
<s:enumeration value="KS" />
|
161
|
+
<s:enumeration value="KY" />
|
162
|
+
<s:enumeration value="LA" />
|
163
|
+
<s:enumeration value="ME" />
|
164
|
+
<s:enumeration value="MD" />
|
165
|
+
<s:enumeration value="MA" />
|
166
|
+
<s:enumeration value="MI" />
|
167
|
+
<s:enumeration value="MN" />
|
168
|
+
<s:enumeration value="MS" />
|
169
|
+
<s:enumeration value="MO" />
|
170
|
+
<s:enumeration value="MT" />
|
171
|
+
<s:enumeration value="NE" />
|
172
|
+
<s:enumeration value="NV" />
|
173
|
+
<s:enumeration value="NH" />
|
174
|
+
<s:enumeration value="NJ" />
|
175
|
+
<s:enumeration value="NM" />
|
176
|
+
<s:enumeration value="NY" />
|
177
|
+
<s:enumeration value="NC" />
|
178
|
+
<s:enumeration value="ND" />
|
179
|
+
<s:enumeration value="OH" />
|
180
|
+
<s:enumeration value="OK" />
|
181
|
+
<s:enumeration value="OR" />
|
182
|
+
<s:enumeration value="PA" />
|
183
|
+
<s:enumeration value="RI" />
|
184
|
+
<s:enumeration value="SC" />
|
185
|
+
<s:enumeration value="SD" />
|
186
|
+
<s:enumeration value="TN" />
|
187
|
+
<s:enumeration value="TX" />
|
188
|
+
<s:enumeration value="UT" />
|
189
|
+
<s:enumeration value="VT" />
|
190
|
+
<s:enumeration value="VA" />
|
191
|
+
<s:enumeration value="WA" />
|
192
|
+
<s:enumeration value="WV" />
|
193
|
+
<s:enumeration value="WI" />
|
194
|
+
<s:enumeration value="WY" />
|
195
|
+
</s:restriction>
|
196
|
+
</s:simpleType>
|
197
|
+
<s:complexType name="TaxID">
|
198
|
+
<s:sequence>
|
199
|
+
<s:element minOccurs="1" maxOccurs="1" name="TaxType" type="tns:TaxIDType" />
|
200
|
+
<s:element minOccurs="0" maxOccurs="1" name="IDNumber" type="s:string" />
|
201
|
+
<s:element minOccurs="0" maxOccurs="1" name="StateOfIssue" type="s:string" />
|
202
|
+
</s:sequence>
|
203
|
+
</s:complexType>
|
204
|
+
<s:simpleType name="TaxIDType">
|
205
|
+
<s:restriction base="s:string">
|
206
|
+
<s:enumeration value="SSN" />
|
207
|
+
<s:enumeration value="FEIN" />
|
208
|
+
<s:enumeration value="StateIssued" />
|
209
|
+
<s:enumeration value="ForeignDiplomat" />
|
210
|
+
</s:restriction>
|
211
|
+
</s:simpleType>
|
212
|
+
<s:simpleType name="BusinessType">
|
213
|
+
<s:restriction base="s:string">
|
214
|
+
<s:enumeration value="AccommodationAndFoodServices" />
|
215
|
+
<s:enumeration value="Agricultural_Forestry_Fishing_Hunting" />
|
216
|
+
<s:enumeration value="Construction" />
|
217
|
+
<s:enumeration value="FinanceAndInsurance" />
|
218
|
+
<s:enumeration value="Information_PublishingAndCommunications" />
|
219
|
+
<s:enumeration value="Manufacturing" />
|
220
|
+
<s:enumeration value="Mining" />
|
221
|
+
<s:enumeration value="RealEstate" />
|
222
|
+
<s:enumeration value="RentalAndLeasing" />
|
223
|
+
<s:enumeration value="RetailTrade" />
|
224
|
+
<s:enumeration value="TransportationAndWarehousing" />
|
225
|
+
<s:enumeration value="Utilities" />
|
226
|
+
<s:enumeration value="WholesaleTrade" />
|
227
|
+
<s:enumeration value="BusinessServices" />
|
228
|
+
<s:enumeration value="ProfessionalServices" />
|
229
|
+
<s:enumeration value="EducationAndHealthCareServices" />
|
230
|
+
<s:enumeration value="NonprofitOrganization" />
|
231
|
+
<s:enumeration value="Government" />
|
232
|
+
<s:enumeration value="NotABusiness" />
|
233
|
+
<s:enumeration value="Other" />
|
234
|
+
</s:restriction>
|
235
|
+
</s:simpleType>
|
236
|
+
<s:simpleType name="ExemptionReason">
|
237
|
+
<s:restriction base="s:string">
|
238
|
+
<s:enumeration value="FederalGovernmentDepartment" />
|
239
|
+
<s:enumeration value="StateOrLocalGovernmentName" />
|
240
|
+
<s:enumeration value="TribalGovernmentName" />
|
241
|
+
<s:enumeration value="ForeignDiplomat" />
|
242
|
+
<s:enumeration value="CharitableOrganization" />
|
243
|
+
<s:enumeration value="ReligiousOrEducationalOrganization" />
|
244
|
+
<s:enumeration value="Resale" />
|
245
|
+
<s:enumeration value="AgriculturalProduction" />
|
246
|
+
<s:enumeration value="IndustrialProductionOrManufacturing" />
|
247
|
+
<s:enumeration value="DirectPayPermit" />
|
248
|
+
<s:enumeration value="DirectMail" />
|
249
|
+
<s:enumeration value="Other" />
|
250
|
+
</s:restriction>
|
251
|
+
</s:simpleType>
|
252
|
+
<s:element name="LookupForDateResponse">
|
253
|
+
<s:complexType>
|
254
|
+
<s:sequence>
|
255
|
+
<s:element minOccurs="0" maxOccurs="1" name="LookupForDateResult" type="tns:LookupRsp" />
|
256
|
+
</s:sequence>
|
257
|
+
</s:complexType>
|
258
|
+
</s:element>
|
259
|
+
<s:complexType name="LookupRsp">
|
260
|
+
<s:complexContent mixed="false">
|
261
|
+
<s:extension base="tns:ResponseBase">
|
262
|
+
<s:sequence>
|
263
|
+
<s:element minOccurs="0" maxOccurs="1" name="CartID" type="s:string" />
|
264
|
+
<s:element minOccurs="0" maxOccurs="1" name="CartItemsResponse" type="tns:ArrayOfCartItemResponse" />
|
265
|
+
</s:sequence>
|
266
|
+
</s:extension>
|
267
|
+
</s:complexContent>
|
268
|
+
</s:complexType>
|
269
|
+
<s:complexType name="ResponseBase">
|
270
|
+
<s:sequence>
|
271
|
+
<s:element minOccurs="1" maxOccurs="1" name="ResponseType" type="tns:MessageType" />
|
272
|
+
<s:element minOccurs="0" maxOccurs="1" name="Messages" type="tns:ArrayOfResponseMessage" />
|
273
|
+
</s:sequence>
|
274
|
+
</s:complexType>
|
275
|
+
<s:simpleType name="MessageType">
|
276
|
+
<s:restriction base="s:string">
|
277
|
+
<s:enumeration value="Error" />
|
278
|
+
<s:enumeration value="Warning" />
|
279
|
+
<s:enumeration value="Informational" />
|
280
|
+
<s:enumeration value="OK" />
|
281
|
+
</s:restriction>
|
282
|
+
</s:simpleType>
|
283
|
+
<s:complexType name="ArrayOfResponseMessage">
|
284
|
+
<s:sequence>
|
285
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="ResponseMessage" nillable="true" type="tns:ResponseMessage" />
|
286
|
+
</s:sequence>
|
287
|
+
</s:complexType>
|
288
|
+
<s:complexType name="ResponseMessage">
|
289
|
+
<s:sequence>
|
290
|
+
<s:element minOccurs="1" maxOccurs="1" name="ResponseType" type="tns:MessageType" />
|
291
|
+
<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string" />
|
292
|
+
</s:sequence>
|
293
|
+
</s:complexType>
|
294
|
+
<s:complexType name="ArrayOfCartItemResponse">
|
295
|
+
<s:sequence>
|
296
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="CartItemResponse" nillable="true" type="tns:CartItemResponse" />
|
297
|
+
</s:sequence>
|
298
|
+
</s:complexType>
|
299
|
+
<s:complexType name="CartItemResponse">
|
300
|
+
<s:sequence>
|
301
|
+
<s:element minOccurs="1" maxOccurs="1" name="CartItemIndex" type="s:int" />
|
302
|
+
<s:element minOccurs="1" maxOccurs="1" name="TaxAmount" type="s:float" />
|
303
|
+
</s:sequence>
|
304
|
+
</s:complexType>
|
305
|
+
<s:element name="Lookup">
|
306
|
+
<s:complexType>
|
307
|
+
<s:sequence>
|
308
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
309
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
310
|
+
<s:element minOccurs="0" maxOccurs="1" name="customerID" type="s:string" />
|
311
|
+
<s:element minOccurs="0" maxOccurs="1" name="cartID" type="s:string" />
|
312
|
+
<s:element minOccurs="0" maxOccurs="1" name="cartItems" type="tns:ArrayOfCartItem" />
|
313
|
+
<s:element minOccurs="0" maxOccurs="1" name="origin" type="tns:Address" />
|
314
|
+
<s:element minOccurs="0" maxOccurs="1" name="destination" type="tns:Address" />
|
315
|
+
<s:element minOccurs="1" maxOccurs="1" name="deliveredBySeller" type="s:boolean" />
|
316
|
+
<s:element minOccurs="0" maxOccurs="1" name="exemptCert" type="tns:ExemptionCertificate" />
|
317
|
+
</s:sequence>
|
318
|
+
</s:complexType>
|
319
|
+
</s:element>
|
320
|
+
<s:element name="LookupResponse">
|
321
|
+
<s:complexType>
|
322
|
+
<s:sequence>
|
323
|
+
<s:element minOccurs="0" maxOccurs="1" name="LookupResult" type="tns:LookupRsp" />
|
324
|
+
</s:sequence>
|
325
|
+
</s:complexType>
|
326
|
+
</s:element>
|
327
|
+
<s:element name="Authorized">
|
328
|
+
<s:complexType>
|
329
|
+
<s:sequence>
|
330
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
331
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
332
|
+
<s:element minOccurs="0" maxOccurs="1" name="customerID" type="s:string" />
|
333
|
+
<s:element minOccurs="0" maxOccurs="1" name="cartID" type="s:string" />
|
334
|
+
<s:element minOccurs="0" maxOccurs="1" name="orderID" type="s:string" />
|
335
|
+
<s:element minOccurs="1" maxOccurs="1" name="dateAuthorized" type="s:dateTime" />
|
336
|
+
</s:sequence>
|
337
|
+
</s:complexType>
|
338
|
+
</s:element>
|
339
|
+
<s:element name="AuthorizedResponse">
|
340
|
+
<s:complexType>
|
341
|
+
<s:sequence>
|
342
|
+
<s:element minOccurs="0" maxOccurs="1" name="AuthorizedResult" type="tns:AuthorizedRsp" />
|
343
|
+
</s:sequence>
|
344
|
+
</s:complexType>
|
345
|
+
</s:element>
|
346
|
+
<s:complexType name="AuthorizedRsp">
|
347
|
+
<s:complexContent mixed="false">
|
348
|
+
<s:extension base="tns:ResponseBase" />
|
349
|
+
</s:complexContent>
|
350
|
+
</s:complexType>
|
351
|
+
<s:element name="AuthorizedWithCapture">
|
352
|
+
<s:complexType>
|
353
|
+
<s:sequence>
|
354
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
355
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
356
|
+
<s:element minOccurs="0" maxOccurs="1" name="customerID" type="s:string" />
|
357
|
+
<s:element minOccurs="0" maxOccurs="1" name="cartID" type="s:string" />
|
358
|
+
<s:element minOccurs="0" maxOccurs="1" name="orderID" type="s:string" />
|
359
|
+
<s:element minOccurs="1" maxOccurs="1" name="dateAuthorized" type="s:dateTime" />
|
360
|
+
<s:element minOccurs="1" maxOccurs="1" name="dateCaptured" type="s:dateTime" />
|
361
|
+
</s:sequence>
|
362
|
+
</s:complexType>
|
363
|
+
</s:element>
|
364
|
+
<s:element name="AuthorizedWithCaptureResponse">
|
365
|
+
<s:complexType>
|
366
|
+
<s:sequence>
|
367
|
+
<s:element minOccurs="0" maxOccurs="1" name="AuthorizedWithCaptureResult" type="tns:AuthorizedRsp" />
|
368
|
+
</s:sequence>
|
369
|
+
</s:complexType>
|
370
|
+
</s:element>
|
371
|
+
<s:element name="Captured">
|
372
|
+
<s:complexType>
|
373
|
+
<s:sequence>
|
374
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
375
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
376
|
+
<s:element minOccurs="0" maxOccurs="1" name="orderID" type="s:string" />
|
377
|
+
</s:sequence>
|
378
|
+
</s:complexType>
|
379
|
+
</s:element>
|
380
|
+
<s:element name="CapturedResponse">
|
381
|
+
<s:complexType>
|
382
|
+
<s:sequence>
|
383
|
+
<s:element minOccurs="0" maxOccurs="1" name="CapturedResult" type="tns:CapturedRsp" />
|
384
|
+
</s:sequence>
|
385
|
+
</s:complexType>
|
386
|
+
</s:element>
|
387
|
+
<s:complexType name="CapturedRsp">
|
388
|
+
<s:complexContent mixed="false">
|
389
|
+
<s:extension base="tns:ResponseBase" />
|
390
|
+
</s:complexContent>
|
391
|
+
</s:complexType>
|
392
|
+
<s:element name="Returned">
|
393
|
+
<s:complexType>
|
394
|
+
<s:sequence>
|
395
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
396
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
397
|
+
<s:element minOccurs="0" maxOccurs="1" name="orderID" type="s:string" />
|
398
|
+
<s:element minOccurs="0" maxOccurs="1" name="cartItems" type="tns:ArrayOfCartItem" />
|
399
|
+
<s:element minOccurs="1" maxOccurs="1" name="returnedDate" type="s:dateTime" />
|
400
|
+
</s:sequence>
|
401
|
+
</s:complexType>
|
402
|
+
</s:element>
|
403
|
+
<s:element name="ReturnedResponse">
|
404
|
+
<s:complexType>
|
405
|
+
<s:sequence>
|
406
|
+
<s:element minOccurs="0" maxOccurs="1" name="ReturnedResult" type="tns:ReturnedRsp" />
|
407
|
+
</s:sequence>
|
408
|
+
</s:complexType>
|
409
|
+
</s:element>
|
410
|
+
<s:complexType name="ReturnedRsp">
|
411
|
+
<s:complexContent mixed="false">
|
412
|
+
<s:extension base="tns:ResponseBase" />
|
413
|
+
</s:complexContent>
|
414
|
+
</s:complexType>
|
415
|
+
<s:element name="GetTICGroups">
|
416
|
+
<s:complexType>
|
417
|
+
<s:sequence>
|
418
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
419
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
420
|
+
</s:sequence>
|
421
|
+
</s:complexType>
|
422
|
+
</s:element>
|
423
|
+
<s:element name="GetTICGroupsResponse">
|
424
|
+
<s:complexType>
|
425
|
+
<s:sequence>
|
426
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetTICGroupsResult" type="tns:GetTICGroupsRsp" />
|
427
|
+
</s:sequence>
|
428
|
+
</s:complexType>
|
429
|
+
</s:element>
|
430
|
+
<s:complexType name="GetTICGroupsRsp">
|
431
|
+
<s:complexContent mixed="false">
|
432
|
+
<s:extension base="tns:ResponseBase">
|
433
|
+
<s:sequence>
|
434
|
+
<s:element minOccurs="0" maxOccurs="1" name="TICGroups" type="tns:ArrayOfTICGroup" />
|
435
|
+
</s:sequence>
|
436
|
+
</s:extension>
|
437
|
+
</s:complexContent>
|
438
|
+
</s:complexType>
|
439
|
+
<s:complexType name="ArrayOfTICGroup">
|
440
|
+
<s:sequence>
|
441
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="TICGroup" nillable="true" type="tns:TICGroup" />
|
442
|
+
</s:sequence>
|
443
|
+
</s:complexType>
|
444
|
+
<s:complexType name="TICGroup">
|
445
|
+
<s:sequence>
|
446
|
+
<s:element minOccurs="1" maxOccurs="1" name="GroupID" type="s:int" />
|
447
|
+
<s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
|
448
|
+
</s:sequence>
|
449
|
+
</s:complexType>
|
450
|
+
<s:element name="GetTICs">
|
451
|
+
<s:complexType>
|
452
|
+
<s:sequence>
|
453
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
454
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
455
|
+
</s:sequence>
|
456
|
+
</s:complexType>
|
457
|
+
</s:element>
|
458
|
+
<s:element name="GetTICsResponse">
|
459
|
+
<s:complexType>
|
460
|
+
<s:sequence>
|
461
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetTICsResult" type="tns:GetTICsRsp" />
|
462
|
+
</s:sequence>
|
463
|
+
</s:complexType>
|
464
|
+
</s:element>
|
465
|
+
<s:complexType name="GetTICsRsp">
|
466
|
+
<s:complexContent mixed="false">
|
467
|
+
<s:extension base="tns:ResponseBase">
|
468
|
+
<s:sequence>
|
469
|
+
<s:element minOccurs="0" maxOccurs="1" name="TICs" type="tns:ArrayOfTIC" />
|
470
|
+
</s:sequence>
|
471
|
+
</s:extension>
|
472
|
+
</s:complexContent>
|
473
|
+
</s:complexType>
|
474
|
+
<s:complexType name="ArrayOfTIC">
|
475
|
+
<s:sequence>
|
476
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="TIC" nillable="true" type="tns:TIC" />
|
477
|
+
</s:sequence>
|
478
|
+
</s:complexType>
|
479
|
+
<s:complexType name="TIC">
|
480
|
+
<s:sequence>
|
481
|
+
<s:element minOccurs="1" maxOccurs="1" name="TICID" type="s:int" />
|
482
|
+
<s:element minOccurs="0" maxOccurs="1" name="Description" type="s:string" />
|
483
|
+
</s:sequence>
|
484
|
+
</s:complexType>
|
485
|
+
<s:element name="GetTICsByGroup">
|
486
|
+
<s:complexType>
|
487
|
+
<s:sequence>
|
488
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
489
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
490
|
+
<s:element minOccurs="1" maxOccurs="1" name="ticGroup" type="s:int" />
|
491
|
+
</s:sequence>
|
492
|
+
</s:complexType>
|
493
|
+
</s:element>
|
494
|
+
<s:element name="GetTICsByGroupResponse">
|
495
|
+
<s:complexType>
|
496
|
+
<s:sequence>
|
497
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetTICsByGroupResult" type="tns:GetTICsRsp" />
|
498
|
+
</s:sequence>
|
499
|
+
</s:complexType>
|
500
|
+
</s:element>
|
501
|
+
<s:element name="AddExemptCertificate">
|
502
|
+
<s:complexType>
|
503
|
+
<s:sequence>
|
504
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
505
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
506
|
+
<s:element minOccurs="0" maxOccurs="1" name="customerID" type="s:string" />
|
507
|
+
<s:element minOccurs="0" maxOccurs="1" name="exemptCert" type="tns:ExemptionCertificate" />
|
508
|
+
</s:sequence>
|
509
|
+
</s:complexType>
|
510
|
+
</s:element>
|
511
|
+
<s:element name="AddExemptCertificateResponse">
|
512
|
+
<s:complexType>
|
513
|
+
<s:sequence>
|
514
|
+
<s:element minOccurs="0" maxOccurs="1" name="AddExemptCertificateResult" type="tns:AddCertificateRsp" />
|
515
|
+
</s:sequence>
|
516
|
+
</s:complexType>
|
517
|
+
</s:element>
|
518
|
+
<s:complexType name="AddCertificateRsp">
|
519
|
+
<s:complexContent mixed="false">
|
520
|
+
<s:extension base="tns:ResponseBase">
|
521
|
+
<s:sequence>
|
522
|
+
<s:element minOccurs="0" maxOccurs="1" name="CertificateID" type="s:string" />
|
523
|
+
</s:sequence>
|
524
|
+
</s:extension>
|
525
|
+
</s:complexContent>
|
526
|
+
</s:complexType>
|
527
|
+
<s:element name="DeleteExemptCertificate">
|
528
|
+
<s:complexType>
|
529
|
+
<s:sequence>
|
530
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
531
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
532
|
+
<s:element minOccurs="0" maxOccurs="1" name="certificateID" type="s:string" />
|
533
|
+
</s:sequence>
|
534
|
+
</s:complexType>
|
535
|
+
</s:element>
|
536
|
+
<s:element name="DeleteExemptCertificateResponse">
|
537
|
+
<s:complexType>
|
538
|
+
<s:sequence>
|
539
|
+
<s:element minOccurs="0" maxOccurs="1" name="DeleteExemptCertificateResult" type="tns:DeleteCertificateRsp" />
|
540
|
+
</s:sequence>
|
541
|
+
</s:complexType>
|
542
|
+
</s:element>
|
543
|
+
<s:complexType name="DeleteCertificateRsp">
|
544
|
+
<s:complexContent mixed="false">
|
545
|
+
<s:extension base="tns:ResponseBase" />
|
546
|
+
</s:complexContent>
|
547
|
+
</s:complexType>
|
548
|
+
<s:element name="GetExemptCertificates">
|
549
|
+
<s:complexType>
|
550
|
+
<s:sequence>
|
551
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiLoginID" type="s:string" />
|
552
|
+
<s:element minOccurs="0" maxOccurs="1" name="apiKey" type="s:string" />
|
553
|
+
<s:element minOccurs="0" maxOccurs="1" name="customerID" type="s:string" />
|
554
|
+
</s:sequence>
|
555
|
+
</s:complexType>
|
556
|
+
</s:element>
|
557
|
+
<s:element name="GetExemptCertificatesResponse">
|
558
|
+
<s:complexType>
|
559
|
+
<s:sequence>
|
560
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetExemptCertificatesResult" type="tns:GetCertificatesRsp" />
|
561
|
+
</s:sequence>
|
562
|
+
</s:complexType>
|
563
|
+
</s:element>
|
564
|
+
<s:complexType name="GetCertificatesRsp">
|
565
|
+
<s:complexContent mixed="false">
|
566
|
+
<s:extension base="tns:ResponseBase">
|
567
|
+
<s:sequence>
|
568
|
+
<s:element minOccurs="0" maxOccurs="1" name="ExemptCertificates" type="tns:ArrayOfExemptionCertificate" />
|
569
|
+
</s:sequence>
|
570
|
+
</s:extension>
|
571
|
+
</s:complexContent>
|
572
|
+
</s:complexType>
|
573
|
+
<s:complexType name="ArrayOfExemptionCertificate">
|
574
|
+
<s:sequence>
|
575
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="ExemptionCertificate" nillable="true" type="tns:ExemptionCertificate" />
|
576
|
+
</s:sequence>
|
577
|
+
</s:complexType>
|
578
|
+
</s:schema>
|
579
|
+
</wsdl:types>
|
580
|
+
<wsdl:message name="VerifyAddressSoapIn">
|
581
|
+
<wsdl:part name="parameters" element="tns:VerifyAddress" />
|
582
|
+
</wsdl:message>
|
583
|
+
<wsdl:message name="VerifyAddressSoapOut">
|
584
|
+
<wsdl:part name="parameters" element="tns:VerifyAddressResponse" />
|
585
|
+
</wsdl:message>
|
586
|
+
<wsdl:message name="LookupForDateSoapIn">
|
587
|
+
<wsdl:part name="parameters" element="tns:LookupForDate" />
|
588
|
+
</wsdl:message>
|
589
|
+
<wsdl:message name="LookupForDateSoapOut">
|
590
|
+
<wsdl:part name="parameters" element="tns:LookupForDateResponse" />
|
591
|
+
</wsdl:message>
|
592
|
+
<wsdl:message name="LookupSoapIn">
|
593
|
+
<wsdl:part name="parameters" element="tns:Lookup" />
|
594
|
+
</wsdl:message>
|
595
|
+
<wsdl:message name="LookupSoapOut">
|
596
|
+
<wsdl:part name="parameters" element="tns:LookupResponse" />
|
597
|
+
</wsdl:message>
|
598
|
+
<wsdl:message name="AuthorizedSoapIn">
|
599
|
+
<wsdl:part name="parameters" element="tns:Authorized" />
|
600
|
+
</wsdl:message>
|
601
|
+
<wsdl:message name="AuthorizedSoapOut">
|
602
|
+
<wsdl:part name="parameters" element="tns:AuthorizedResponse" />
|
603
|
+
</wsdl:message>
|
604
|
+
<wsdl:message name="AuthorizedWithCaptureSoapIn">
|
605
|
+
<wsdl:part name="parameters" element="tns:AuthorizedWithCapture" />
|
606
|
+
</wsdl:message>
|
607
|
+
<wsdl:message name="AuthorizedWithCaptureSoapOut">
|
608
|
+
<wsdl:part name="parameters" element="tns:AuthorizedWithCaptureResponse" />
|
609
|
+
</wsdl:message>
|
610
|
+
<wsdl:message name="CapturedSoapIn">
|
611
|
+
<wsdl:part name="parameters" element="tns:Captured" />
|
612
|
+
</wsdl:message>
|
613
|
+
<wsdl:message name="CapturedSoapOut">
|
614
|
+
<wsdl:part name="parameters" element="tns:CapturedResponse" />
|
615
|
+
</wsdl:message>
|
616
|
+
<wsdl:message name="ReturnedSoapIn">
|
617
|
+
<wsdl:part name="parameters" element="tns:Returned" />
|
618
|
+
</wsdl:message>
|
619
|
+
<wsdl:message name="ReturnedSoapOut">
|
620
|
+
<wsdl:part name="parameters" element="tns:ReturnedResponse" />
|
621
|
+
</wsdl:message>
|
622
|
+
<wsdl:message name="GetTICGroupsSoapIn">
|
623
|
+
<wsdl:part name="parameters" element="tns:GetTICGroups" />
|
624
|
+
</wsdl:message>
|
625
|
+
<wsdl:message name="GetTICGroupsSoapOut">
|
626
|
+
<wsdl:part name="parameters" element="tns:GetTICGroupsResponse" />
|
627
|
+
</wsdl:message>
|
628
|
+
<wsdl:message name="GetTICsSoapIn">
|
629
|
+
<wsdl:part name="parameters" element="tns:GetTICs" />
|
630
|
+
</wsdl:message>
|
631
|
+
<wsdl:message name="GetTICsSoapOut">
|
632
|
+
<wsdl:part name="parameters" element="tns:GetTICsResponse" />
|
633
|
+
</wsdl:message>
|
634
|
+
<wsdl:message name="GetTICsByGroupSoapIn">
|
635
|
+
<wsdl:part name="parameters" element="tns:GetTICsByGroup" />
|
636
|
+
</wsdl:message>
|
637
|
+
<wsdl:message name="GetTICsByGroupSoapOut">
|
638
|
+
<wsdl:part name="parameters" element="tns:GetTICsByGroupResponse" />
|
639
|
+
</wsdl:message>
|
640
|
+
<wsdl:message name="AddExemptCertificateSoapIn">
|
641
|
+
<wsdl:part name="parameters" element="tns:AddExemptCertificate" />
|
642
|
+
</wsdl:message>
|
643
|
+
<wsdl:message name="AddExemptCertificateSoapOut">
|
644
|
+
<wsdl:part name="parameters" element="tns:AddExemptCertificateResponse" />
|
645
|
+
</wsdl:message>
|
646
|
+
<wsdl:message name="DeleteExemptCertificateSoapIn">
|
647
|
+
<wsdl:part name="parameters" element="tns:DeleteExemptCertificate" />
|
648
|
+
</wsdl:message>
|
649
|
+
<wsdl:message name="DeleteExemptCertificateSoapOut">
|
650
|
+
<wsdl:part name="parameters" element="tns:DeleteExemptCertificateResponse" />
|
651
|
+
</wsdl:message>
|
652
|
+
<wsdl:message name="GetExemptCertificatesSoapIn">
|
653
|
+
<wsdl:part name="parameters" element="tns:GetExemptCertificates" />
|
654
|
+
</wsdl:message>
|
655
|
+
<wsdl:message name="GetExemptCertificatesSoapOut">
|
656
|
+
<wsdl:part name="parameters" element="tns:GetExemptCertificatesResponse" />
|
657
|
+
</wsdl:message>
|
658
|
+
<wsdl:portType name="TaxCloudSoap">
|
659
|
+
<wsdl:operation name="VerifyAddress">
|
660
|
+
<wsdl:input message="tns:VerifyAddressSoapIn" />
|
661
|
+
<wsdl:output message="tns:VerifyAddressSoapOut" />
|
662
|
+
</wsdl:operation>
|
663
|
+
<wsdl:operation name="LookupForDate">
|
664
|
+
<wsdl:input message="tns:LookupForDateSoapIn" />
|
665
|
+
<wsdl:output message="tns:LookupForDateSoapOut" />
|
666
|
+
</wsdl:operation>
|
667
|
+
<wsdl:operation name="Lookup">
|
668
|
+
<wsdl:input message="tns:LookupSoapIn" />
|
669
|
+
<wsdl:output message="tns:LookupSoapOut" />
|
670
|
+
</wsdl:operation>
|
671
|
+
<wsdl:operation name="Authorized">
|
672
|
+
<wsdl:input message="tns:AuthorizedSoapIn" />
|
673
|
+
<wsdl:output message="tns:AuthorizedSoapOut" />
|
674
|
+
</wsdl:operation>
|
675
|
+
<wsdl:operation name="AuthorizedWithCapture">
|
676
|
+
<wsdl:input message="tns:AuthorizedWithCaptureSoapIn" />
|
677
|
+
<wsdl:output message="tns:AuthorizedWithCaptureSoapOut" />
|
678
|
+
</wsdl:operation>
|
679
|
+
<wsdl:operation name="Captured">
|
680
|
+
<wsdl:input message="tns:CapturedSoapIn" />
|
681
|
+
<wsdl:output message="tns:CapturedSoapOut" />
|
682
|
+
</wsdl:operation>
|
683
|
+
<wsdl:operation name="Returned">
|
684
|
+
<wsdl:input message="tns:ReturnedSoapIn" />
|
685
|
+
<wsdl:output message="tns:ReturnedSoapOut" />
|
686
|
+
</wsdl:operation>
|
687
|
+
<wsdl:operation name="GetTICGroups">
|
688
|
+
<wsdl:input message="tns:GetTICGroupsSoapIn" />
|
689
|
+
<wsdl:output message="tns:GetTICGroupsSoapOut" />
|
690
|
+
</wsdl:operation>
|
691
|
+
<wsdl:operation name="GetTICs">
|
692
|
+
<wsdl:input message="tns:GetTICsSoapIn" />
|
693
|
+
<wsdl:output message="tns:GetTICsSoapOut" />
|
694
|
+
</wsdl:operation>
|
695
|
+
<wsdl:operation name="GetTICsByGroup">
|
696
|
+
<wsdl:input message="tns:GetTICsByGroupSoapIn" />
|
697
|
+
<wsdl:output message="tns:GetTICsByGroupSoapOut" />
|
698
|
+
</wsdl:operation>
|
699
|
+
<wsdl:operation name="AddExemptCertificate">
|
700
|
+
<wsdl:input message="tns:AddExemptCertificateSoapIn" />
|
701
|
+
<wsdl:output message="tns:AddExemptCertificateSoapOut" />
|
702
|
+
</wsdl:operation>
|
703
|
+
<wsdl:operation name="DeleteExemptCertificate">
|
704
|
+
<wsdl:input message="tns:DeleteExemptCertificateSoapIn" />
|
705
|
+
<wsdl:output message="tns:DeleteExemptCertificateSoapOut" />
|
706
|
+
</wsdl:operation>
|
707
|
+
<wsdl:operation name="GetExemptCertificates">
|
708
|
+
<wsdl:input message="tns:GetExemptCertificatesSoapIn" />
|
709
|
+
<wsdl:output message="tns:GetExemptCertificatesSoapOut" />
|
710
|
+
</wsdl:operation>
|
711
|
+
</wsdl:portType>
|
712
|
+
<wsdl:binding name="TaxCloudSoap" type="tns:TaxCloudSoap">
|
713
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
714
|
+
<wsdl:operation name="VerifyAddress">
|
715
|
+
<soap:operation soapAction="http://taxcloud.net/VerifyAddress" style="document" />
|
716
|
+
<wsdl:input>
|
717
|
+
<soap:body use="literal" />
|
718
|
+
</wsdl:input>
|
719
|
+
<wsdl:output>
|
720
|
+
<soap:body use="literal" />
|
721
|
+
</wsdl:output>
|
722
|
+
</wsdl:operation>
|
723
|
+
<wsdl:operation name="LookupForDate">
|
724
|
+
<soap:operation soapAction="http://taxcloud.net/LookupForDate" style="document" />
|
725
|
+
<wsdl:input>
|
726
|
+
<soap:body use="literal" />
|
727
|
+
</wsdl:input>
|
728
|
+
<wsdl:output>
|
729
|
+
<soap:body use="literal" />
|
730
|
+
</wsdl:output>
|
731
|
+
</wsdl:operation>
|
732
|
+
<wsdl:operation name="Lookup">
|
733
|
+
<soap:operation soapAction="http://taxcloud.net/Lookup" style="document" />
|
734
|
+
<wsdl:input>
|
735
|
+
<soap:body use="literal" />
|
736
|
+
</wsdl:input>
|
737
|
+
<wsdl:output>
|
738
|
+
<soap:body use="literal" />
|
739
|
+
</wsdl:output>
|
740
|
+
</wsdl:operation>
|
741
|
+
<wsdl:operation name="Authorized">
|
742
|
+
<soap:operation soapAction="http://taxcloud.net/Authorized" style="document" />
|
743
|
+
<wsdl:input>
|
744
|
+
<soap:body use="literal" />
|
745
|
+
</wsdl:input>
|
746
|
+
<wsdl:output>
|
747
|
+
<soap:body use="literal" />
|
748
|
+
</wsdl:output>
|
749
|
+
</wsdl:operation>
|
750
|
+
<wsdl:operation name="AuthorizedWithCapture">
|
751
|
+
<soap:operation soapAction="http://taxcloud.net/AuthorizedWithCapture" style="document" />
|
752
|
+
<wsdl:input>
|
753
|
+
<soap:body use="literal" />
|
754
|
+
</wsdl:input>
|
755
|
+
<wsdl:output>
|
756
|
+
<soap:body use="literal" />
|
757
|
+
</wsdl:output>
|
758
|
+
</wsdl:operation>
|
759
|
+
<wsdl:operation name="Captured">
|
760
|
+
<soap:operation soapAction="http://taxcloud.net/Captured" style="document" />
|
761
|
+
<wsdl:input>
|
762
|
+
<soap:body use="literal" />
|
763
|
+
</wsdl:input>
|
764
|
+
<wsdl:output>
|
765
|
+
<soap:body use="literal" />
|
766
|
+
</wsdl:output>
|
767
|
+
</wsdl:operation>
|
768
|
+
<wsdl:operation name="Returned">
|
769
|
+
<soap:operation soapAction="http://taxcloud.net/Returned" style="document" />
|
770
|
+
<wsdl:input>
|
771
|
+
<soap:body use="literal" />
|
772
|
+
</wsdl:input>
|
773
|
+
<wsdl:output>
|
774
|
+
<soap:body use="literal" />
|
775
|
+
</wsdl:output>
|
776
|
+
</wsdl:operation>
|
777
|
+
<wsdl:operation name="GetTICGroups">
|
778
|
+
<soap:operation soapAction="http://taxcloud.net/GetTICGroups" style="document" />
|
779
|
+
<wsdl:input>
|
780
|
+
<soap:body use="literal" />
|
781
|
+
</wsdl:input>
|
782
|
+
<wsdl:output>
|
783
|
+
<soap:body use="literal" />
|
784
|
+
</wsdl:output>
|
785
|
+
</wsdl:operation>
|
786
|
+
<wsdl:operation name="GetTICs">
|
787
|
+
<soap:operation soapAction="http://taxcloud.net/GetTICs" style="document" />
|
788
|
+
<wsdl:input>
|
789
|
+
<soap:body use="literal" />
|
790
|
+
</wsdl:input>
|
791
|
+
<wsdl:output>
|
792
|
+
<soap:body use="literal" />
|
793
|
+
</wsdl:output>
|
794
|
+
</wsdl:operation>
|
795
|
+
<wsdl:operation name="GetTICsByGroup">
|
796
|
+
<soap:operation soapAction="http://taxcloud.net/GetTICsByGroup" style="document" />
|
797
|
+
<wsdl:input>
|
798
|
+
<soap:body use="literal" />
|
799
|
+
</wsdl:input>
|
800
|
+
<wsdl:output>
|
801
|
+
<soap:body use="literal" />
|
802
|
+
</wsdl:output>
|
803
|
+
</wsdl:operation>
|
804
|
+
<wsdl:operation name="AddExemptCertificate">
|
805
|
+
<soap:operation soapAction="http://taxcloud.net/AddExemptCertificate" style="document" />
|
806
|
+
<wsdl:input>
|
807
|
+
<soap:body use="literal" />
|
808
|
+
</wsdl:input>
|
809
|
+
<wsdl:output>
|
810
|
+
<soap:body use="literal" />
|
811
|
+
</wsdl:output>
|
812
|
+
</wsdl:operation>
|
813
|
+
<wsdl:operation name="DeleteExemptCertificate">
|
814
|
+
<soap:operation soapAction="http://taxcloud.net/DeleteExemptCertificate" style="document" />
|
815
|
+
<wsdl:input>
|
816
|
+
<soap:body use="literal" />
|
817
|
+
</wsdl:input>
|
818
|
+
<wsdl:output>
|
819
|
+
<soap:body use="literal" />
|
820
|
+
</wsdl:output>
|
821
|
+
</wsdl:operation>
|
822
|
+
<wsdl:operation name="GetExemptCertificates">
|
823
|
+
<soap:operation soapAction="http://taxcloud.net/GetExemptCertificates" style="document" />
|
824
|
+
<wsdl:input>
|
825
|
+
<soap:body use="literal" />
|
826
|
+
</wsdl:input>
|
827
|
+
<wsdl:output>
|
828
|
+
<soap:body use="literal" />
|
829
|
+
</wsdl:output>
|
830
|
+
</wsdl:operation>
|
831
|
+
</wsdl:binding>
|
832
|
+
<wsdl:binding name="TaxCloudSoap12" type="tns:TaxCloudSoap">
|
833
|
+
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
834
|
+
<wsdl:operation name="VerifyAddress">
|
835
|
+
<soap12:operation soapAction="http://taxcloud.net/VerifyAddress" style="document" />
|
836
|
+
<wsdl:input>
|
837
|
+
<soap12:body use="literal" />
|
838
|
+
</wsdl:input>
|
839
|
+
<wsdl:output>
|
840
|
+
<soap12:body use="literal" />
|
841
|
+
</wsdl:output>
|
842
|
+
</wsdl:operation>
|
843
|
+
<wsdl:operation name="LookupForDate">
|
844
|
+
<soap12:operation soapAction="http://taxcloud.net/LookupForDate" style="document" />
|
845
|
+
<wsdl:input>
|
846
|
+
<soap12:body use="literal" />
|
847
|
+
</wsdl:input>
|
848
|
+
<wsdl:output>
|
849
|
+
<soap12:body use="literal" />
|
850
|
+
</wsdl:output>
|
851
|
+
</wsdl:operation>
|
852
|
+
<wsdl:operation name="Lookup">
|
853
|
+
<soap12:operation soapAction="http://taxcloud.net/Lookup" style="document" />
|
854
|
+
<wsdl:input>
|
855
|
+
<soap12:body use="literal" />
|
856
|
+
</wsdl:input>
|
857
|
+
<wsdl:output>
|
858
|
+
<soap12:body use="literal" />
|
859
|
+
</wsdl:output>
|
860
|
+
</wsdl:operation>
|
861
|
+
<wsdl:operation name="Authorized">
|
862
|
+
<soap12:operation soapAction="http://taxcloud.net/Authorized" style="document" />
|
863
|
+
<wsdl:input>
|
864
|
+
<soap12:body use="literal" />
|
865
|
+
</wsdl:input>
|
866
|
+
<wsdl:output>
|
867
|
+
<soap12:body use="literal" />
|
868
|
+
</wsdl:output>
|
869
|
+
</wsdl:operation>
|
870
|
+
<wsdl:operation name="AuthorizedWithCapture">
|
871
|
+
<soap12:operation soapAction="http://taxcloud.net/AuthorizedWithCapture" style="document" />
|
872
|
+
<wsdl:input>
|
873
|
+
<soap12:body use="literal" />
|
874
|
+
</wsdl:input>
|
875
|
+
<wsdl:output>
|
876
|
+
<soap12:body use="literal" />
|
877
|
+
</wsdl:output>
|
878
|
+
</wsdl:operation>
|
879
|
+
<wsdl:operation name="Captured">
|
880
|
+
<soap12:operation soapAction="http://taxcloud.net/Captured" style="document" />
|
881
|
+
<wsdl:input>
|
882
|
+
<soap12:body use="literal" />
|
883
|
+
</wsdl:input>
|
884
|
+
<wsdl:output>
|
885
|
+
<soap12:body use="literal" />
|
886
|
+
</wsdl:output>
|
887
|
+
</wsdl:operation>
|
888
|
+
<wsdl:operation name="Returned">
|
889
|
+
<soap12:operation soapAction="http://taxcloud.net/Returned" style="document" />
|
890
|
+
<wsdl:input>
|
891
|
+
<soap12:body use="literal" />
|
892
|
+
</wsdl:input>
|
893
|
+
<wsdl:output>
|
894
|
+
<soap12:body use="literal" />
|
895
|
+
</wsdl:output>
|
896
|
+
</wsdl:operation>
|
897
|
+
<wsdl:operation name="GetTICGroups">
|
898
|
+
<soap12:operation soapAction="http://taxcloud.net/GetTICGroups" style="document" />
|
899
|
+
<wsdl:input>
|
900
|
+
<soap12:body use="literal" />
|
901
|
+
</wsdl:input>
|
902
|
+
<wsdl:output>
|
903
|
+
<soap12:body use="literal" />
|
904
|
+
</wsdl:output>
|
905
|
+
</wsdl:operation>
|
906
|
+
<wsdl:operation name="GetTICs">
|
907
|
+
<soap12:operation soapAction="http://taxcloud.net/GetTICs" style="document" />
|
908
|
+
<wsdl:input>
|
909
|
+
<soap12:body use="literal" />
|
910
|
+
</wsdl:input>
|
911
|
+
<wsdl:output>
|
912
|
+
<soap12:body use="literal" />
|
913
|
+
</wsdl:output>
|
914
|
+
</wsdl:operation>
|
915
|
+
<wsdl:operation name="GetTICsByGroup">
|
916
|
+
<soap12:operation soapAction="http://taxcloud.net/GetTICsByGroup" style="document" />
|
917
|
+
<wsdl:input>
|
918
|
+
<soap12:body use="literal" />
|
919
|
+
</wsdl:input>
|
920
|
+
<wsdl:output>
|
921
|
+
<soap12:body use="literal" />
|
922
|
+
</wsdl:output>
|
923
|
+
</wsdl:operation>
|
924
|
+
<wsdl:operation name="AddExemptCertificate">
|
925
|
+
<soap12:operation soapAction="http://taxcloud.net/AddExemptCertificate" style="document" />
|
926
|
+
<wsdl:input>
|
927
|
+
<soap12:body use="literal" />
|
928
|
+
</wsdl:input>
|
929
|
+
<wsdl:output>
|
930
|
+
<soap12:body use="literal" />
|
931
|
+
</wsdl:output>
|
932
|
+
</wsdl:operation>
|
933
|
+
<wsdl:operation name="DeleteExemptCertificate">
|
934
|
+
<soap12:operation soapAction="http://taxcloud.net/DeleteExemptCertificate" style="document" />
|
935
|
+
<wsdl:input>
|
936
|
+
<soap12:body use="literal" />
|
937
|
+
</wsdl:input>
|
938
|
+
<wsdl:output>
|
939
|
+
<soap12:body use="literal" />
|
940
|
+
</wsdl:output>
|
941
|
+
</wsdl:operation>
|
942
|
+
<wsdl:operation name="GetExemptCertificates">
|
943
|
+
<soap12:operation soapAction="http://taxcloud.net/GetExemptCertificates" style="document" />
|
944
|
+
<wsdl:input>
|
945
|
+
<soap12:body use="literal" />
|
946
|
+
</wsdl:input>
|
947
|
+
<wsdl:output>
|
948
|
+
<soap12:body use="literal" />
|
949
|
+
</wsdl:output>
|
950
|
+
</wsdl:operation>
|
951
|
+
</wsdl:binding>
|
952
|
+
<wsdl:service name="TaxCloud">
|
953
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">TaxCloud Web Service</wsdl:documentation>
|
954
|
+
<wsdl:port name="TaxCloudSoap" binding="tns:TaxCloudSoap">
|
955
|
+
<soap:address location="https://api.taxcloud.net/1.0/TaxCloud.asmx" />
|
956
|
+
</wsdl:port>
|
957
|
+
<wsdl:port name="TaxCloudSoap12" binding="tns:TaxCloudSoap12">
|
958
|
+
<soap12:address location="https://api.taxcloud.net/1.0/TaxCloud.asmx" />
|
959
|
+
</wsdl:port>
|
960
|
+
</wsdl:service>
|
961
|
+
</wsdl:definitions>
|
962
|
+
http_version: "1.1"
|
963
|
+
- !ruby/struct:VCR::HTTPInteraction
|
964
|
+
request: !ruby/struct:VCR::Request
|
965
|
+
method: :post
|
966
|
+
uri: https://api.taxcloud.net:443/1.0/TaxCloud.asmx
|
967
|
+
body: <?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:wsdl="http://taxcloud.net" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://taxcloud.net"><env:Body><ins0:VerifyAddress><wsdl:apiLoginId>api-login-id</wsdl:apiLoginId><wsdl:apiKey>api-key</wsdl:apiKey><ins0:uspsUserID>usps-username</ins0:uspsUserID><ins0:address1>10001 Test Street</ins0:address1><ins0:address2 xsi:nil="true"/><ins0:city>New York</ins0:city><ins0:state>New York</ins0:state><ins0:zip5>99999</ins0:zip5><ins0:zip4 xsi:nil="true"/></ins0:VerifyAddress></env:Body></env:Envelope>
|
968
|
+
headers:
|
969
|
+
soapaction:
|
970
|
+
- "\"http://taxcloud.net/VerifyAddress\""
|
971
|
+
content-type:
|
972
|
+
- text/xml;charset=UTF-8
|
973
|
+
response: !ruby/struct:VCR::Response
|
974
|
+
status: !ruby/struct:VCR::ResponseStatus
|
975
|
+
code: 200
|
976
|
+
message: OK
|
977
|
+
headers:
|
978
|
+
cache-control:
|
979
|
+
- private, max-age=0
|
980
|
+
content-type:
|
981
|
+
- text/xml; charset=utf-8
|
982
|
+
server:
|
983
|
+
- Microsoft-IIS/7.0
|
984
|
+
x-aspnet-version:
|
985
|
+
- 2.0.50727
|
986
|
+
x-powered-by:
|
987
|
+
- TaxCloud
|
988
|
+
date:
|
989
|
+
- Sat, 17 Sep 2011 19:21:53 GMT
|
990
|
+
content-length:
|
991
|
+
- "450"
|
992
|
+
body: <?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><VerifyAddressResponse xmlns="http://taxcloud.net"><VerifyAddressResult><ErrNumber>-2147219399</ErrNumber><ErrDescription>Invalid Zip Code. </ErrDescription></VerifyAddressResult></VerifyAddressResponse></soap:Body></soap:Envelope>
|
993
|
+
http_version: "1.1"
|