Avatax_AddressService 1.0.12 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/Avatax_AddressService.gemspec +19 -19
- data/LICENSE.txt +20 -20
- data/lib/address_log.txt +1 -1
- data/lib/{addressservice_dev.wsdl → addressservice.wsdl} +289 -289
- data/lib/avatax_addressservice.rb +187 -199
- data/lib/template_isauthorized.erb +21 -21
- data/lib/template_ping.erb +21 -21
- data/lib/template_validate.erb +39 -39
- data/samples/PingTest.rb +26 -25
- data/samples/ValidateAddressTest.rb +49 -50
- data/spec/addressservice_spec.rb +41 -41
- data/spec/isauthorized_spec.rb +76 -76
- data/spec/ping_spec.rb +76 -76
- data/spec/spec_helper.rb +16 -16
- data/spec/validate_spec.rb +84 -84
- metadata +14 -16
- data/Avatax Ruby SDK Guide.docx +0 -0
- data/lib/addressservice_prd.wsdl +0 -290
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NWM3NmUzNWRhNmVlMGMyZGI5ZjExOTYzMDYzNmU0MGQ1YTZlYjIwMA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: db75d664315e7f659ea06cd07c3d0f2ec83a936a
|
4
|
+
data.tar.gz: 122257f8a9e62ae349106c4ac12539f4e07b13b1
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
OTViYzNmZWRlMTE0YjhlNjAyZGU0MDU2NTQxYWZiYjU5Nzg4YTA1MmYxZTE0
|
11
|
-
ZjdjNTJhZjBjNjcxMTNlYmJkYWQ0ZWQ4Y2JiMDg4NDhmMzRmMzA=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YTkwYTNlNTFmZmNkZTM3MDZiYzE0OWQ5MWQ5MDBhMzJmOWIwMDI3NWEwMjFl
|
14
|
-
MGY4M2ZiMjAxYmM4NWMzMDlmZWYxODIyZTc1YWEwYWVmZjJjOTcwYzJiNjlm
|
15
|
-
MTQ0NjAyMjliNTYwYzU1NTZkOTA5YjhjZWUwNThlN2RhODQxNWE=
|
6
|
+
metadata.gz: 0dc0d1ebbf860950f64da52a77de647eb56c4e0f59ad7e569eb19990a62c63a82fed856f5d0c4ec5d4b7b9c2169afa03c36ed28bfaa5f88432a35005cfb76523
|
7
|
+
data.tar.gz: 1ee23757da59a7069fe877a7431c49f72d450e19f8200067ad2b57eff5eaf3e0b643b4bba0078d5c1e4673440472dde8a3f45fb83595a682e18506ab6c70519e
|
@@ -1,20 +1,20 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.name = "Avatax_AddressService"
|
3
|
-
s.version = "
|
4
|
-
s.date = "
|
5
|
-
s.author = "Graham S Wilson"
|
6
|
-
s.email = "support@Avalara.com"
|
7
|
-
s.summary = "Ruby SDK for Avatax Address Web Services "
|
8
|
-
s.homepage = "http://www.avalara.com/"
|
9
|
-
s.license = 'MIT'
|
10
|
-
s.description = "Ruby SDK provides means of communication with Avatax Web Services."
|
11
|
-
s.files = ["lib/address_log.txt", "lib/
|
12
|
-
"lib/template_validate.erb","lib/template_ping.erb","lib/template_isauthorized.erb",
|
13
|
-
"samples/PingTest.rb","samples/ValidateAddressTest.rb",
|
14
|
-
"spec/addressservice_spec.rb","spec/isauthorized_spec.rb","spec/ping_spec.rb","spec/spec_helper.rb","spec/validate_spec.rb",
|
15
|
-
"Avatax_AddressService.gemspec","
|
16
|
-
# s.add_dependency "nokogiri", ">= 1.4.0", "< 1.6"
|
17
|
-
s.add_dependency "savon", ">= 2.3.0"
|
18
|
-
s.required_ruby_version = '>=1.9.1'
|
19
|
-
s.post_install_message = 'Thanks for installing the Avalara AddressService Ruby SDK.
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = "Avatax_AddressService"
|
3
|
+
s.version = "2.0.1"
|
4
|
+
s.date = "2015-06-12"
|
5
|
+
s.author = "Graham S Wilson"
|
6
|
+
s.email = "support@Avalara.com"
|
7
|
+
s.summary = "Ruby SDK for Avatax Address Web Services "
|
8
|
+
s.homepage = "http://www.avalara.com/"
|
9
|
+
s.license = 'MIT'
|
10
|
+
s.description = "Ruby SDK provides means of communication with Avatax Web Services."
|
11
|
+
s.files = ["lib/address_log.txt", "lib/addressservice.wsdl", "lib/avatax_addressservice.rb",
|
12
|
+
"lib/template_validate.erb","lib/template_ping.erb","lib/template_isauthorized.erb",
|
13
|
+
"samples/PingTest.rb","samples/ValidateAddressTest.rb",
|
14
|
+
"spec/addressservice_spec.rb","spec/isauthorized_spec.rb","spec/ping_spec.rb","spec/spec_helper.rb","spec/validate_spec.rb",
|
15
|
+
"Avatax_AddressService.gemspec","LICENSE.txt"]
|
16
|
+
# s.add_dependency "nokogiri", ">= 1.4.0", "< 1.6"
|
17
|
+
s.add_dependency "savon", ">= 2.3.0"
|
18
|
+
s.required_ruby_version = '>=1.9.1'
|
19
|
+
s.post_install_message = 'Thanks for installing the Avalara AddressService Ruby SDK. For more information and to sign up for a free test account, visit http://developer.avalara.com'
|
20
20
|
end
|
data/LICENSE.txt
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
Ruby SDK for AvaTax [License]
|
2
|
-
Copyright (c) 2013 Avalara Inc.
|
3
|
-
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
5
|
-
a copy of this software and associated documentation files (the
|
6
|
-
"Software"), to deal in the Software without restriction, including
|
7
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
8
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
-
permit persons to whom the Software is furnished to do so, subject to
|
10
|
-
the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be
|
13
|
-
included in all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
1
|
+
Ruby SDK for AvaTax [License]
|
2
|
+
Copyright (c) 2013 Avalara Inc.
|
3
|
+
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
5
|
+
a copy of this software and associated documentation files (the
|
6
|
+
"Software"), to deal in the Software without restriction, including
|
7
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
8
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
+
permit persons to whom the Software is furnished to do so, subject to
|
10
|
+
the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be
|
13
|
+
included in all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
21
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/lib/address_log.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2015-06-12 13:31:09 -0700: Avalara Address service started
|
@@ -1,290 +1,290 @@
|
|
1
|
-
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://avatax.avalara.com/services" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://avatax.avalara.com/services">
|
2
|
-
<wsdl:types>
|
3
|
-
<s:schema elementFormDefault="qualified" targetNamespace="http://avatax.avalara.com/services">
|
4
|
-
<s:element name="Validate">
|
5
|
-
<s:complexType>
|
6
|
-
<s:sequence>
|
7
|
-
<s:element minOccurs="0" maxOccurs="1" name="ValidateRequest" type="tns:ValidateRequest"/>
|
8
|
-
</s:sequence>
|
9
|
-
</s:complexType>
|
10
|
-
</s:element>
|
11
|
-
<s:complexType name="ValidateRequest">
|
12
|
-
<s:sequence>
|
13
|
-
<s:element minOccurs="0" maxOccurs="1" name="Address" type="tns:BaseAddress"/>
|
14
|
-
<s:element minOccurs="1" maxOccurs="1" name="TextCase" type="tns:TextCase"/>
|
15
|
-
<s:element minOccurs="1" maxOccurs="1" name="Coordinates" type="s:boolean"/>
|
16
|
-
<s:element minOccurs="1" maxOccurs="1" name="Taxability" type="s:boolean"/>
|
17
|
-
<s:element minOccurs="1" maxOccurs="1" name="Date" type="s:date"/>
|
18
|
-
</s:sequence>
|
19
|
-
</s:complexType>
|
20
|
-
<s:complexType name="BaseAddress">
|
21
|
-
<s:sequence>
|
22
|
-
<s:element minOccurs="0" maxOccurs="1" name="AddressCode" type="s:string"/>
|
23
|
-
<s:element minOccurs="0" maxOccurs="1" name="Line1" type="s:string"/>
|
24
|
-
<s:element minOccurs="0" maxOccurs="1" name="Line2" type="s:string"/>
|
25
|
-
<s:element minOccurs="0" maxOccurs="1" name="Line3" type="s:string"/>
|
26
|
-
<s:element minOccurs="0" maxOccurs="1" name="City" type="s:string"/>
|
27
|
-
<s:element minOccurs="0" maxOccurs="1" name="Region" type="s:string"/>
|
28
|
-
<s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string"/>
|
29
|
-
<s:element minOccurs="0" maxOccurs="1" name="Country" type="s:string"/>
|
30
|
-
<s:element minOccurs="1" maxOccurs="1" name="TaxRegionId" type="s:int"/>
|
31
|
-
<s:element minOccurs="0" maxOccurs="1" name="Latitude" type="s:string"/>
|
32
|
-
<s:element minOccurs="0" maxOccurs="1" name="Longitude" type="s:string"/>
|
33
|
-
</s:sequence>
|
34
|
-
</s:complexType>
|
35
|
-
<s:complexType name="ValidAddress">
|
36
|
-
<s:complexContent mixed="false">
|
37
|
-
<s:extension base="tns:BaseAddress">
|
38
|
-
<s:sequence>
|
39
|
-
<s:element minOccurs="0" maxOccurs="1" name="Line4" type="s:string"/>
|
40
|
-
<s:element minOccurs="0" maxOccurs="1" name="County" type="s:string"/>
|
41
|
-
<s:element minOccurs="0" maxOccurs="1" name="FipsCode" type="s:string"/>
|
42
|
-
<s:element minOccurs="0" maxOccurs="1" name="CarrierRoute" type="s:string"/>
|
43
|
-
<s:element minOccurs="0" maxOccurs="1" name="PostNet" type="s:string"/>
|
44
|
-
<s:element minOccurs="0" maxOccurs="1" name="AddressType" type="s:string"/>
|
45
|
-
<s:element minOccurs="0" maxOccurs="1" name="ValidateStatus" type="s:string"/>
|
46
|
-
<s:element minOccurs="0" maxOccurs="1" name="GeocodeType" type="s:string"/>
|
47
|
-
</s:sequence>
|
48
|
-
</s:extension>
|
49
|
-
</s:complexContent>
|
50
|
-
</s:complexType>
|
51
|
-
<s:simpleType name="TextCase">
|
52
|
-
<s:restriction base="s:string">
|
53
|
-
<s:enumeration value="Default"/>
|
54
|
-
<s:enumeration value="Upper"/>
|
55
|
-
<s:enumeration value="Mixed"/>
|
56
|
-
</s:restriction>
|
57
|
-
</s:simpleType>
|
58
|
-
<s:element name="ValidateResponse">
|
59
|
-
<s:complexType>
|
60
|
-
<s:sequence>
|
61
|
-
<s:element minOccurs="0" maxOccurs="1" name="ValidateResult" type="tns:ValidateResult"/>
|
62
|
-
</s:sequence>
|
63
|
-
</s:complexType>
|
64
|
-
</s:element>
|
65
|
-
<s:complexType name="ValidateResult">
|
66
|
-
<s:complexContent mixed="false">
|
67
|
-
<s:extension base="tns:BaseResult">
|
68
|
-
<s:sequence>
|
69
|
-
<s:element minOccurs="0" maxOccurs="1" name="ValidAddresses" type="tns:ArrayOfValidAddress"/>
|
70
|
-
<s:element minOccurs="1" maxOccurs="1" name="Taxable" type="s:boolean"/>
|
71
|
-
</s:sequence>
|
72
|
-
</s:extension>
|
73
|
-
</s:complexContent>
|
74
|
-
</s:complexType>
|
75
|
-
<s:complexType name="BaseResult">
|
76
|
-
<s:sequence>
|
77
|
-
<s:element minOccurs="0" maxOccurs="1" name="TransactionId" type="s:string"/>
|
78
|
-
<s:element minOccurs="1" maxOccurs="1" name="ResultCode" type="tns:SeverityLevel"/>
|
79
|
-
<s:element minOccurs="0" maxOccurs="1" name="Messages" type="tns:ArrayOfMessage"/>
|
80
|
-
</s:sequence>
|
81
|
-
</s:complexType>
|
82
|
-
<s:simpleType name="SeverityLevel">
|
83
|
-
<s:restriction base="s:string">
|
84
|
-
<s:enumeration value="Success"/>
|
85
|
-
<s:enumeration value="Warning"/>
|
86
|
-
<s:enumeration value="Error"/>
|
87
|
-
<s:enumeration value="Exception"/>
|
88
|
-
</s:restriction>
|
89
|
-
</s:simpleType>
|
90
|
-
<s:complexType name="ArrayOfMessage">
|
91
|
-
<s:sequence>
|
92
|
-
<s:element minOccurs="0" maxOccurs="unbounded" name="Message" nillable="true" type="tns:Message"/>
|
93
|
-
</s:sequence>
|
94
|
-
</s:complexType>
|
95
|
-
<s:complexType name="Message">
|
96
|
-
<s:sequence>
|
97
|
-
<s:element minOccurs="0" maxOccurs="1" name="Summary" type="s:string"/>
|
98
|
-
<s:element minOccurs="0" maxOccurs="1" name="Details" type="s:string"/>
|
99
|
-
<s:element minOccurs="0" maxOccurs="1" name="HelpLink" type="s:string"/>
|
100
|
-
<s:element minOccurs="0" maxOccurs="1" name="RefersTo" type="s:string"/>
|
101
|
-
<s:element minOccurs="1" maxOccurs="1" name="Severity" type="tns:SeverityLevel"/>
|
102
|
-
<s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string"/>
|
103
|
-
</s:sequence>
|
104
|
-
<s:attribute name="Name" type="s:string"/>
|
105
|
-
</s:complexType>
|
106
|
-
<s:complexType name="ArrayOfValidAddress">
|
107
|
-
<s:sequence>
|
108
|
-
<s:element minOccurs="0" maxOccurs="unbounded" name="ValidAddress" nillable="true" type="tns:ValidAddress"/>
|
109
|
-
</s:sequence>
|
110
|
-
</s:complexType>
|
111
|
-
<s:element name="Profile" type="tns:Profile"/>
|
112
|
-
<s:complexType name="Profile">
|
113
|
-
<s:sequence>
|
114
|
-
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string"/>
|
115
|
-
<s:element minOccurs="0" maxOccurs="1" name="Client" type="s:string"/>
|
116
|
-
<s:element minOccurs="0" maxOccurs="1" name="Adapter" type="s:string"/>
|
117
|
-
<s:element minOccurs="0" maxOccurs="1" name="Machine" type="s:string"/>
|
118
|
-
</s:sequence>
|
119
|
-
<s:anyAttribute/>
|
120
|
-
</s:complexType>
|
121
|
-
<s:element name="Ping">
|
122
|
-
<s:complexType>
|
123
|
-
<s:sequence>
|
124
|
-
<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string"/>
|
125
|
-
</s:sequence>
|
126
|
-
</s:complexType>
|
127
|
-
</s:element>
|
128
|
-
<s:element name="PingResponse">
|
129
|
-
<s:complexType>
|
130
|
-
<s:sequence>
|
131
|
-
<s:element minOccurs="0" maxOccurs="1" name="PingResult" type="tns:PingResult"/>
|
132
|
-
</s:sequence>
|
133
|
-
</s:complexType>
|
134
|
-
</s:element>
|
135
|
-
<s:complexType name="PingResult">
|
136
|
-
<s:complexContent mixed="false">
|
137
|
-
<s:extension base="tns:BaseResult">
|
138
|
-
<s:sequence>
|
139
|
-
<s:element minOccurs="0" maxOccurs="1" name="Version" type="s:string"/>
|
140
|
-
</s:sequence>
|
141
|
-
</s:extension>
|
142
|
-
</s:complexContent>
|
143
|
-
</s:complexType>
|
144
|
-
<s:element name="IsAuthorized">
|
145
|
-
<s:complexType>
|
146
|
-
<s:sequence>
|
147
|
-
<s:element minOccurs="0" maxOccurs="1" name="Operations" type="s:string"/>
|
148
|
-
</s:sequence>
|
149
|
-
</s:complexType>
|
150
|
-
</s:element>
|
151
|
-
<s:element name="IsAuthorizedResponse">
|
152
|
-
<s:complexType>
|
153
|
-
<s:sequence>
|
154
|
-
<s:element minOccurs="0" maxOccurs="1" name="IsAuthorizedResult" type="tns:IsAuthorizedResult"/>
|
155
|
-
</s:sequence>
|
156
|
-
</s:complexType>
|
157
|
-
</s:element>
|
158
|
-
<s:complexType name="IsAuthorizedResult">
|
159
|
-
<s:complexContent mixed="false">
|
160
|
-
<s:extension base="tns:BaseResult">
|
161
|
-
<s:sequence>
|
162
|
-
<s:element minOccurs="0" maxOccurs="1" name="Operations" type="s:string"/>
|
163
|
-
<s:element minOccurs="1" maxOccurs="1" name="Expires" type="s:dateTime"/>
|
164
|
-
</s:sequence>
|
165
|
-
</s:extension>
|
166
|
-
</s:complexContent>
|
167
|
-
</s:complexType>
|
168
|
-
</s:schema>
|
169
|
-
</wsdl:types>
|
170
|
-
<wsdl:message name="ValidateSoapIn">
|
171
|
-
<wsdl:part name="parameters" element="tns:Validate"/>
|
172
|
-
</wsdl:message>
|
173
|
-
<wsdl:message name="ValidateSoapOut">
|
174
|
-
<wsdl:part name="parameters" element="tns:ValidateResponse"/>
|
175
|
-
</wsdl:message>
|
176
|
-
<wsdl:message name="ValidateProfile">
|
177
|
-
<wsdl:part name="Profile" element="tns:Profile"/>
|
178
|
-
</wsdl:message>
|
179
|
-
<wsdl:message name="PingSoapIn">
|
180
|
-
<wsdl:part name="parameters" element="tns:Ping"/>
|
181
|
-
</wsdl:message>
|
182
|
-
<wsdl:message name="PingSoapOut">
|
183
|
-
<wsdl:part name="parameters" element="tns:PingResponse"/>
|
184
|
-
</wsdl:message>
|
185
|
-
<wsdl:message name="PingProfile">
|
186
|
-
<wsdl:part name="Profile" element="tns:Profile"/>
|
187
|
-
</wsdl:message>
|
188
|
-
<wsdl:message name="IsAuthorizedSoapIn">
|
189
|
-
<wsdl:part name="parameters" element="tns:IsAuthorized"/>
|
190
|
-
</wsdl:message>
|
191
|
-
<wsdl:message name="IsAuthorizedSoapOut">
|
192
|
-
<wsdl:part name="parameters" element="tns:IsAuthorizedResponse"/>
|
193
|
-
</wsdl:message>
|
194
|
-
<wsdl:message name="IsAuthorizedProfile">
|
195
|
-
<wsdl:part name="Profile" element="tns:Profile"/>
|
196
|
-
</wsdl:message>
|
197
|
-
<wsdl:portType name="AddressSvcSoap">
|
198
|
-
<wsdl:operation name="Validate">
|
199
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Validate an Address</wsdl:documentation>
|
200
|
-
<wsdl:input message="tns:ValidateSoapIn"/>
|
201
|
-
<wsdl:output message="tns:ValidateSoapOut"/>
|
202
|
-
</wsdl:operation>
|
203
|
-
<wsdl:operation name="Ping">
|
204
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Tests connectivity and version of the service</wsdl:documentation>
|
205
|
-
<wsdl:input message="tns:PingSoapIn"/>
|
206
|
-
<wsdl:output message="tns:PingSoapOut"/>
|
207
|
-
</wsdl:operation>
|
208
|
-
<wsdl:operation name="IsAuthorized">
|
209
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
210
|
-
Checks authentication and authorization to one or more operations on the service.
|
211
|
-
</wsdl:documentation>
|
212
|
-
<wsdl:input message="tns:IsAuthorizedSoapIn"/>
|
213
|
-
<wsdl:output message="tns:IsAuthorizedSoapOut"/>
|
214
|
-
</wsdl:operation>
|
215
|
-
</wsdl:portType>
|
216
|
-
<wsdl:binding name="AddressSvcSoap" type="tns:AddressSvcSoap">
|
217
|
-
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
218
|
-
<wsdl:operation name="Validate">
|
219
|
-
<soap:operation soapAction="http://avatax.avalara.com/services/Validate" style="document"/>
|
220
|
-
<wsdl:input>
|
221
|
-
<soap:body use="literal"/>
|
222
|
-
<soap:header message="tns:ValidateProfile" part="Profile" use="literal"/>
|
223
|
-
</wsdl:input>
|
224
|
-
<wsdl:output>
|
225
|
-
<soap:body use="literal"/>
|
226
|
-
</wsdl:output>
|
227
|
-
</wsdl:operation>
|
228
|
-
<wsdl:operation name="Ping">
|
229
|
-
<soap:operation soapAction="http://avatax.avalara.com/services/Ping" style="document"/>
|
230
|
-
<wsdl:input>
|
231
|
-
<soap:body use="literal"/>
|
232
|
-
<soap:header message="tns:PingProfile" part="Profile" use="literal"/>
|
233
|
-
</wsdl:input>
|
234
|
-
<wsdl:output>
|
235
|
-
<soap:body use="literal"/>
|
236
|
-
</wsdl:output>
|
237
|
-
</wsdl:operation>
|
238
|
-
<wsdl:operation name="IsAuthorized">
|
239
|
-
<soap:operation soapAction="http://avatax.avalara.com/services/IsAuthorized" style="document"/>
|
240
|
-
<wsdl:input>
|
241
|
-
<soap:body use="literal"/>
|
242
|
-
<soap:header message="tns:IsAuthorizedProfile" part="Profile" use="literal"/>
|
243
|
-
</wsdl:input>
|
244
|
-
<wsdl:output>
|
245
|
-
<soap:body use="literal"/>
|
246
|
-
</wsdl:output>
|
247
|
-
</wsdl:operation>
|
248
|
-
</wsdl:binding>
|
249
|
-
<wsdl:binding name="AddressSvcSoap12" type="tns:AddressSvcSoap">
|
250
|
-
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
251
|
-
<wsdl:operation name="Validate">
|
252
|
-
<soap12:operation soapAction="http://avatax.avalara.com/services/Validate" style="document"/>
|
253
|
-
<wsdl:input>
|
254
|
-
<soap12:body use="literal"/>
|
255
|
-
<soap12:header message="tns:ValidateProfile" part="Profile" use="literal"/>
|
256
|
-
</wsdl:input>
|
257
|
-
<wsdl:output>
|
258
|
-
<soap12:body use="literal"/>
|
259
|
-
</wsdl:output>
|
260
|
-
</wsdl:operation>
|
261
|
-
<wsdl:operation name="Ping">
|
262
|
-
<soap12:operation soapAction="http://avatax.avalara.com/services/Ping" style="document"/>
|
263
|
-
<wsdl:input>
|
264
|
-
<soap12:body use="literal"/>
|
265
|
-
<soap12:header message="tns:PingProfile" part="Profile" use="literal"/>
|
266
|
-
</wsdl:input>
|
267
|
-
<wsdl:output>
|
268
|
-
<soap12:body use="literal"/>
|
269
|
-
</wsdl:output>
|
270
|
-
</wsdl:operation>
|
271
|
-
<wsdl:operation name="IsAuthorized">
|
272
|
-
<soap12:operation soapAction="http://avatax.avalara.com/services/IsAuthorized" style="document"/>
|
273
|
-
<wsdl:input>
|
274
|
-
<soap12:body use="literal"/>
|
275
|
-
<soap12:header message="tns:IsAuthorizedProfile" part="Profile" use="literal"/>
|
276
|
-
</wsdl:input>
|
277
|
-
<wsdl:output>
|
278
|
-
<soap12:body use="literal"/>
|
279
|
-
</wsdl:output>
|
280
|
-
</wsdl:operation>
|
281
|
-
</wsdl:binding>
|
282
|
-
<wsdl:service name="AddressSvc">
|
283
|
-
<wsdl:port name="AddressSvcSoap" binding="tns:AddressSvcSoap">
|
284
|
-
<soap:address location="https://development.avalara.net/Address/AddressSvc.asmx"/>
|
285
|
-
</wsdl:port>
|
286
|
-
<wsdl:port name="AddressSvcSoap12" binding="tns:AddressSvcSoap12">
|
287
|
-
<soap12:address location="https://development.avalara.net/Address/AddressSvc.asmx"/>
|
288
|
-
</wsdl:port>
|
289
|
-
</wsdl:service>
|
1
|
+
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://avatax.avalara.com/services" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://avatax.avalara.com/services">
|
2
|
+
<wsdl:types>
|
3
|
+
<s:schema elementFormDefault="qualified" targetNamespace="http://avatax.avalara.com/services">
|
4
|
+
<s:element name="Validate">
|
5
|
+
<s:complexType>
|
6
|
+
<s:sequence>
|
7
|
+
<s:element minOccurs="0" maxOccurs="1" name="ValidateRequest" type="tns:ValidateRequest"/>
|
8
|
+
</s:sequence>
|
9
|
+
</s:complexType>
|
10
|
+
</s:element>
|
11
|
+
<s:complexType name="ValidateRequest">
|
12
|
+
<s:sequence>
|
13
|
+
<s:element minOccurs="0" maxOccurs="1" name="Address" type="tns:BaseAddress"/>
|
14
|
+
<s:element minOccurs="1" maxOccurs="1" name="TextCase" type="tns:TextCase"/>
|
15
|
+
<s:element minOccurs="1" maxOccurs="1" name="Coordinates" type="s:boolean"/>
|
16
|
+
<s:element minOccurs="1" maxOccurs="1" name="Taxability" type="s:boolean"/>
|
17
|
+
<s:element minOccurs="1" maxOccurs="1" name="Date" type="s:date"/>
|
18
|
+
</s:sequence>
|
19
|
+
</s:complexType>
|
20
|
+
<s:complexType name="BaseAddress">
|
21
|
+
<s:sequence>
|
22
|
+
<s:element minOccurs="0" maxOccurs="1" name="AddressCode" type="s:string"/>
|
23
|
+
<s:element minOccurs="0" maxOccurs="1" name="Line1" type="s:string"/>
|
24
|
+
<s:element minOccurs="0" maxOccurs="1" name="Line2" type="s:string"/>
|
25
|
+
<s:element minOccurs="0" maxOccurs="1" name="Line3" type="s:string"/>
|
26
|
+
<s:element minOccurs="0" maxOccurs="1" name="City" type="s:string"/>
|
27
|
+
<s:element minOccurs="0" maxOccurs="1" name="Region" type="s:string"/>
|
28
|
+
<s:element minOccurs="0" maxOccurs="1" name="PostalCode" type="s:string"/>
|
29
|
+
<s:element minOccurs="0" maxOccurs="1" name="Country" type="s:string"/>
|
30
|
+
<s:element minOccurs="1" maxOccurs="1" name="TaxRegionId" type="s:int"/>
|
31
|
+
<s:element minOccurs="0" maxOccurs="1" name="Latitude" type="s:string"/>
|
32
|
+
<s:element minOccurs="0" maxOccurs="1" name="Longitude" type="s:string"/>
|
33
|
+
</s:sequence>
|
34
|
+
</s:complexType>
|
35
|
+
<s:complexType name="ValidAddress">
|
36
|
+
<s:complexContent mixed="false">
|
37
|
+
<s:extension base="tns:BaseAddress">
|
38
|
+
<s:sequence>
|
39
|
+
<s:element minOccurs="0" maxOccurs="1" name="Line4" type="s:string"/>
|
40
|
+
<s:element minOccurs="0" maxOccurs="1" name="County" type="s:string"/>
|
41
|
+
<s:element minOccurs="0" maxOccurs="1" name="FipsCode" type="s:string"/>
|
42
|
+
<s:element minOccurs="0" maxOccurs="1" name="CarrierRoute" type="s:string"/>
|
43
|
+
<s:element minOccurs="0" maxOccurs="1" name="PostNet" type="s:string"/>
|
44
|
+
<s:element minOccurs="0" maxOccurs="1" name="AddressType" type="s:string"/>
|
45
|
+
<s:element minOccurs="0" maxOccurs="1" name="ValidateStatus" type="s:string"/>
|
46
|
+
<s:element minOccurs="0" maxOccurs="1" name="GeocodeType" type="s:string"/>
|
47
|
+
</s:sequence>
|
48
|
+
</s:extension>
|
49
|
+
</s:complexContent>
|
50
|
+
</s:complexType>
|
51
|
+
<s:simpleType name="TextCase">
|
52
|
+
<s:restriction base="s:string">
|
53
|
+
<s:enumeration value="Default"/>
|
54
|
+
<s:enumeration value="Upper"/>
|
55
|
+
<s:enumeration value="Mixed"/>
|
56
|
+
</s:restriction>
|
57
|
+
</s:simpleType>
|
58
|
+
<s:element name="ValidateResponse">
|
59
|
+
<s:complexType>
|
60
|
+
<s:sequence>
|
61
|
+
<s:element minOccurs="0" maxOccurs="1" name="ValidateResult" type="tns:ValidateResult"/>
|
62
|
+
</s:sequence>
|
63
|
+
</s:complexType>
|
64
|
+
</s:element>
|
65
|
+
<s:complexType name="ValidateResult">
|
66
|
+
<s:complexContent mixed="false">
|
67
|
+
<s:extension base="tns:BaseResult">
|
68
|
+
<s:sequence>
|
69
|
+
<s:element minOccurs="0" maxOccurs="1" name="ValidAddresses" type="tns:ArrayOfValidAddress"/>
|
70
|
+
<s:element minOccurs="1" maxOccurs="1" name="Taxable" type="s:boolean"/>
|
71
|
+
</s:sequence>
|
72
|
+
</s:extension>
|
73
|
+
</s:complexContent>
|
74
|
+
</s:complexType>
|
75
|
+
<s:complexType name="BaseResult">
|
76
|
+
<s:sequence>
|
77
|
+
<s:element minOccurs="0" maxOccurs="1" name="TransactionId" type="s:string"/>
|
78
|
+
<s:element minOccurs="1" maxOccurs="1" name="ResultCode" type="tns:SeverityLevel"/>
|
79
|
+
<s:element minOccurs="0" maxOccurs="1" name="Messages" type="tns:ArrayOfMessage"/>
|
80
|
+
</s:sequence>
|
81
|
+
</s:complexType>
|
82
|
+
<s:simpleType name="SeverityLevel">
|
83
|
+
<s:restriction base="s:string">
|
84
|
+
<s:enumeration value="Success"/>
|
85
|
+
<s:enumeration value="Warning"/>
|
86
|
+
<s:enumeration value="Error"/>
|
87
|
+
<s:enumeration value="Exception"/>
|
88
|
+
</s:restriction>
|
89
|
+
</s:simpleType>
|
90
|
+
<s:complexType name="ArrayOfMessage">
|
91
|
+
<s:sequence>
|
92
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="Message" nillable="true" type="tns:Message"/>
|
93
|
+
</s:sequence>
|
94
|
+
</s:complexType>
|
95
|
+
<s:complexType name="Message">
|
96
|
+
<s:sequence>
|
97
|
+
<s:element minOccurs="0" maxOccurs="1" name="Summary" type="s:string"/>
|
98
|
+
<s:element minOccurs="0" maxOccurs="1" name="Details" type="s:string"/>
|
99
|
+
<s:element minOccurs="0" maxOccurs="1" name="HelpLink" type="s:string"/>
|
100
|
+
<s:element minOccurs="0" maxOccurs="1" name="RefersTo" type="s:string"/>
|
101
|
+
<s:element minOccurs="1" maxOccurs="1" name="Severity" type="tns:SeverityLevel"/>
|
102
|
+
<s:element minOccurs="0" maxOccurs="1" name="Source" type="s:string"/>
|
103
|
+
</s:sequence>
|
104
|
+
<s:attribute name="Name" type="s:string"/>
|
105
|
+
</s:complexType>
|
106
|
+
<s:complexType name="ArrayOfValidAddress">
|
107
|
+
<s:sequence>
|
108
|
+
<s:element minOccurs="0" maxOccurs="unbounded" name="ValidAddress" nillable="true" type="tns:ValidAddress"/>
|
109
|
+
</s:sequence>
|
110
|
+
</s:complexType>
|
111
|
+
<s:element name="Profile" type="tns:Profile"/>
|
112
|
+
<s:complexType name="Profile">
|
113
|
+
<s:sequence>
|
114
|
+
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string"/>
|
115
|
+
<s:element minOccurs="0" maxOccurs="1" name="Client" type="s:string"/>
|
116
|
+
<s:element minOccurs="0" maxOccurs="1" name="Adapter" type="s:string"/>
|
117
|
+
<s:element minOccurs="0" maxOccurs="1" name="Machine" type="s:string"/>
|
118
|
+
</s:sequence>
|
119
|
+
<s:anyAttribute/>
|
120
|
+
</s:complexType>
|
121
|
+
<s:element name="Ping">
|
122
|
+
<s:complexType>
|
123
|
+
<s:sequence>
|
124
|
+
<s:element minOccurs="0" maxOccurs="1" name="Message" type="s:string"/>
|
125
|
+
</s:sequence>
|
126
|
+
</s:complexType>
|
127
|
+
</s:element>
|
128
|
+
<s:element name="PingResponse">
|
129
|
+
<s:complexType>
|
130
|
+
<s:sequence>
|
131
|
+
<s:element minOccurs="0" maxOccurs="1" name="PingResult" type="tns:PingResult"/>
|
132
|
+
</s:sequence>
|
133
|
+
</s:complexType>
|
134
|
+
</s:element>
|
135
|
+
<s:complexType name="PingResult">
|
136
|
+
<s:complexContent mixed="false">
|
137
|
+
<s:extension base="tns:BaseResult">
|
138
|
+
<s:sequence>
|
139
|
+
<s:element minOccurs="0" maxOccurs="1" name="Version" type="s:string"/>
|
140
|
+
</s:sequence>
|
141
|
+
</s:extension>
|
142
|
+
</s:complexContent>
|
143
|
+
</s:complexType>
|
144
|
+
<s:element name="IsAuthorized">
|
145
|
+
<s:complexType>
|
146
|
+
<s:sequence>
|
147
|
+
<s:element minOccurs="0" maxOccurs="1" name="Operations" type="s:string"/>
|
148
|
+
</s:sequence>
|
149
|
+
</s:complexType>
|
150
|
+
</s:element>
|
151
|
+
<s:element name="IsAuthorizedResponse">
|
152
|
+
<s:complexType>
|
153
|
+
<s:sequence>
|
154
|
+
<s:element minOccurs="0" maxOccurs="1" name="IsAuthorizedResult" type="tns:IsAuthorizedResult"/>
|
155
|
+
</s:sequence>
|
156
|
+
</s:complexType>
|
157
|
+
</s:element>
|
158
|
+
<s:complexType name="IsAuthorizedResult">
|
159
|
+
<s:complexContent mixed="false">
|
160
|
+
<s:extension base="tns:BaseResult">
|
161
|
+
<s:sequence>
|
162
|
+
<s:element minOccurs="0" maxOccurs="1" name="Operations" type="s:string"/>
|
163
|
+
<s:element minOccurs="1" maxOccurs="1" name="Expires" type="s:dateTime"/>
|
164
|
+
</s:sequence>
|
165
|
+
</s:extension>
|
166
|
+
</s:complexContent>
|
167
|
+
</s:complexType>
|
168
|
+
</s:schema>
|
169
|
+
</wsdl:types>
|
170
|
+
<wsdl:message name="ValidateSoapIn">
|
171
|
+
<wsdl:part name="parameters" element="tns:Validate"/>
|
172
|
+
</wsdl:message>
|
173
|
+
<wsdl:message name="ValidateSoapOut">
|
174
|
+
<wsdl:part name="parameters" element="tns:ValidateResponse"/>
|
175
|
+
</wsdl:message>
|
176
|
+
<wsdl:message name="ValidateProfile">
|
177
|
+
<wsdl:part name="Profile" element="tns:Profile"/>
|
178
|
+
</wsdl:message>
|
179
|
+
<wsdl:message name="PingSoapIn">
|
180
|
+
<wsdl:part name="parameters" element="tns:Ping"/>
|
181
|
+
</wsdl:message>
|
182
|
+
<wsdl:message name="PingSoapOut">
|
183
|
+
<wsdl:part name="parameters" element="tns:PingResponse"/>
|
184
|
+
</wsdl:message>
|
185
|
+
<wsdl:message name="PingProfile">
|
186
|
+
<wsdl:part name="Profile" element="tns:Profile"/>
|
187
|
+
</wsdl:message>
|
188
|
+
<wsdl:message name="IsAuthorizedSoapIn">
|
189
|
+
<wsdl:part name="parameters" element="tns:IsAuthorized"/>
|
190
|
+
</wsdl:message>
|
191
|
+
<wsdl:message name="IsAuthorizedSoapOut">
|
192
|
+
<wsdl:part name="parameters" element="tns:IsAuthorizedResponse"/>
|
193
|
+
</wsdl:message>
|
194
|
+
<wsdl:message name="IsAuthorizedProfile">
|
195
|
+
<wsdl:part name="Profile" element="tns:Profile"/>
|
196
|
+
</wsdl:message>
|
197
|
+
<wsdl:portType name="AddressSvcSoap">
|
198
|
+
<wsdl:operation name="Validate">
|
199
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Validate an Address</wsdl:documentation>
|
200
|
+
<wsdl:input message="tns:ValidateSoapIn"/>
|
201
|
+
<wsdl:output message="tns:ValidateSoapOut"/>
|
202
|
+
</wsdl:operation>
|
203
|
+
<wsdl:operation name="Ping">
|
204
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Tests connectivity and version of the service</wsdl:documentation>
|
205
|
+
<wsdl:input message="tns:PingSoapIn"/>
|
206
|
+
<wsdl:output message="tns:PingSoapOut"/>
|
207
|
+
</wsdl:operation>
|
208
|
+
<wsdl:operation name="IsAuthorized">
|
209
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
210
|
+
Checks authentication and authorization to one or more operations on the service.
|
211
|
+
</wsdl:documentation>
|
212
|
+
<wsdl:input message="tns:IsAuthorizedSoapIn"/>
|
213
|
+
<wsdl:output message="tns:IsAuthorizedSoapOut"/>
|
214
|
+
</wsdl:operation>
|
215
|
+
</wsdl:portType>
|
216
|
+
<wsdl:binding name="AddressSvcSoap" type="tns:AddressSvcSoap">
|
217
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
218
|
+
<wsdl:operation name="Validate">
|
219
|
+
<soap:operation soapAction="http://avatax.avalara.com/services/Validate" style="document"/>
|
220
|
+
<wsdl:input>
|
221
|
+
<soap:body use="literal"/>
|
222
|
+
<soap:header message="tns:ValidateProfile" part="Profile" use="literal"/>
|
223
|
+
</wsdl:input>
|
224
|
+
<wsdl:output>
|
225
|
+
<soap:body use="literal"/>
|
226
|
+
</wsdl:output>
|
227
|
+
</wsdl:operation>
|
228
|
+
<wsdl:operation name="Ping">
|
229
|
+
<soap:operation soapAction="http://avatax.avalara.com/services/Ping" style="document"/>
|
230
|
+
<wsdl:input>
|
231
|
+
<soap:body use="literal"/>
|
232
|
+
<soap:header message="tns:PingProfile" part="Profile" use="literal"/>
|
233
|
+
</wsdl:input>
|
234
|
+
<wsdl:output>
|
235
|
+
<soap:body use="literal"/>
|
236
|
+
</wsdl:output>
|
237
|
+
</wsdl:operation>
|
238
|
+
<wsdl:operation name="IsAuthorized">
|
239
|
+
<soap:operation soapAction="http://avatax.avalara.com/services/IsAuthorized" style="document"/>
|
240
|
+
<wsdl:input>
|
241
|
+
<soap:body use="literal"/>
|
242
|
+
<soap:header message="tns:IsAuthorizedProfile" part="Profile" use="literal"/>
|
243
|
+
</wsdl:input>
|
244
|
+
<wsdl:output>
|
245
|
+
<soap:body use="literal"/>
|
246
|
+
</wsdl:output>
|
247
|
+
</wsdl:operation>
|
248
|
+
</wsdl:binding>
|
249
|
+
<wsdl:binding name="AddressSvcSoap12" type="tns:AddressSvcSoap">
|
250
|
+
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>
|
251
|
+
<wsdl:operation name="Validate">
|
252
|
+
<soap12:operation soapAction="http://avatax.avalara.com/services/Validate" style="document"/>
|
253
|
+
<wsdl:input>
|
254
|
+
<soap12:body use="literal"/>
|
255
|
+
<soap12:header message="tns:ValidateProfile" part="Profile" use="literal"/>
|
256
|
+
</wsdl:input>
|
257
|
+
<wsdl:output>
|
258
|
+
<soap12:body use="literal"/>
|
259
|
+
</wsdl:output>
|
260
|
+
</wsdl:operation>
|
261
|
+
<wsdl:operation name="Ping">
|
262
|
+
<soap12:operation soapAction="http://avatax.avalara.com/services/Ping" style="document"/>
|
263
|
+
<wsdl:input>
|
264
|
+
<soap12:body use="literal"/>
|
265
|
+
<soap12:header message="tns:PingProfile" part="Profile" use="literal"/>
|
266
|
+
</wsdl:input>
|
267
|
+
<wsdl:output>
|
268
|
+
<soap12:body use="literal"/>
|
269
|
+
</wsdl:output>
|
270
|
+
</wsdl:operation>
|
271
|
+
<wsdl:operation name="IsAuthorized">
|
272
|
+
<soap12:operation soapAction="http://avatax.avalara.com/services/IsAuthorized" style="document"/>
|
273
|
+
<wsdl:input>
|
274
|
+
<soap12:body use="literal"/>
|
275
|
+
<soap12:header message="tns:IsAuthorizedProfile" part="Profile" use="literal"/>
|
276
|
+
</wsdl:input>
|
277
|
+
<wsdl:output>
|
278
|
+
<soap12:body use="literal"/>
|
279
|
+
</wsdl:output>
|
280
|
+
</wsdl:operation>
|
281
|
+
</wsdl:binding>
|
282
|
+
<wsdl:service name="AddressSvc">
|
283
|
+
<wsdl:port name="AddressSvcSoap" binding="tns:AddressSvcSoap">
|
284
|
+
<soap:address location="https://development.avalara.net/Address/AddressSvc.asmx"/>
|
285
|
+
</wsdl:port>
|
286
|
+
<wsdl:port name="AddressSvcSoap12" binding="tns:AddressSvcSoap12">
|
287
|
+
<soap12:address location="https://development.avalara.net/Address/AddressSvc.asmx"/>
|
288
|
+
</wsdl:port>
|
289
|
+
</wsdl:service>
|
290
290
|
</wsdl:definitions>
|