soap-object 0.6.3 → 0.6.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.gitignore +21 -20
- data/.rspec +1 -1
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/ChangeLog +66 -50
- data/Gemfile +11 -11
- data/Guardfile +17 -17
- data/LICENSE.txt +21 -21
- data/README.md +131 -42
- data/Rakefile +24 -21
- data/cucumber.yml +6 -6
- data/features/core_functionality.feature +24 -0
- data/features/response_functionality.feature +21 -0
- data/features/step_definitions/core_functionality_steps.rb +28 -0
- data/features/step_definitions/response_steps.rb +35 -0
- data/features/support/env.rb +7 -5
- data/features/support/services/define_service.rb +9 -0
- data/features/support/services/local_wsdl_service.rb +5 -0
- data/features/support/services/zip_code_service.rb +28 -0
- data/features/wsdl/uszip.asmx.wsdl.xml +394 -394
- data/lib/soap-object.rb +100 -128
- data/lib/soap-object/class_methods.rb +143 -125
- data/lib/soap-object/factory.rb +22 -22
- data/lib/soap-object/response.rb +39 -0
- data/lib/soap-object/ssl_options.rb +22 -0
- data/lib/soap-object/version.rb +3 -5
- data/soap-object.gemspec +24 -24
- data/spec/lib/client_options_spec.rb +119 -0
- data/spec/lib/factory_spec.rb +25 -0
- data/spec/lib/soap_object_spec.rb +37 -143
- data/spec/lib/ssl_options_spec.rb +27 -0
- data/spec/spec_helper.rb +45 -6
- metadata +41 -23
- data/features/basic_functionality.feature +0 -40
- data/features/step_definitions/basic_functionality_steps.rb +0 -89
data/Rakefile
CHANGED
@@ -1,21 +1,24 @@
|
|
1
|
-
require "bundler/gem_tasks"
|
2
|
-
|
3
|
-
require 'rspec/core/rake_task'
|
4
|
-
require 'cucumber'
|
5
|
-
require 'cucumber/rake/task'
|
6
|
-
|
7
|
-
RSpec::Core::RakeTask.new(:spec) do |spec|
|
8
|
-
spec.ruby_opts = "-I lib:spec"
|
9
|
-
spec.pattern = 'spec/**/*_spec.rb'
|
10
|
-
end
|
11
|
-
task :spec
|
12
|
-
|
13
|
-
Cucumber::Rake::Task.new(:features, "Run all features") do |t|
|
14
|
-
t.profile = '
|
15
|
-
end
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
require "bundler/gem_tasks"
|
2
|
+
|
3
|
+
require 'rspec/core/rake_task'
|
4
|
+
require 'cucumber'
|
5
|
+
require 'cucumber/rake/task'
|
6
|
+
|
7
|
+
RSpec::Core::RakeTask.new(:spec) do |spec|
|
8
|
+
spec.ruby_opts = "-I lib:spec"
|
9
|
+
spec.pattern = 'spec/**/*_spec.rb'
|
10
|
+
end
|
11
|
+
task :spec
|
12
|
+
|
13
|
+
Cucumber::Rake::Task.new(:features, "Run all features") do |t|
|
14
|
+
t.profile = 'default'
|
15
|
+
end
|
16
|
+
|
17
|
+
Cucumber::Rake::Task.new(:wip, "Wip features") do |t|
|
18
|
+
t.profile = 'wip'
|
19
|
+
end
|
20
|
+
|
21
|
+
desc 'Run all specs and features'
|
22
|
+
task :test => %w[spec features]
|
23
|
+
|
24
|
+
task :default => :test
|
data/cucumber.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
<%
|
2
|
-
std_opts = "--no-source --color --format pretty"
|
3
|
-
%>
|
4
|
-
|
5
|
-
default: <%= std_opts %>
|
6
|
-
|
1
|
+
<%
|
2
|
+
std_opts = "--no-source --color --format pretty"
|
3
|
+
%>
|
4
|
+
|
5
|
+
default: <%= std_opts %>
|
6
|
+
wip: <%= std_opts %> --tags @wip
|
@@ -0,0 +1,24 @@
|
|
1
|
+
Feature: This describes the core functionality of the SoapObject object
|
2
|
+
|
3
|
+
Scenario: Establishing communications with remote wsdl
|
4
|
+
Given I have the url for a remote wsdl
|
5
|
+
When I create an instance of the SoapObject class
|
6
|
+
Then I should have a connection
|
7
|
+
|
8
|
+
Scenario: Establishing communications with a local wsdl
|
9
|
+
Given I have a wsdl file residing locally
|
10
|
+
When I create an instance of the SoapObject class
|
11
|
+
Then I should have a connection
|
12
|
+
|
13
|
+
Scenario: Providing operations when using wsdl
|
14
|
+
Given I have the url for a remote wsdl
|
15
|
+
When I create an instance of the SoapObject class
|
16
|
+
Then I should be able to determine the operations
|
17
|
+
|
18
|
+
Scenario Outline: Calling a service with a remote wsdl
|
19
|
+
When I use a SoapObject with a remote wsdl named "<soap-object>"
|
20
|
+
Then I should be able to successfully call "<operation>" with "<args>"
|
21
|
+
Examples:
|
22
|
+
| soap-object | operation | args |
|
23
|
+
| DefineService | definition_for | Cheese |
|
24
|
+
| ZipCodeService | get_zip_code_info | 44114 |
|
@@ -0,0 +1,21 @@
|
|
1
|
+
Feature: Functionality to parse the response from the SoapObject call
|
2
|
+
|
3
|
+
Scenario: Getting the xml from a response
|
4
|
+
Given I use a SoapObject with a remote wsdl named "ZipCodeService"
|
5
|
+
When I get the information for zip code "44114"
|
6
|
+
Then the results xml should contain "<STATE>OH"
|
7
|
+
|
8
|
+
Scenario: Getting the doc from a response as a Nokogiri object
|
9
|
+
Given I use a SoapObject with a remote wsdl named "ZipCodeService"
|
10
|
+
When I get the information for zip code "44114"
|
11
|
+
And the results doc should be a Nokogiri XML object
|
12
|
+
|
13
|
+
Scenario: Getting a hash from the response
|
14
|
+
Given I use a SoapObject with a remote wsdl named "ZipCodeService"
|
15
|
+
When I get the information for zip code "44114"
|
16
|
+
Then I should be able access the correct response from a hash
|
17
|
+
|
18
|
+
Scenario: Using xpath to parse the response
|
19
|
+
Given I use a SoapObject with a remote wsdl named "ZipCodeService"
|
20
|
+
When I get the information for zip code "44114"
|
21
|
+
Then I should be able access the correct response by xpath
|
@@ -0,0 +1,28 @@
|
|
1
|
+
Given /^I have the url for a remote wsdl$/ do
|
2
|
+
@cls = ZipCodeService
|
3
|
+
end
|
4
|
+
|
5
|
+
Given /^I have a wsdl file residing locally$/ do
|
6
|
+
@cls = LocalWsdlService
|
7
|
+
end
|
8
|
+
|
9
|
+
Given /^I use a SoapObject with a remote wsdl named "(.*?)"$/ do |service_class|
|
10
|
+
@cls = Object.const_get(service_class)
|
11
|
+
end
|
12
|
+
|
13
|
+
When /^I create an instance of the SoapObject class$/ do
|
14
|
+
using(@cls)
|
15
|
+
end
|
16
|
+
|
17
|
+
Then /^I should have a connection$/ do
|
18
|
+
expect(using(@cls)).to be_connected
|
19
|
+
end
|
20
|
+
|
21
|
+
Then /^I should be able to determine the operations$/ do
|
22
|
+
operations = using(@cls).operations
|
23
|
+
expect(operations).to include :get_info_by_zip
|
24
|
+
end
|
25
|
+
|
26
|
+
Then /^I should be able to successfully call "(.*?)" with "(.*?)"$/ do |operation, args|
|
27
|
+
using(@cls).send(operation, args)
|
28
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
When(/^I get the information for zip code "([^"]*)"$/) do |zip_code|
|
2
|
+
sleep 0.5 #throttle requests to remote wsdl
|
3
|
+
using(@cls).get_zip_code_info(zip_code)
|
4
|
+
end
|
5
|
+
|
6
|
+
Then /^the results xml should contain "(.*?)"$/ do |xml|
|
7
|
+
using(@cls) do |so|
|
8
|
+
xml_response = so.to_xml
|
9
|
+
expect(xml_response).to be_an_instance_of(String)
|
10
|
+
expect(xml_response).to include xml
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
Then /^the results doc should be a Nokogiri XML object$/ do
|
15
|
+
using(@cls) do |so|
|
16
|
+
expect(so.doc).to be_instance_of Nokogiri::XML::Document
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
Then /^I should be able access the correct response from a hash$/ do
|
21
|
+
using(@cls) do |so|
|
22
|
+
expect(so.body).to be_an_instance_of(Hash)
|
23
|
+
expect(so.state).to eq('OH')
|
24
|
+
expect(so.city).to eq('Cleveland')
|
25
|
+
expect(so.area_code).to eq('216')
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
Then(/^I should be able access the correct response by xpath$/) do
|
30
|
+
using(@cls) do |so|
|
31
|
+
expect(so.xpath('//Table/STATE').first.text).to eq('OH')
|
32
|
+
expect(so.xpath('//Table/CITY').first.text).to eq('Cleveland')
|
33
|
+
expect(so.xpath('//Table/AREA_CODE').first.text).to eq('216')
|
34
|
+
end
|
35
|
+
end
|
data/features/support/env.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', '..', 'lib'))
|
2
|
-
|
3
|
-
require 'rspec/expectations'
|
4
|
-
require 'soap-object'
|
5
|
-
require 'nokogiri'
|
1
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', '..', 'lib'))
|
2
|
+
|
3
|
+
require 'rspec/expectations'
|
4
|
+
require 'soap-object'
|
5
|
+
require 'nokogiri'
|
6
|
+
|
7
|
+
World(SoapObject::Factory)
|
@@ -0,0 +1,28 @@
|
|
1
|
+
class ZipCodeService
|
2
|
+
include SoapObject
|
3
|
+
|
4
|
+
wsdl 'http://www.webservicex.net/uszip.asmx?WSDL'
|
5
|
+
log_level :error
|
6
|
+
|
7
|
+
def get_zip_code_info(zip_code)
|
8
|
+
get_info_by_zip 'USZip' => zip_code
|
9
|
+
end
|
10
|
+
|
11
|
+
def state
|
12
|
+
message[:state]
|
13
|
+
end
|
14
|
+
|
15
|
+
def city
|
16
|
+
message[:city]
|
17
|
+
end
|
18
|
+
|
19
|
+
def area_code
|
20
|
+
message[:area_code]
|
21
|
+
end
|
22
|
+
|
23
|
+
private
|
24
|
+
|
25
|
+
def message
|
26
|
+
body[:get_info_by_zip_response][:get_info_by_zip_result][:new_data_set][:table]
|
27
|
+
end
|
28
|
+
end
|
@@ -1,395 +1,395 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<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://www.webserviceX.NET" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
3
|
-
<wsdl:types>
|
4
|
-
<s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
|
5
|
-
<s:element name="GetInfoByZIP">
|
6
|
-
<s:complexType>
|
7
|
-
<s:sequence>
|
8
|
-
<s:element minOccurs="0" maxOccurs="1" name="USZip" type="s:string" />
|
9
|
-
</s:sequence>
|
10
|
-
</s:complexType>
|
11
|
-
</s:element>
|
12
|
-
<s:element name="GetInfoByZIPResponse">
|
13
|
-
<s:complexType>
|
14
|
-
<s:sequence>
|
15
|
-
<s:element minOccurs="0" maxOccurs="1" name="GetInfoByZIPResult">
|
16
|
-
<s:complexType mixed="true">
|
17
|
-
<s:sequence>
|
18
|
-
<s:any />
|
19
|
-
</s:sequence>
|
20
|
-
</s:complexType>
|
21
|
-
</s:element>
|
22
|
-
</s:sequence>
|
23
|
-
</s:complexType>
|
24
|
-
</s:element>
|
25
|
-
<s:element name="GetInfoByCity">
|
26
|
-
<s:complexType>
|
27
|
-
<s:sequence>
|
28
|
-
<s:element minOccurs="0" maxOccurs="1" name="USCity" type="s:string" />
|
29
|
-
</s:sequence>
|
30
|
-
</s:complexType>
|
31
|
-
</s:element>
|
32
|
-
<s:element name="GetInfoByCityResponse">
|
33
|
-
<s:complexType>
|
34
|
-
<s:sequence>
|
35
|
-
<s:element minOccurs="0" maxOccurs="1" name="GetInfoByCityResult">
|
36
|
-
<s:complexType mixed="true">
|
37
|
-
<s:sequence>
|
38
|
-
<s:any />
|
39
|
-
</s:sequence>
|
40
|
-
</s:complexType>
|
41
|
-
</s:element>
|
42
|
-
</s:sequence>
|
43
|
-
</s:complexType>
|
44
|
-
</s:element>
|
45
|
-
<s:element name="GetInfoByState">
|
46
|
-
<s:complexType>
|
47
|
-
<s:sequence>
|
48
|
-
<s:element minOccurs="0" maxOccurs="1" name="USState" type="s:string" />
|
49
|
-
</s:sequence>
|
50
|
-
</s:complexType>
|
51
|
-
</s:element>
|
52
|
-
<s:element name="GetInfoByStateResponse">
|
53
|
-
<s:complexType>
|
54
|
-
<s:sequence>
|
55
|
-
<s:element minOccurs="0" maxOccurs="1" name="GetInfoByStateResult">
|
56
|
-
<s:complexType mixed="true">
|
57
|
-
<s:sequence>
|
58
|
-
<s:any />
|
59
|
-
</s:sequence>
|
60
|
-
</s:complexType>
|
61
|
-
</s:element>
|
62
|
-
</s:sequence>
|
63
|
-
</s:complexType>
|
64
|
-
</s:element>
|
65
|
-
<s:element name="GetInfoByAreaCode">
|
66
|
-
<s:complexType>
|
67
|
-
<s:sequence>
|
68
|
-
<s:element minOccurs="0" maxOccurs="1" name="USAreaCode" type="s:string" />
|
69
|
-
</s:sequence>
|
70
|
-
</s:complexType>
|
71
|
-
</s:element>
|
72
|
-
<s:element name="GetInfoByAreaCodeResponse">
|
73
|
-
<s:complexType>
|
74
|
-
<s:sequence>
|
75
|
-
<s:element minOccurs="0" maxOccurs="1" name="GetInfoByAreaCodeResult">
|
76
|
-
<s:complexType mixed="true">
|
77
|
-
<s:sequence>
|
78
|
-
<s:any />
|
79
|
-
</s:sequence>
|
80
|
-
</s:complexType>
|
81
|
-
</s:element>
|
82
|
-
</s:sequence>
|
83
|
-
</s:complexType>
|
84
|
-
</s:element>
|
85
|
-
</s:schema>
|
86
|
-
</wsdl:types>
|
87
|
-
<wsdl:message name="GetInfoByZIPSoapIn">
|
88
|
-
<wsdl:part name="parameters" element="tns:GetInfoByZIP" />
|
89
|
-
</wsdl:message>
|
90
|
-
<wsdl:message name="GetInfoByZIPSoapOut">
|
91
|
-
<wsdl:part name="parameters" element="tns:GetInfoByZIPResponse" />
|
92
|
-
</wsdl:message>
|
93
|
-
<wsdl:message name="GetInfoByCitySoapIn">
|
94
|
-
<wsdl:part name="parameters" element="tns:GetInfoByCity" />
|
95
|
-
</wsdl:message>
|
96
|
-
<wsdl:message name="GetInfoByCitySoapOut">
|
97
|
-
<wsdl:part name="parameters" element="tns:GetInfoByCityResponse" />
|
98
|
-
</wsdl:message>
|
99
|
-
<wsdl:message name="GetInfoByStateSoapIn">
|
100
|
-
<wsdl:part name="parameters" element="tns:GetInfoByState" />
|
101
|
-
</wsdl:message>
|
102
|
-
<wsdl:message name="GetInfoByStateSoapOut">
|
103
|
-
<wsdl:part name="parameters" element="tns:GetInfoByStateResponse" />
|
104
|
-
</wsdl:message>
|
105
|
-
<wsdl:message name="GetInfoByAreaCodeSoapIn">
|
106
|
-
<wsdl:part name="parameters" element="tns:GetInfoByAreaCode" />
|
107
|
-
</wsdl:message>
|
108
|
-
<wsdl:message name="GetInfoByAreaCodeSoapOut">
|
109
|
-
<wsdl:part name="parameters" element="tns:GetInfoByAreaCodeResponse" />
|
110
|
-
</wsdl:message>
|
111
|
-
<wsdl:message name="GetInfoByZIPHttpGetIn">
|
112
|
-
<wsdl:part name="USZip" type="s:string" />
|
113
|
-
</wsdl:message>
|
114
|
-
<wsdl:message name="GetInfoByZIPHttpGetOut">
|
115
|
-
<wsdl:part name="Body" />
|
116
|
-
</wsdl:message>
|
117
|
-
<wsdl:message name="GetInfoByCityHttpGetIn">
|
118
|
-
<wsdl:part name="USCity" type="s:string" />
|
119
|
-
</wsdl:message>
|
120
|
-
<wsdl:message name="GetInfoByCityHttpGetOut">
|
121
|
-
<wsdl:part name="Body" />
|
122
|
-
</wsdl:message>
|
123
|
-
<wsdl:message name="GetInfoByStateHttpGetIn">
|
124
|
-
<wsdl:part name="USState" type="s:string" />
|
125
|
-
</wsdl:message>
|
126
|
-
<wsdl:message name="GetInfoByStateHttpGetOut">
|
127
|
-
<wsdl:part name="Body" />
|
128
|
-
</wsdl:message>
|
129
|
-
<wsdl:message name="GetInfoByAreaCodeHttpGetIn">
|
130
|
-
<wsdl:part name="USAreaCode" type="s:string" />
|
131
|
-
</wsdl:message>
|
132
|
-
<wsdl:message name="GetInfoByAreaCodeHttpGetOut">
|
133
|
-
<wsdl:part name="Body" />
|
134
|
-
</wsdl:message>
|
135
|
-
<wsdl:message name="GetInfoByZIPHttpPostIn">
|
136
|
-
<wsdl:part name="USZip" type="s:string" />
|
137
|
-
</wsdl:message>
|
138
|
-
<wsdl:message name="GetInfoByZIPHttpPostOut">
|
139
|
-
<wsdl:part name="Body" />
|
140
|
-
</wsdl:message>
|
141
|
-
<wsdl:message name="GetInfoByCityHttpPostIn">
|
142
|
-
<wsdl:part name="USCity" type="s:string" />
|
143
|
-
</wsdl:message>
|
144
|
-
<wsdl:message name="GetInfoByCityHttpPostOut">
|
145
|
-
<wsdl:part name="Body" />
|
146
|
-
</wsdl:message>
|
147
|
-
<wsdl:message name="GetInfoByStateHttpPostIn">
|
148
|
-
<wsdl:part name="USState" type="s:string" />
|
149
|
-
</wsdl:message>
|
150
|
-
<wsdl:message name="GetInfoByStateHttpPostOut">
|
151
|
-
<wsdl:part name="Body" />
|
152
|
-
</wsdl:message>
|
153
|
-
<wsdl:message name="GetInfoByAreaCodeHttpPostIn">
|
154
|
-
<wsdl:part name="USAreaCode" type="s:string" />
|
155
|
-
</wsdl:message>
|
156
|
-
<wsdl:message name="GetInfoByAreaCodeHttpPostOut">
|
157
|
-
<wsdl:part name="Body" />
|
158
|
-
</wsdl:message>
|
159
|
-
<wsdl:portType name="USZipSoap">
|
160
|
-
<wsdl:operation name="GetInfoByZIP">
|
161
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Zip Code</wsdl:documentation>
|
162
|
-
<wsdl:input message="tns:GetInfoByZIPSoapIn" />
|
163
|
-
<wsdl:output message="tns:GetInfoByZIPSoapOut" />
|
164
|
-
</wsdl:operation>
|
165
|
-
<wsdl:operation name="GetInfoByCity">
|
166
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by City</wsdl:documentation>
|
167
|
-
<wsdl:input message="tns:GetInfoByCitySoapIn" />
|
168
|
-
<wsdl:output message="tns:GetInfoByCitySoapOut" />
|
169
|
-
</wsdl:operation>
|
170
|
-
<wsdl:operation name="GetInfoByState">
|
171
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by state</wsdl:documentation>
|
172
|
-
<wsdl:input message="tns:GetInfoByStateSoapIn" />
|
173
|
-
<wsdl:output message="tns:GetInfoByStateSoapOut" />
|
174
|
-
</wsdl:operation>
|
175
|
-
<wsdl:operation name="GetInfoByAreaCode">
|
176
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Area Code</wsdl:documentation>
|
177
|
-
<wsdl:input message="tns:GetInfoByAreaCodeSoapIn" />
|
178
|
-
<wsdl:output message="tns:GetInfoByAreaCodeSoapOut" />
|
179
|
-
</wsdl:operation>
|
180
|
-
</wsdl:portType>
|
181
|
-
<wsdl:portType name="USZipHttpGet">
|
182
|
-
<wsdl:operation name="GetInfoByZIP">
|
183
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Zip Code</wsdl:documentation>
|
184
|
-
<wsdl:input message="tns:GetInfoByZIPHttpGetIn" />
|
185
|
-
<wsdl:output message="tns:GetInfoByZIPHttpGetOut" />
|
186
|
-
</wsdl:operation>
|
187
|
-
<wsdl:operation name="GetInfoByCity">
|
188
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by City</wsdl:documentation>
|
189
|
-
<wsdl:input message="tns:GetInfoByCityHttpGetIn" />
|
190
|
-
<wsdl:output message="tns:GetInfoByCityHttpGetOut" />
|
191
|
-
</wsdl:operation>
|
192
|
-
<wsdl:operation name="GetInfoByState">
|
193
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by state</wsdl:documentation>
|
194
|
-
<wsdl:input message="tns:GetInfoByStateHttpGetIn" />
|
195
|
-
<wsdl:output message="tns:GetInfoByStateHttpGetOut" />
|
196
|
-
</wsdl:operation>
|
197
|
-
<wsdl:operation name="GetInfoByAreaCode">
|
198
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Area Code</wsdl:documentation>
|
199
|
-
<wsdl:input message="tns:GetInfoByAreaCodeHttpGetIn" />
|
200
|
-
<wsdl:output message="tns:GetInfoByAreaCodeHttpGetOut" />
|
201
|
-
</wsdl:operation>
|
202
|
-
</wsdl:portType>
|
203
|
-
<wsdl:portType name="USZipHttpPost">
|
204
|
-
<wsdl:operation name="GetInfoByZIP">
|
205
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Zip Code</wsdl:documentation>
|
206
|
-
<wsdl:input message="tns:GetInfoByZIPHttpPostIn" />
|
207
|
-
<wsdl:output message="tns:GetInfoByZIPHttpPostOut" />
|
208
|
-
</wsdl:operation>
|
209
|
-
<wsdl:operation name="GetInfoByCity">
|
210
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by City</wsdl:documentation>
|
211
|
-
<wsdl:input message="tns:GetInfoByCityHttpPostIn" />
|
212
|
-
<wsdl:output message="tns:GetInfoByCityHttpPostOut" />
|
213
|
-
</wsdl:operation>
|
214
|
-
<wsdl:operation name="GetInfoByState">
|
215
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by state</wsdl:documentation>
|
216
|
-
<wsdl:input message="tns:GetInfoByStateHttpPostIn" />
|
217
|
-
<wsdl:output message="tns:GetInfoByStateHttpPostOut" />
|
218
|
-
</wsdl:operation>
|
219
|
-
<wsdl:operation name="GetInfoByAreaCode">
|
220
|
-
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Area Code</wsdl:documentation>
|
221
|
-
<wsdl:input message="tns:GetInfoByAreaCodeHttpPostIn" />
|
222
|
-
<wsdl:output message="tns:GetInfoByAreaCodeHttpPostOut" />
|
223
|
-
</wsdl:operation>
|
224
|
-
</wsdl:portType>
|
225
|
-
<wsdl:binding name="USZipSoap" type="tns:USZipSoap">
|
226
|
-
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
227
|
-
<wsdl:operation name="GetInfoByZIP">
|
228
|
-
<soap:operation soapAction="http://www.webserviceX.NET/GetInfoByZIP" style="document" />
|
229
|
-
<wsdl:input>
|
230
|
-
<soap:body use="literal" />
|
231
|
-
</wsdl:input>
|
232
|
-
<wsdl:output>
|
233
|
-
<soap:body use="literal" />
|
234
|
-
</wsdl:output>
|
235
|
-
</wsdl:operation>
|
236
|
-
<wsdl:operation name="GetInfoByCity">
|
237
|
-
<soap:operation soapAction="http://www.webserviceX.NET/GetInfoByCity" style="document" />
|
238
|
-
<wsdl:input>
|
239
|
-
<soap:body use="literal" />
|
240
|
-
</wsdl:input>
|
241
|
-
<wsdl:output>
|
242
|
-
<soap:body use="literal" />
|
243
|
-
</wsdl:output>
|
244
|
-
</wsdl:operation>
|
245
|
-
<wsdl:operation name="GetInfoByState">
|
246
|
-
<soap:operation soapAction="http://www.webserviceX.NET/GetInfoByState" style="document" />
|
247
|
-
<wsdl:input>
|
248
|
-
<soap:body use="literal" />
|
249
|
-
</wsdl:input>
|
250
|
-
<wsdl:output>
|
251
|
-
<soap:body use="literal" />
|
252
|
-
</wsdl:output>
|
253
|
-
</wsdl:operation>
|
254
|
-
<wsdl:operation name="GetInfoByAreaCode">
|
255
|
-
<soap:operation soapAction="http://www.webserviceX.NET/GetInfoByAreaCode" style="document" />
|
256
|
-
<wsdl:input>
|
257
|
-
<soap:body use="literal" />
|
258
|
-
</wsdl:input>
|
259
|
-
<wsdl:output>
|
260
|
-
<soap:body use="literal" />
|
261
|
-
</wsdl:output>
|
262
|
-
</wsdl:operation>
|
263
|
-
</wsdl:binding>
|
264
|
-
<wsdl:binding name="USZipSoap12" type="tns:USZipSoap">
|
265
|
-
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
266
|
-
<wsdl:operation name="GetInfoByZIP">
|
267
|
-
<soap12:operation soapAction="http://www.webserviceX.NET/GetInfoByZIP" style="document" />
|
268
|
-
<wsdl:input>
|
269
|
-
<soap12:body use="literal" />
|
270
|
-
</wsdl:input>
|
271
|
-
<wsdl:output>
|
272
|
-
<soap12:body use="literal" />
|
273
|
-
</wsdl:output>
|
274
|
-
</wsdl:operation>
|
275
|
-
<wsdl:operation name="GetInfoByCity">
|
276
|
-
<soap12:operation soapAction="http://www.webserviceX.NET/GetInfoByCity" style="document" />
|
277
|
-
<wsdl:input>
|
278
|
-
<soap12:body use="literal" />
|
279
|
-
</wsdl:input>
|
280
|
-
<wsdl:output>
|
281
|
-
<soap12:body use="literal" />
|
282
|
-
</wsdl:output>
|
283
|
-
</wsdl:operation>
|
284
|
-
<wsdl:operation name="GetInfoByState">
|
285
|
-
<soap12:operation soapAction="http://www.webserviceX.NET/GetInfoByState" style="document" />
|
286
|
-
<wsdl:input>
|
287
|
-
<soap12:body use="literal" />
|
288
|
-
</wsdl:input>
|
289
|
-
<wsdl:output>
|
290
|
-
<soap12:body use="literal" />
|
291
|
-
</wsdl:output>
|
292
|
-
</wsdl:operation>
|
293
|
-
<wsdl:operation name="GetInfoByAreaCode">
|
294
|
-
<soap12:operation soapAction="http://www.webserviceX.NET/GetInfoByAreaCode" style="document" />
|
295
|
-
<wsdl:input>
|
296
|
-
<soap12:body use="literal" />
|
297
|
-
</wsdl:input>
|
298
|
-
<wsdl:output>
|
299
|
-
<soap12:body use="literal" />
|
300
|
-
</wsdl:output>
|
301
|
-
</wsdl:operation>
|
302
|
-
</wsdl:binding>
|
303
|
-
<wsdl:binding name="USZipHttpGet" type="tns:USZipHttpGet">
|
304
|
-
<http:binding verb="GET" />
|
305
|
-
<wsdl:operation name="GetInfoByZIP">
|
306
|
-
<http:operation location="/GetInfoByZIP" />
|
307
|
-
<wsdl:input>
|
308
|
-
<http:urlEncoded />
|
309
|
-
</wsdl:input>
|
310
|
-
<wsdl:output>
|
311
|
-
<mime:content part="Body" type="text/xml" />
|
312
|
-
</wsdl:output>
|
313
|
-
</wsdl:operation>
|
314
|
-
<wsdl:operation name="GetInfoByCity">
|
315
|
-
<http:operation location="/GetInfoByCity" />
|
316
|
-
<wsdl:input>
|
317
|
-
<http:urlEncoded />
|
318
|
-
</wsdl:input>
|
319
|
-
<wsdl:output>
|
320
|
-
<mime:content part="Body" type="text/xml" />
|
321
|
-
</wsdl:output>
|
322
|
-
</wsdl:operation>
|
323
|
-
<wsdl:operation name="GetInfoByState">
|
324
|
-
<http:operation location="/GetInfoByState" />
|
325
|
-
<wsdl:input>
|
326
|
-
<http:urlEncoded />
|
327
|
-
</wsdl:input>
|
328
|
-
<wsdl:output>
|
329
|
-
<mime:content part="Body" type="text/xml" />
|
330
|
-
</wsdl:output>
|
331
|
-
</wsdl:operation>
|
332
|
-
<wsdl:operation name="GetInfoByAreaCode">
|
333
|
-
<http:operation location="/GetInfoByAreaCode" />
|
334
|
-
<wsdl:input>
|
335
|
-
<http:urlEncoded />
|
336
|
-
</wsdl:input>
|
337
|
-
<wsdl:output>
|
338
|
-
<mime:content part="Body" type="text/xml" />
|
339
|
-
</wsdl:output>
|
340
|
-
</wsdl:operation>
|
341
|
-
</wsdl:binding>
|
342
|
-
<wsdl:binding name="USZipHttpPost" type="tns:USZipHttpPost">
|
343
|
-
<http:binding verb="POST" />
|
344
|
-
<wsdl:operation name="GetInfoByZIP">
|
345
|
-
<http:operation location="/GetInfoByZIP" />
|
346
|
-
<wsdl:input>
|
347
|
-
<mime:content type="application/x-www-form-urlencoded" />
|
348
|
-
</wsdl:input>
|
349
|
-
<wsdl:output>
|
350
|
-
<mime:content part="Body" type="text/xml" />
|
351
|
-
</wsdl:output>
|
352
|
-
</wsdl:operation>
|
353
|
-
<wsdl:operation name="GetInfoByCity">
|
354
|
-
<http:operation location="/GetInfoByCity" />
|
355
|
-
<wsdl:input>
|
356
|
-
<mime:content type="application/x-www-form-urlencoded" />
|
357
|
-
</wsdl:input>
|
358
|
-
<wsdl:output>
|
359
|
-
<mime:content part="Body" type="text/xml" />
|
360
|
-
</wsdl:output>
|
361
|
-
</wsdl:operation>
|
362
|
-
<wsdl:operation name="GetInfoByState">
|
363
|
-
<http:operation location="/GetInfoByState" />
|
364
|
-
<wsdl:input>
|
365
|
-
<mime:content type="application/x-www-form-urlencoded" />
|
366
|
-
</wsdl:input>
|
367
|
-
<wsdl:output>
|
368
|
-
<mime:content part="Body" type="text/xml" />
|
369
|
-
</wsdl:output>
|
370
|
-
</wsdl:operation>
|
371
|
-
<wsdl:operation name="GetInfoByAreaCode">
|
372
|
-
<http:operation location="/GetInfoByAreaCode" />
|
373
|
-
<wsdl:input>
|
374
|
-
<mime:content type="application/x-www-form-urlencoded" />
|
375
|
-
</wsdl:input>
|
376
|
-
<wsdl:output>
|
377
|
-
<mime:content part="Body" type="text/xml" />
|
378
|
-
</wsdl:output>
|
379
|
-
</wsdl:operation>
|
380
|
-
</wsdl:binding>
|
381
|
-
<wsdl:service name="USZip">
|
382
|
-
<wsdl:port name="USZipSoap" binding="tns:USZipSoap">
|
383
|
-
<soap:address location="http://www.webservicex.net/uszip.asmx" />
|
384
|
-
</wsdl:port>
|
385
|
-
<wsdl:port name="USZipSoap12" binding="tns:USZipSoap12">
|
386
|
-
<soap12:address location="http://www.webservicex.net/uszip.asmx" />
|
387
|
-
</wsdl:port>
|
388
|
-
<wsdl:port name="USZipHttpGet" binding="tns:USZipHttpGet">
|
389
|
-
<http:address location="http://www.webservicex.net/uszip.asmx" />
|
390
|
-
</wsdl:port>
|
391
|
-
<wsdl:port name="USZipHttpPost" binding="tns:USZipHttpPost">
|
392
|
-
<http:address location="http://www.webservicex.net/uszip.asmx" />
|
393
|
-
</wsdl:port>
|
394
|
-
</wsdl:service>
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<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://www.webserviceX.NET" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
3
|
+
<wsdl:types>
|
4
|
+
<s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
|
5
|
+
<s:element name="GetInfoByZIP">
|
6
|
+
<s:complexType>
|
7
|
+
<s:sequence>
|
8
|
+
<s:element minOccurs="0" maxOccurs="1" name="USZip" type="s:string" />
|
9
|
+
</s:sequence>
|
10
|
+
</s:complexType>
|
11
|
+
</s:element>
|
12
|
+
<s:element name="GetInfoByZIPResponse">
|
13
|
+
<s:complexType>
|
14
|
+
<s:sequence>
|
15
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetInfoByZIPResult">
|
16
|
+
<s:complexType mixed="true">
|
17
|
+
<s:sequence>
|
18
|
+
<s:any />
|
19
|
+
</s:sequence>
|
20
|
+
</s:complexType>
|
21
|
+
</s:element>
|
22
|
+
</s:sequence>
|
23
|
+
</s:complexType>
|
24
|
+
</s:element>
|
25
|
+
<s:element name="GetInfoByCity">
|
26
|
+
<s:complexType>
|
27
|
+
<s:sequence>
|
28
|
+
<s:element minOccurs="0" maxOccurs="1" name="USCity" type="s:string" />
|
29
|
+
</s:sequence>
|
30
|
+
</s:complexType>
|
31
|
+
</s:element>
|
32
|
+
<s:element name="GetInfoByCityResponse">
|
33
|
+
<s:complexType>
|
34
|
+
<s:sequence>
|
35
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetInfoByCityResult">
|
36
|
+
<s:complexType mixed="true">
|
37
|
+
<s:sequence>
|
38
|
+
<s:any />
|
39
|
+
</s:sequence>
|
40
|
+
</s:complexType>
|
41
|
+
</s:element>
|
42
|
+
</s:sequence>
|
43
|
+
</s:complexType>
|
44
|
+
</s:element>
|
45
|
+
<s:element name="GetInfoByState">
|
46
|
+
<s:complexType>
|
47
|
+
<s:sequence>
|
48
|
+
<s:element minOccurs="0" maxOccurs="1" name="USState" type="s:string" />
|
49
|
+
</s:sequence>
|
50
|
+
</s:complexType>
|
51
|
+
</s:element>
|
52
|
+
<s:element name="GetInfoByStateResponse">
|
53
|
+
<s:complexType>
|
54
|
+
<s:sequence>
|
55
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetInfoByStateResult">
|
56
|
+
<s:complexType mixed="true">
|
57
|
+
<s:sequence>
|
58
|
+
<s:any />
|
59
|
+
</s:sequence>
|
60
|
+
</s:complexType>
|
61
|
+
</s:element>
|
62
|
+
</s:sequence>
|
63
|
+
</s:complexType>
|
64
|
+
</s:element>
|
65
|
+
<s:element name="GetInfoByAreaCode">
|
66
|
+
<s:complexType>
|
67
|
+
<s:sequence>
|
68
|
+
<s:element minOccurs="0" maxOccurs="1" name="USAreaCode" type="s:string" />
|
69
|
+
</s:sequence>
|
70
|
+
</s:complexType>
|
71
|
+
</s:element>
|
72
|
+
<s:element name="GetInfoByAreaCodeResponse">
|
73
|
+
<s:complexType>
|
74
|
+
<s:sequence>
|
75
|
+
<s:element minOccurs="0" maxOccurs="1" name="GetInfoByAreaCodeResult">
|
76
|
+
<s:complexType mixed="true">
|
77
|
+
<s:sequence>
|
78
|
+
<s:any />
|
79
|
+
</s:sequence>
|
80
|
+
</s:complexType>
|
81
|
+
</s:element>
|
82
|
+
</s:sequence>
|
83
|
+
</s:complexType>
|
84
|
+
</s:element>
|
85
|
+
</s:schema>
|
86
|
+
</wsdl:types>
|
87
|
+
<wsdl:message name="GetInfoByZIPSoapIn">
|
88
|
+
<wsdl:part name="parameters" element="tns:GetInfoByZIP" />
|
89
|
+
</wsdl:message>
|
90
|
+
<wsdl:message name="GetInfoByZIPSoapOut">
|
91
|
+
<wsdl:part name="parameters" element="tns:GetInfoByZIPResponse" />
|
92
|
+
</wsdl:message>
|
93
|
+
<wsdl:message name="GetInfoByCitySoapIn">
|
94
|
+
<wsdl:part name="parameters" element="tns:GetInfoByCity" />
|
95
|
+
</wsdl:message>
|
96
|
+
<wsdl:message name="GetInfoByCitySoapOut">
|
97
|
+
<wsdl:part name="parameters" element="tns:GetInfoByCityResponse" />
|
98
|
+
</wsdl:message>
|
99
|
+
<wsdl:message name="GetInfoByStateSoapIn">
|
100
|
+
<wsdl:part name="parameters" element="tns:GetInfoByState" />
|
101
|
+
</wsdl:message>
|
102
|
+
<wsdl:message name="GetInfoByStateSoapOut">
|
103
|
+
<wsdl:part name="parameters" element="tns:GetInfoByStateResponse" />
|
104
|
+
</wsdl:message>
|
105
|
+
<wsdl:message name="GetInfoByAreaCodeSoapIn">
|
106
|
+
<wsdl:part name="parameters" element="tns:GetInfoByAreaCode" />
|
107
|
+
</wsdl:message>
|
108
|
+
<wsdl:message name="GetInfoByAreaCodeSoapOut">
|
109
|
+
<wsdl:part name="parameters" element="tns:GetInfoByAreaCodeResponse" />
|
110
|
+
</wsdl:message>
|
111
|
+
<wsdl:message name="GetInfoByZIPHttpGetIn">
|
112
|
+
<wsdl:part name="USZip" type="s:string" />
|
113
|
+
</wsdl:message>
|
114
|
+
<wsdl:message name="GetInfoByZIPHttpGetOut">
|
115
|
+
<wsdl:part name="Body" />
|
116
|
+
</wsdl:message>
|
117
|
+
<wsdl:message name="GetInfoByCityHttpGetIn">
|
118
|
+
<wsdl:part name="USCity" type="s:string" />
|
119
|
+
</wsdl:message>
|
120
|
+
<wsdl:message name="GetInfoByCityHttpGetOut">
|
121
|
+
<wsdl:part name="Body" />
|
122
|
+
</wsdl:message>
|
123
|
+
<wsdl:message name="GetInfoByStateHttpGetIn">
|
124
|
+
<wsdl:part name="USState" type="s:string" />
|
125
|
+
</wsdl:message>
|
126
|
+
<wsdl:message name="GetInfoByStateHttpGetOut">
|
127
|
+
<wsdl:part name="Body" />
|
128
|
+
</wsdl:message>
|
129
|
+
<wsdl:message name="GetInfoByAreaCodeHttpGetIn">
|
130
|
+
<wsdl:part name="USAreaCode" type="s:string" />
|
131
|
+
</wsdl:message>
|
132
|
+
<wsdl:message name="GetInfoByAreaCodeHttpGetOut">
|
133
|
+
<wsdl:part name="Body" />
|
134
|
+
</wsdl:message>
|
135
|
+
<wsdl:message name="GetInfoByZIPHttpPostIn">
|
136
|
+
<wsdl:part name="USZip" type="s:string" />
|
137
|
+
</wsdl:message>
|
138
|
+
<wsdl:message name="GetInfoByZIPHttpPostOut">
|
139
|
+
<wsdl:part name="Body" />
|
140
|
+
</wsdl:message>
|
141
|
+
<wsdl:message name="GetInfoByCityHttpPostIn">
|
142
|
+
<wsdl:part name="USCity" type="s:string" />
|
143
|
+
</wsdl:message>
|
144
|
+
<wsdl:message name="GetInfoByCityHttpPostOut">
|
145
|
+
<wsdl:part name="Body" />
|
146
|
+
</wsdl:message>
|
147
|
+
<wsdl:message name="GetInfoByStateHttpPostIn">
|
148
|
+
<wsdl:part name="USState" type="s:string" />
|
149
|
+
</wsdl:message>
|
150
|
+
<wsdl:message name="GetInfoByStateHttpPostOut">
|
151
|
+
<wsdl:part name="Body" />
|
152
|
+
</wsdl:message>
|
153
|
+
<wsdl:message name="GetInfoByAreaCodeHttpPostIn">
|
154
|
+
<wsdl:part name="USAreaCode" type="s:string" />
|
155
|
+
</wsdl:message>
|
156
|
+
<wsdl:message name="GetInfoByAreaCodeHttpPostOut">
|
157
|
+
<wsdl:part name="Body" />
|
158
|
+
</wsdl:message>
|
159
|
+
<wsdl:portType name="USZipSoap">
|
160
|
+
<wsdl:operation name="GetInfoByZIP">
|
161
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Zip Code</wsdl:documentation>
|
162
|
+
<wsdl:input message="tns:GetInfoByZIPSoapIn" />
|
163
|
+
<wsdl:output message="tns:GetInfoByZIPSoapOut" />
|
164
|
+
</wsdl:operation>
|
165
|
+
<wsdl:operation name="GetInfoByCity">
|
166
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by City</wsdl:documentation>
|
167
|
+
<wsdl:input message="tns:GetInfoByCitySoapIn" />
|
168
|
+
<wsdl:output message="tns:GetInfoByCitySoapOut" />
|
169
|
+
</wsdl:operation>
|
170
|
+
<wsdl:operation name="GetInfoByState">
|
171
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by state</wsdl:documentation>
|
172
|
+
<wsdl:input message="tns:GetInfoByStateSoapIn" />
|
173
|
+
<wsdl:output message="tns:GetInfoByStateSoapOut" />
|
174
|
+
</wsdl:operation>
|
175
|
+
<wsdl:operation name="GetInfoByAreaCode">
|
176
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Area Code</wsdl:documentation>
|
177
|
+
<wsdl:input message="tns:GetInfoByAreaCodeSoapIn" />
|
178
|
+
<wsdl:output message="tns:GetInfoByAreaCodeSoapOut" />
|
179
|
+
</wsdl:operation>
|
180
|
+
</wsdl:portType>
|
181
|
+
<wsdl:portType name="USZipHttpGet">
|
182
|
+
<wsdl:operation name="GetInfoByZIP">
|
183
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Zip Code</wsdl:documentation>
|
184
|
+
<wsdl:input message="tns:GetInfoByZIPHttpGetIn" />
|
185
|
+
<wsdl:output message="tns:GetInfoByZIPHttpGetOut" />
|
186
|
+
</wsdl:operation>
|
187
|
+
<wsdl:operation name="GetInfoByCity">
|
188
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by City</wsdl:documentation>
|
189
|
+
<wsdl:input message="tns:GetInfoByCityHttpGetIn" />
|
190
|
+
<wsdl:output message="tns:GetInfoByCityHttpGetOut" />
|
191
|
+
</wsdl:operation>
|
192
|
+
<wsdl:operation name="GetInfoByState">
|
193
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by state</wsdl:documentation>
|
194
|
+
<wsdl:input message="tns:GetInfoByStateHttpGetIn" />
|
195
|
+
<wsdl:output message="tns:GetInfoByStateHttpGetOut" />
|
196
|
+
</wsdl:operation>
|
197
|
+
<wsdl:operation name="GetInfoByAreaCode">
|
198
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Area Code</wsdl:documentation>
|
199
|
+
<wsdl:input message="tns:GetInfoByAreaCodeHttpGetIn" />
|
200
|
+
<wsdl:output message="tns:GetInfoByAreaCodeHttpGetOut" />
|
201
|
+
</wsdl:operation>
|
202
|
+
</wsdl:portType>
|
203
|
+
<wsdl:portType name="USZipHttpPost">
|
204
|
+
<wsdl:operation name="GetInfoByZIP">
|
205
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Zip Code</wsdl:documentation>
|
206
|
+
<wsdl:input message="tns:GetInfoByZIPHttpPostIn" />
|
207
|
+
<wsdl:output message="tns:GetInfoByZIPHttpPostOut" />
|
208
|
+
</wsdl:operation>
|
209
|
+
<wsdl:operation name="GetInfoByCity">
|
210
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by City</wsdl:documentation>
|
211
|
+
<wsdl:input message="tns:GetInfoByCityHttpPostIn" />
|
212
|
+
<wsdl:output message="tns:GetInfoByCityHttpPostOut" />
|
213
|
+
</wsdl:operation>
|
214
|
+
<wsdl:operation name="GetInfoByState">
|
215
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by state</wsdl:documentation>
|
216
|
+
<wsdl:input message="tns:GetInfoByStateHttpPostIn" />
|
217
|
+
<wsdl:output message="tns:GetInfoByStateHttpPostOut" />
|
218
|
+
</wsdl:operation>
|
219
|
+
<wsdl:operation name="GetInfoByAreaCode">
|
220
|
+
<wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">Get State Code,City,Area Code,Time Zone,Zip Code by Area Code</wsdl:documentation>
|
221
|
+
<wsdl:input message="tns:GetInfoByAreaCodeHttpPostIn" />
|
222
|
+
<wsdl:output message="tns:GetInfoByAreaCodeHttpPostOut" />
|
223
|
+
</wsdl:operation>
|
224
|
+
</wsdl:portType>
|
225
|
+
<wsdl:binding name="USZipSoap" type="tns:USZipSoap">
|
226
|
+
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
227
|
+
<wsdl:operation name="GetInfoByZIP">
|
228
|
+
<soap:operation soapAction="http://www.webserviceX.NET/GetInfoByZIP" style="document" />
|
229
|
+
<wsdl:input>
|
230
|
+
<soap:body use="literal" />
|
231
|
+
</wsdl:input>
|
232
|
+
<wsdl:output>
|
233
|
+
<soap:body use="literal" />
|
234
|
+
</wsdl:output>
|
235
|
+
</wsdl:operation>
|
236
|
+
<wsdl:operation name="GetInfoByCity">
|
237
|
+
<soap:operation soapAction="http://www.webserviceX.NET/GetInfoByCity" style="document" />
|
238
|
+
<wsdl:input>
|
239
|
+
<soap:body use="literal" />
|
240
|
+
</wsdl:input>
|
241
|
+
<wsdl:output>
|
242
|
+
<soap:body use="literal" />
|
243
|
+
</wsdl:output>
|
244
|
+
</wsdl:operation>
|
245
|
+
<wsdl:operation name="GetInfoByState">
|
246
|
+
<soap:operation soapAction="http://www.webserviceX.NET/GetInfoByState" style="document" />
|
247
|
+
<wsdl:input>
|
248
|
+
<soap:body use="literal" />
|
249
|
+
</wsdl:input>
|
250
|
+
<wsdl:output>
|
251
|
+
<soap:body use="literal" />
|
252
|
+
</wsdl:output>
|
253
|
+
</wsdl:operation>
|
254
|
+
<wsdl:operation name="GetInfoByAreaCode">
|
255
|
+
<soap:operation soapAction="http://www.webserviceX.NET/GetInfoByAreaCode" style="document" />
|
256
|
+
<wsdl:input>
|
257
|
+
<soap:body use="literal" />
|
258
|
+
</wsdl:input>
|
259
|
+
<wsdl:output>
|
260
|
+
<soap:body use="literal" />
|
261
|
+
</wsdl:output>
|
262
|
+
</wsdl:operation>
|
263
|
+
</wsdl:binding>
|
264
|
+
<wsdl:binding name="USZipSoap12" type="tns:USZipSoap">
|
265
|
+
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
266
|
+
<wsdl:operation name="GetInfoByZIP">
|
267
|
+
<soap12:operation soapAction="http://www.webserviceX.NET/GetInfoByZIP" style="document" />
|
268
|
+
<wsdl:input>
|
269
|
+
<soap12:body use="literal" />
|
270
|
+
</wsdl:input>
|
271
|
+
<wsdl:output>
|
272
|
+
<soap12:body use="literal" />
|
273
|
+
</wsdl:output>
|
274
|
+
</wsdl:operation>
|
275
|
+
<wsdl:operation name="GetInfoByCity">
|
276
|
+
<soap12:operation soapAction="http://www.webserviceX.NET/GetInfoByCity" style="document" />
|
277
|
+
<wsdl:input>
|
278
|
+
<soap12:body use="literal" />
|
279
|
+
</wsdl:input>
|
280
|
+
<wsdl:output>
|
281
|
+
<soap12:body use="literal" />
|
282
|
+
</wsdl:output>
|
283
|
+
</wsdl:operation>
|
284
|
+
<wsdl:operation name="GetInfoByState">
|
285
|
+
<soap12:operation soapAction="http://www.webserviceX.NET/GetInfoByState" style="document" />
|
286
|
+
<wsdl:input>
|
287
|
+
<soap12:body use="literal" />
|
288
|
+
</wsdl:input>
|
289
|
+
<wsdl:output>
|
290
|
+
<soap12:body use="literal" />
|
291
|
+
</wsdl:output>
|
292
|
+
</wsdl:operation>
|
293
|
+
<wsdl:operation name="GetInfoByAreaCode">
|
294
|
+
<soap12:operation soapAction="http://www.webserviceX.NET/GetInfoByAreaCode" style="document" />
|
295
|
+
<wsdl:input>
|
296
|
+
<soap12:body use="literal" />
|
297
|
+
</wsdl:input>
|
298
|
+
<wsdl:output>
|
299
|
+
<soap12:body use="literal" />
|
300
|
+
</wsdl:output>
|
301
|
+
</wsdl:operation>
|
302
|
+
</wsdl:binding>
|
303
|
+
<wsdl:binding name="USZipHttpGet" type="tns:USZipHttpGet">
|
304
|
+
<http:binding verb="GET" />
|
305
|
+
<wsdl:operation name="GetInfoByZIP">
|
306
|
+
<http:operation location="/GetInfoByZIP" />
|
307
|
+
<wsdl:input>
|
308
|
+
<http:urlEncoded />
|
309
|
+
</wsdl:input>
|
310
|
+
<wsdl:output>
|
311
|
+
<mime:content part="Body" type="text/xml" />
|
312
|
+
</wsdl:output>
|
313
|
+
</wsdl:operation>
|
314
|
+
<wsdl:operation name="GetInfoByCity">
|
315
|
+
<http:operation location="/GetInfoByCity" />
|
316
|
+
<wsdl:input>
|
317
|
+
<http:urlEncoded />
|
318
|
+
</wsdl:input>
|
319
|
+
<wsdl:output>
|
320
|
+
<mime:content part="Body" type="text/xml" />
|
321
|
+
</wsdl:output>
|
322
|
+
</wsdl:operation>
|
323
|
+
<wsdl:operation name="GetInfoByState">
|
324
|
+
<http:operation location="/GetInfoByState" />
|
325
|
+
<wsdl:input>
|
326
|
+
<http:urlEncoded />
|
327
|
+
</wsdl:input>
|
328
|
+
<wsdl:output>
|
329
|
+
<mime:content part="Body" type="text/xml" />
|
330
|
+
</wsdl:output>
|
331
|
+
</wsdl:operation>
|
332
|
+
<wsdl:operation name="GetInfoByAreaCode">
|
333
|
+
<http:operation location="/GetInfoByAreaCode" />
|
334
|
+
<wsdl:input>
|
335
|
+
<http:urlEncoded />
|
336
|
+
</wsdl:input>
|
337
|
+
<wsdl:output>
|
338
|
+
<mime:content part="Body" type="text/xml" />
|
339
|
+
</wsdl:output>
|
340
|
+
</wsdl:operation>
|
341
|
+
</wsdl:binding>
|
342
|
+
<wsdl:binding name="USZipHttpPost" type="tns:USZipHttpPost">
|
343
|
+
<http:binding verb="POST" />
|
344
|
+
<wsdl:operation name="GetInfoByZIP">
|
345
|
+
<http:operation location="/GetInfoByZIP" />
|
346
|
+
<wsdl:input>
|
347
|
+
<mime:content type="application/x-www-form-urlencoded" />
|
348
|
+
</wsdl:input>
|
349
|
+
<wsdl:output>
|
350
|
+
<mime:content part="Body" type="text/xml" />
|
351
|
+
</wsdl:output>
|
352
|
+
</wsdl:operation>
|
353
|
+
<wsdl:operation name="GetInfoByCity">
|
354
|
+
<http:operation location="/GetInfoByCity" />
|
355
|
+
<wsdl:input>
|
356
|
+
<mime:content type="application/x-www-form-urlencoded" />
|
357
|
+
</wsdl:input>
|
358
|
+
<wsdl:output>
|
359
|
+
<mime:content part="Body" type="text/xml" />
|
360
|
+
</wsdl:output>
|
361
|
+
</wsdl:operation>
|
362
|
+
<wsdl:operation name="GetInfoByState">
|
363
|
+
<http:operation location="/GetInfoByState" />
|
364
|
+
<wsdl:input>
|
365
|
+
<mime:content type="application/x-www-form-urlencoded" />
|
366
|
+
</wsdl:input>
|
367
|
+
<wsdl:output>
|
368
|
+
<mime:content part="Body" type="text/xml" />
|
369
|
+
</wsdl:output>
|
370
|
+
</wsdl:operation>
|
371
|
+
<wsdl:operation name="GetInfoByAreaCode">
|
372
|
+
<http:operation location="/GetInfoByAreaCode" />
|
373
|
+
<wsdl:input>
|
374
|
+
<mime:content type="application/x-www-form-urlencoded" />
|
375
|
+
</wsdl:input>
|
376
|
+
<wsdl:output>
|
377
|
+
<mime:content part="Body" type="text/xml" />
|
378
|
+
</wsdl:output>
|
379
|
+
</wsdl:operation>
|
380
|
+
</wsdl:binding>
|
381
|
+
<wsdl:service name="USZip">
|
382
|
+
<wsdl:port name="USZipSoap" binding="tns:USZipSoap">
|
383
|
+
<soap:address location="http://www.webservicex.net/uszip.asmx" />
|
384
|
+
</wsdl:port>
|
385
|
+
<wsdl:port name="USZipSoap12" binding="tns:USZipSoap12">
|
386
|
+
<soap12:address location="http://www.webservicex.net/uszip.asmx" />
|
387
|
+
</wsdl:port>
|
388
|
+
<wsdl:port name="USZipHttpGet" binding="tns:USZipHttpGet">
|
389
|
+
<http:address location="http://www.webservicex.net/uszip.asmx" />
|
390
|
+
</wsdl:port>
|
391
|
+
<wsdl:port name="USZipHttpPost" binding="tns:USZipHttpPost">
|
392
|
+
<http:address location="http://www.webservicex.net/uszip.asmx" />
|
393
|
+
</wsdl:port>
|
394
|
+
</wsdl:service>
|
395
395
|
</wsdl:definitions>
|