savon_with_adapter 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.travis.yml +11 -0
- data/.yardopts +6 -0
- data/CHANGELOG.md +1042 -0
- data/CONTRIBUTING.md +46 -0
- data/Gemfile +18 -0
- data/LICENSE +20 -0
- data/README.md +81 -0
- data/Rakefile +14 -0
- data/donate.png +0 -0
- data/lib/savon.rb +27 -0
- data/lib/savon/block_interface.rb +26 -0
- data/lib/savon/builder.rb +166 -0
- data/lib/savon/client.rb +89 -0
- data/lib/savon/core_ext/string.rb +29 -0
- data/lib/savon/header.rb +70 -0
- data/lib/savon/http_error.rb +27 -0
- data/lib/savon/log_message.rb +48 -0
- data/lib/savon/message.rb +35 -0
- data/lib/savon/mock.rb +5 -0
- data/lib/savon/mock/expectation.rb +71 -0
- data/lib/savon/mock/spec_helper.rb +62 -0
- data/lib/savon/model.rb +80 -0
- data/lib/savon/operation.rb +127 -0
- data/lib/savon/options.rb +336 -0
- data/lib/savon/qualified_message.rb +49 -0
- data/lib/savon/request.rb +89 -0
- data/lib/savon/request_logger.rb +48 -0
- data/lib/savon/response.rb +112 -0
- data/lib/savon/soap_fault.rb +48 -0
- data/lib/savon/version.rb +3 -0
- data/savon.gemspec +52 -0
- data/spec/fixtures/gzip/message.gz +0 -0
- data/spec/fixtures/response/another_soap_fault.xml +14 -0
- data/spec/fixtures/response/authentication.xml +14 -0
- data/spec/fixtures/response/header.xml +13 -0
- data/spec/fixtures/response/list.xml +18 -0
- data/spec/fixtures/response/multi_ref.xml +39 -0
- data/spec/fixtures/response/soap_fault.xml +8 -0
- data/spec/fixtures/response/soap_fault12.xml +18 -0
- data/spec/fixtures/response/taxcloud.xml +1 -0
- data/spec/fixtures/ssl/client_cert.pem +16 -0
- data/spec/fixtures/ssl/client_encrypted_key.pem +30 -0
- data/spec/fixtures/ssl/client_encrypted_key_cert.pem +24 -0
- data/spec/fixtures/ssl/client_key.pem +15 -0
- data/spec/fixtures/wsdl/authentication.xml +63 -0
- data/spec/fixtures/wsdl/betfair.xml +2981 -0
- data/spec/fixtures/wsdl/edialog.xml +15416 -0
- data/spec/fixtures/wsdl/interhome.xml +2137 -0
- data/spec/fixtures/wsdl/lower_camel.xml +52 -0
- data/spec/fixtures/wsdl/multiple_namespaces.xml +92 -0
- data/spec/fixtures/wsdl/multiple_types.xml +60 -0
- data/spec/fixtures/wsdl/taxcloud.xml +934 -0
- data/spec/fixtures/wsdl/team_software.xml +1 -0
- data/spec/fixtures/wsdl/vies.xml +176 -0
- data/spec/fixtures/wsdl/wasmuth.xml +153 -0
- data/spec/integration/centra_spec.rb +72 -0
- data/spec/integration/email_example_spec.rb +32 -0
- data/spec/integration/random_quote_spec.rb +23 -0
- data/spec/integration/ratp_example_spec.rb +28 -0
- data/spec/integration/stockquote_example_spec.rb +28 -0
- data/spec/integration/support/application.rb +82 -0
- data/spec/integration/support/server.rb +84 -0
- data/spec/integration/temperature_example_spec.rb +46 -0
- data/spec/integration/zipcode_example_spec.rb +42 -0
- data/spec/savon/builder_spec.rb +86 -0
- data/spec/savon/client_spec.rb +198 -0
- data/spec/savon/core_ext/string_spec.rb +37 -0
- data/spec/savon/features/message_tag_spec.rb +61 -0
- data/spec/savon/http_error_spec.rb +49 -0
- data/spec/savon/log_message_spec.rb +33 -0
- data/spec/savon/message_spec.rb +40 -0
- data/spec/savon/mock_spec.rb +157 -0
- data/spec/savon/model_spec.rb +154 -0
- data/spec/savon/observers_spec.rb +92 -0
- data/spec/savon/operation_spec.rb +211 -0
- data/spec/savon/options_spec.rb +772 -0
- data/spec/savon/request_spec.rb +493 -0
- data/spec/savon/response_spec.rb +258 -0
- data/spec/savon/soap_fault_spec.rb +126 -0
- data/spec/spec_helper.rb +30 -0
- data/spec/support/endpoint.rb +25 -0
- data/spec/support/fixture.rb +39 -0
- data/spec/support/integration.rb +9 -0
- data/spec/support/stdout.rb +25 -0
- metadata +310 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
require "savon/log_message"
|
2
|
+
|
3
|
+
module Savon
|
4
|
+
class RequestLogger
|
5
|
+
|
6
|
+
def initialize(globals)
|
7
|
+
@globals = globals
|
8
|
+
end
|
9
|
+
|
10
|
+
def log(request, &http_request)
|
11
|
+
log_request(request) if log?
|
12
|
+
response = http_request.call
|
13
|
+
log_response(response) if log?
|
14
|
+
|
15
|
+
response
|
16
|
+
end
|
17
|
+
|
18
|
+
def logger
|
19
|
+
@globals[:logger]
|
20
|
+
end
|
21
|
+
|
22
|
+
def log?
|
23
|
+
@globals[:log]
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
def log_request(request)
|
29
|
+
logger.info "SOAP request: #{request.url}"
|
30
|
+
logger.info headers_to_log(request.headers)
|
31
|
+
logger.debug body_to_log(request.body)
|
32
|
+
end
|
33
|
+
|
34
|
+
def log_response(response)
|
35
|
+
logger.info "SOAP response (status #{response.code})"
|
36
|
+
logger.debug body_to_log(response.body)
|
37
|
+
end
|
38
|
+
|
39
|
+
def headers_to_log(headers)
|
40
|
+
headers.map { |key, value| "#{key}: #{value}" }.join(", ")
|
41
|
+
end
|
42
|
+
|
43
|
+
def body_to_log(body)
|
44
|
+
LogMessage.new(body, @globals[:filters], @globals[:pretty_print_xml]).to_s
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
require "nori"
|
2
|
+
require "savon/soap_fault"
|
3
|
+
require "savon/http_error"
|
4
|
+
|
5
|
+
module Savon
|
6
|
+
class Response
|
7
|
+
|
8
|
+
def initialize(http, globals, locals)
|
9
|
+
@http = http
|
10
|
+
@globals = globals
|
11
|
+
@locals = locals
|
12
|
+
|
13
|
+
build_soap_and_http_errors!
|
14
|
+
raise_soap_and_http_errors! if @globals[:raise_errors]
|
15
|
+
end
|
16
|
+
|
17
|
+
attr_reader :http, :globals, :locals, :soap_fault, :http_error
|
18
|
+
|
19
|
+
def success?
|
20
|
+
!soap_fault? && !http_error?
|
21
|
+
end
|
22
|
+
alias_method :successful?, :success?
|
23
|
+
|
24
|
+
def soap_fault?
|
25
|
+
SOAPFault.present? @http
|
26
|
+
end
|
27
|
+
|
28
|
+
def http_error?
|
29
|
+
HTTPError.present? @http
|
30
|
+
end
|
31
|
+
|
32
|
+
def header
|
33
|
+
find('Header')
|
34
|
+
end
|
35
|
+
|
36
|
+
def body
|
37
|
+
find('Body')
|
38
|
+
end
|
39
|
+
|
40
|
+
alias_method :to_hash, :body
|
41
|
+
|
42
|
+
def to_array(*path)
|
43
|
+
result = path.inject body do |memo, key|
|
44
|
+
return [] if memo[key].nil?
|
45
|
+
memo[key]
|
46
|
+
end
|
47
|
+
|
48
|
+
result.kind_of?(Array) ? result.compact : [result].compact
|
49
|
+
end
|
50
|
+
|
51
|
+
def hash
|
52
|
+
@hash ||= nori.parse(xml)
|
53
|
+
end
|
54
|
+
|
55
|
+
def xml
|
56
|
+
@http.body
|
57
|
+
end
|
58
|
+
|
59
|
+
alias_method :to_xml, :xml
|
60
|
+
alias_method :to_s, :xml
|
61
|
+
|
62
|
+
def doc
|
63
|
+
@doc ||= Nokogiri.XML(xml)
|
64
|
+
end
|
65
|
+
|
66
|
+
def xpath(path, namespaces = nil)
|
67
|
+
doc.xpath(path, namespaces || xml_namespaces)
|
68
|
+
end
|
69
|
+
|
70
|
+
def find(*path)
|
71
|
+
envelope = nori.find(hash, 'Envelope')
|
72
|
+
raise_invalid_response_error! unless envelope
|
73
|
+
|
74
|
+
nori.find(envelope, *path)
|
75
|
+
end
|
76
|
+
|
77
|
+
private
|
78
|
+
|
79
|
+
def build_soap_and_http_errors!
|
80
|
+
@soap_fault = SOAPFault.new(@http, nori) if soap_fault?
|
81
|
+
@http_error = HTTPError.new(@http) if http_error?
|
82
|
+
end
|
83
|
+
|
84
|
+
def raise_soap_and_http_errors!
|
85
|
+
raise soap_fault if soap_fault?
|
86
|
+
raise http_error if http_error?
|
87
|
+
end
|
88
|
+
|
89
|
+
def raise_invalid_response_error!
|
90
|
+
raise InvalidResponseError, "Unable to parse response body:\n" + xml.inspect
|
91
|
+
end
|
92
|
+
|
93
|
+
def xml_namespaces
|
94
|
+
@xml_namespaces ||= doc.collect_namespaces
|
95
|
+
end
|
96
|
+
|
97
|
+
def nori
|
98
|
+
return @nori if @nori
|
99
|
+
|
100
|
+
nori_options = {
|
101
|
+
:strip_namespaces => @globals[:strip_namespaces],
|
102
|
+
:convert_tags_to => @globals[:convert_response_tags_to],
|
103
|
+
:advanced_typecasting => @locals[:advanced_typecasting],
|
104
|
+
:parser => @locals[:response_parser]
|
105
|
+
}
|
106
|
+
|
107
|
+
non_nil_nori_options = nori_options.reject { |_, value| value.nil? }
|
108
|
+
@nori = Nori.new(non_nil_nori_options)
|
109
|
+
end
|
110
|
+
|
111
|
+
end
|
112
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require "savon"
|
2
|
+
|
3
|
+
module Savon
|
4
|
+
class SOAPFault < Error
|
5
|
+
|
6
|
+
def self.present?(http)
|
7
|
+
fault_node = http.body.include?("Fault>")
|
8
|
+
soap1_fault = http.body.include?("faultcode>") && http.body.include?("faultstring>")
|
9
|
+
soap2_fault = http.body.include?("Code>") && http.body.include?("Reason>")
|
10
|
+
|
11
|
+
fault_node && (soap1_fault || soap2_fault)
|
12
|
+
end
|
13
|
+
|
14
|
+
def initialize(http, nori)
|
15
|
+
@http = http
|
16
|
+
@nori = nori
|
17
|
+
end
|
18
|
+
|
19
|
+
attr_reader :http, :nori
|
20
|
+
|
21
|
+
def to_s
|
22
|
+
fault = nori.find(to_hash, 'Fault')
|
23
|
+
message_by_version(fault)
|
24
|
+
end
|
25
|
+
|
26
|
+
def to_hash
|
27
|
+
parsed = nori.parse(@http.body)
|
28
|
+
nori.find(parsed, 'Envelope', 'Body')
|
29
|
+
end
|
30
|
+
|
31
|
+
private
|
32
|
+
|
33
|
+
def message_by_version(fault)
|
34
|
+
if nori.find(fault, 'faultcode')
|
35
|
+
code = nori.find(fault, 'faultcode')
|
36
|
+
text = nori.find(fault, 'faultstring')
|
37
|
+
|
38
|
+
"(#{code}) #{text}"
|
39
|
+
elsif nori.find(fault, 'Code')
|
40
|
+
code = nori.find(fault, 'Code', 'Value')
|
41
|
+
text = nori.find(fault, 'Reason', 'Text')
|
42
|
+
|
43
|
+
"(#{code}) #{text}"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
end
|
data/savon.gemspec
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
lib = File.expand_path("../lib", __FILE__)
|
3
|
+
$:.unshift lib unless $:.include? lib
|
4
|
+
|
5
|
+
require "savon/version"
|
6
|
+
|
7
|
+
Gem::Specification.new do |s|
|
8
|
+
s.name = "savon_with_adapter"
|
9
|
+
s.version = Savon::VERSION
|
10
|
+
s.authors = "Daniel Harrington"
|
11
|
+
s.email = "me@rubiii.com"
|
12
|
+
s.homepage = "https://github.com/savonrb/savon/pull/566"
|
13
|
+
s.summary = "Heavy metal SOAP client that can accept adapter option"
|
14
|
+
s.description = s.summary
|
15
|
+
|
16
|
+
s.rubyforge_project = s.name
|
17
|
+
s.license = 'MIT'
|
18
|
+
|
19
|
+
s.add_dependency "nori", "~> 2.3.0"
|
20
|
+
s.add_dependency "httpi", "~> 2.1.0"
|
21
|
+
s.add_dependency "wasabi_with_adapter", "~> 3.2.4"
|
22
|
+
s.add_dependency "akami", "~> 1.2.0"
|
23
|
+
s.add_dependency "gyoku", "~> 1.1.0"
|
24
|
+
|
25
|
+
s.add_dependency "builder", ">= 2.1.2"
|
26
|
+
|
27
|
+
if RUBY_VERSION[0,3] == "1.8"
|
28
|
+
# nokogiri 1.6 dropped support for ruby 1.8
|
29
|
+
s.add_dependency "nokogiri", ">= 1.4.0", "< 1.6"
|
30
|
+
else
|
31
|
+
s.add_dependency "nokogiri", ">= 1.4.0"
|
32
|
+
end
|
33
|
+
|
34
|
+
s.add_development_dependency "rack"
|
35
|
+
s.add_development_dependency "puma", "2.0.0.b4"
|
36
|
+
|
37
|
+
s.add_development_dependency "rake", "~> 10.1"
|
38
|
+
s.add_development_dependency "rspec", "~> 2.14"
|
39
|
+
s.add_development_dependency "mocha", "~> 0.14"
|
40
|
+
s.add_development_dependency "json", "~> 1.7"
|
41
|
+
|
42
|
+
ignores = File.readlines(".gitignore").grep(/\S+/).map(&:chomp)
|
43
|
+
dotfiles = %w[.gitignore .travis.yml .yardopts]
|
44
|
+
|
45
|
+
all_files_without_ignores = Dir["**/*"].reject { |f|
|
46
|
+
File.directory?(f) || ignores.any? { |i| File.fnmatch(i, f) }
|
47
|
+
}
|
48
|
+
|
49
|
+
s.files = (all_files_without_ignores + dotfiles).sort
|
50
|
+
|
51
|
+
s.require_path = "lib"
|
52
|
+
end
|
Binary file
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
|
2
|
+
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
|
3
|
+
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
4
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
+
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
6
|
+
<SOAP-ENV:Body>
|
7
|
+
<SOAP-ENV:Fault>
|
8
|
+
<faultcode>ERR_NO_SESSION</faultcode>
|
9
|
+
<faultfactor>doGetItemsInfo - Wrong session</faultfactor>
|
10
|
+
<faultstring>Wrong session message</faultstring>
|
11
|
+
<detail><soapVal><ERRNO xsi:type="xsd:string">80:1289245853:55</ERRNO></soapVal></detail>
|
12
|
+
</SOAP-ENV:Fault>
|
13
|
+
</SOAP-ENV:Body>
|
14
|
+
</SOAP-ENV:Envelope>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
2
|
+
<soap:Body>
|
3
|
+
<ns2:authenticateResponse xmlns:ns2="http://v1_0.ws.user.example.com">
|
4
|
+
<return>
|
5
|
+
<authenticationValue>
|
6
|
+
<token>a68d1d6379b62ff339a0e0c69ed4d9cf</token>
|
7
|
+
<tokenHash>AAAJxA;cIedoT;mY10ExZwG6JuKgp2OYKxow==</tokenHash>
|
8
|
+
<client>radclient</client>
|
9
|
+
</authenticationValue>
|
10
|
+
<success>true</success>
|
11
|
+
</return>
|
12
|
+
</ns2:authenticateResponse>
|
13
|
+
</soap:Body>
|
14
|
+
</soap:Envelope>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
|
3
|
+
<soap:Header xmlns="http://webservices.somewhere.com/definitions">
|
4
|
+
<SessionNumber>ABCD1234</SessionNumber>
|
5
|
+
</soap:Header>
|
6
|
+
<soap:Body>
|
7
|
+
<AuthenticateReply xmlns="http://xml.somewhere.com/ABCD">
|
8
|
+
<processStatus>
|
9
|
+
<statusCode>P</statusCode>
|
10
|
+
</processStatus>
|
11
|
+
</AuthenticateReply>
|
12
|
+
</soap:Body>
|
13
|
+
</soap:Envelope>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<soapenv:Body>
|
3
|
+
<MultiNamespacedEntryResponse xmlns="http://www.example.com/BusinessRulesEngine/xsd">
|
4
|
+
<history>
|
5
|
+
<ns10:case xmlns:ns10="http://www.example.com/Common/xsd">
|
6
|
+
<ns10:logTime>2010-09-21T18:22:01.558+10:00</ns10:logTime>
|
7
|
+
<ns10:logType>Notes Log</ns10:logType>
|
8
|
+
<ns10:logText>test</ns10:logText>
|
9
|
+
</ns10:case>
|
10
|
+
<ns11:case xmlns:ns11="http://www.example.com/Common/xsd">
|
11
|
+
<ns11:logTime>2010-09-21T18:22:07.038+10:00</ns11:logTime>
|
12
|
+
<ns11:logType>Notes Log</ns11:logType>
|
13
|
+
<ns11:logText>another test</ns11:logText>
|
14
|
+
</ns11:case>
|
15
|
+
</history>
|
16
|
+
</MultiNamespacedEntryResponse>
|
17
|
+
</soapenv:Body>
|
18
|
+
</soapenv:Envelope>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2
|
+
<soapenv:Body>
|
3
|
+
<ns1:listResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://ws.example.com">
|
4
|
+
<listReturn soapenc:arrayType="ns2:HistoryEntry[3]" xsi:type="soapenc:Array" xmlns:ns2="http://ws.example.com/ws/history" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
|
5
|
+
<listReturn href="#id0"/>
|
6
|
+
<listReturn href="#id1"/>
|
7
|
+
<listReturn href="#id2"/>
|
8
|
+
</listReturn>
|
9
|
+
</ns1:listResponse>
|
10
|
+
<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns5:HistoryEntry" xmlns:ns5="http://ws.example.com/ws/history" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
|
11
|
+
<date xsi:type="xsd:dateTime">2009-09-22T13:47:23.000Z</date>
|
12
|
+
<location xsi:type="soapenc:string">Archive</location>
|
13
|
+
<mailId href="#id9"/>
|
14
|
+
<referenceId href="#id8"/>
|
15
|
+
<state xsi:type="soapenc:string">Original</state>
|
16
|
+
<subject xsi:type="soapenc:string">Mail from 09-22-2009: Misc</subject>
|
17
|
+
</multiRef>
|
18
|
+
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns6:HistoryEntry" xmlns:ns6="http://ws.example.com/ws/history" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
|
19
|
+
<date xsi:type="xsd:dateTime">2009-04-30T06:38:34.000Z</date>
|
20
|
+
<location xsi:type="soapenc:string">Archive</location>
|
21
|
+
<mailId href="#id10"/>
|
22
|
+
<referenceId href="#id8"/>
|
23
|
+
<state xsi:type="soapenc:string">Original</state>
|
24
|
+
<subject xsi:type="soapenc:string">Mail from 04-29-2009: Technical support</subject>
|
25
|
+
</multiRef>
|
26
|
+
<multiRef id="id2" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns7:HistoryEntry" xmlns:ns7="http://ws.example.com/ws/history" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
|
27
|
+
<date xsi:type="xsd:dateTime">2009-12-18T15:43:21.000Z</date>
|
28
|
+
<location xsi:type="soapenc:string">Archive</location>
|
29
|
+
<mailId href="#id11"/>
|
30
|
+
<referenceId href="#id8"/>
|
31
|
+
<state xsi:type="soapenc:string">Original</state>
|
32
|
+
<subject xsi:type="soapenc:string">Mail from 12-17-2009: Misc</subject>
|
33
|
+
</multiRef>
|
34
|
+
<multiRef id="id11" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">972219</multiRef>
|
35
|
+
<multiRef id="id10" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">708021</multiRef>
|
36
|
+
<multiRef id="id8" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">0</multiRef>
|
37
|
+
<multiRef id="id9" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="soapenc:int" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">855763</multiRef>
|
38
|
+
</soapenv:Body>
|
39
|
+
</soapenv:Envelope>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://www.example.org/timeouts">
|
2
|
+
<soap:Body>
|
3
|
+
<soap:Fault>
|
4
|
+
<Code>
|
5
|
+
<Value>soap:Sender</Value>
|
6
|
+
<Subcode>
|
7
|
+
<Value>m:MessageTimeout</Value>
|
8
|
+
</Subcode>
|
9
|
+
</Code>
|
10
|
+
<Reason>
|
11
|
+
<Text xml:lang="en">Sender Timeout</Text>
|
12
|
+
</Reason>
|
13
|
+
<Detail>
|
14
|
+
<m:MaxTime>P5M</m:MaxTime>
|
15
|
+
</Detail>
|
16
|
+
</soap:Fault>
|
17
|
+
</soap:Body>
|
18
|
+
</soap:Envelope>
|
@@ -0,0 +1 @@
|
|
1
|
+
<?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><LookupResponse xmlns="http://taxcloud.net"><LookupResult><ResponseType>Error</ResponseType><Messages><ResponseMessage><ResponseType>Error</ResponseType><Message>Invalid apiLoginID and/or apiKey</Message></ResponseMessage></Messages><CartItemsResponse /></LookupResult></LookupResponse></soap:Body></soap:Envelope>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIICbTCCAdYCCQDC4v8d04615DANBgkqhkiG9w0BAQUFADB7MQswCQYDVQQGEwJE
|
3
|
+
RTEQMA4GA1UECBMHSGFtYnVyZzEQMA4GA1UEBxMHSGFtYnVyZzEOMAwGA1UEChMF
|
4
|
+
aHR0cGkxFDASBgNVBAMTC2V4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