savon 2.13.1 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/savon/builder.rb +4 -3
- data/lib/savon/model.rb +3 -3
- data/lib/savon/options.rb +1 -1
- data/lib/savon/response.rb +3 -3
- data/lib/savon/string_utils.rb +17 -0
- data/lib/savon/version.rb +1 -1
- data/lib/savon.rb +1 -0
- metadata +17 -76
- data/.gitignore +0 -16
- data/.yardopts +0 -6
- data/CONTRIBUTING.md +0 -42
- data/Gemfile +0 -8
- data/RELEASING.md +0 -10
- data/lib/savon/core_ext/string.rb +0 -30
- data/savon.gemspec +0 -47
- data/spec/fixtures/gzip/message.gz +0 -0
- data/spec/fixtures/response/another_soap_fault.xml +0 -14
- data/spec/fixtures/response/authentication.xml +0 -14
- data/spec/fixtures/response/empty_soap_fault.xml +0 -13
- data/spec/fixtures/response/f5.xml +0 -39
- data/spec/fixtures/response/header.xml +0 -13
- data/spec/fixtures/response/list.xml +0 -18
- data/spec/fixtures/response/multi_ref.xml +0 -39
- data/spec/fixtures/response/no_body.xml +0 -1
- data/spec/fixtures/response/soap_fault.xml +0 -8
- data/spec/fixtures/response/soap_fault12.xml +0 -18
- data/spec/fixtures/response/soap_fault_funky.xml +0 -8
- data/spec/fixtures/response/taxcloud.xml +0 -1
- data/spec/fixtures/ssl/client_cert.pem +0 -16
- data/spec/fixtures/ssl/client_encrypted_key.pem +0 -30
- data/spec/fixtures/ssl/client_encrypted_key_cert.pem +0 -24
- data/spec/fixtures/ssl/client_key.pem +0 -15
- data/spec/fixtures/wsdl/authentication.xml +0 -63
- data/spec/fixtures/wsdl/betfair.xml +0 -2981
- data/spec/fixtures/wsdl/brand.xml +0 -624
- data/spec/fixtures/wsdl/edialog.xml +0 -15416
- data/spec/fixtures/wsdl/elements_in_types.xml +0 -43
- data/spec/fixtures/wsdl/interhome.xml +0 -2137
- data/spec/fixtures/wsdl/lower_camel.xml +0 -52
- data/spec/fixtures/wsdl/multiple_namespaces.xml +0 -92
- data/spec/fixtures/wsdl/multiple_types.xml +0 -60
- data/spec/fixtures/wsdl/no_message_tag.xml +0 -1267
- data/spec/fixtures/wsdl/taxcloud.xml +0 -934
- data/spec/fixtures/wsdl/team_software.xml +0 -1
- data/spec/fixtures/wsdl/vies.xml +0 -176
- data/spec/fixtures/wsdl/wasmuth.xml +0 -153
- data/spec/integration/support/application.rb +0 -114
- data/spec/integration/support/server.rb +0 -85
- data/spec/integration/zipcode_example_spec.rb +0 -39
- data/spec/savon/builder_spec.rb +0 -138
- data/spec/savon/client_spec.rb +0 -272
- data/spec/savon/core_ext/string_spec.rb +0 -38
- data/spec/savon/features/message_tag_spec.rb +0 -62
- data/spec/savon/http_error_spec.rb +0 -57
- data/spec/savon/log_message_spec.rb +0 -51
- data/spec/savon/message_spec.rb +0 -61
- data/spec/savon/mock_spec.rb +0 -175
- data/spec/savon/model_spec.rb +0 -183
- data/spec/savon/multipart_request_spec.rb +0 -46
- data/spec/savon/observers_spec.rb +0 -93
- data/spec/savon/operation_spec.rb +0 -207
- data/spec/savon/options_spec.rb +0 -1154
- data/spec/savon/qualified_message_spec.rb +0 -102
- data/spec/savon/request_logger_spec.rb +0 -38
- data/spec/savon/request_spec.rb +0 -581
- data/spec/savon/response_spec.rb +0 -276
- data/spec/savon/soap_fault_spec.rb +0 -147
- data/spec/savon/softlayer_spec.rb +0 -42
- data/spec/spec_helper.rb +0 -31
- data/spec/support/adapters.rb +0 -49
- data/spec/support/endpoint.rb +0 -26
- data/spec/support/fixture.rb +0 -40
- data/spec/support/integration.rb +0 -10
- data/spec/support/stdout.rb +0 -26
@@ -1,52 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<definitions
|
3
|
-
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
4
|
-
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
5
|
-
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
|
6
|
-
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
7
|
-
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
8
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
9
|
-
xmlns:s="http://www.w3.org/2001/XMLSchema"
|
10
|
-
xmlns:actions="http://example.com/actions"
|
11
|
-
targetNamespace="http://example.com/topLevelNamespace">
|
12
|
-
<types>
|
13
|
-
<s:schema elementFormDefault="qualified" targetNamespace="http://example.com/actions">
|
14
|
-
<s:element name="Save">
|
15
|
-
<s:complexType>
|
16
|
-
<s:sequence>
|
17
|
-
<s:element name="lowerCamel" type="s:string"/>
|
18
|
-
</s:sequence>
|
19
|
-
</s:complexType>
|
20
|
-
</s:element>
|
21
|
-
</s:schema>
|
22
|
-
</types>
|
23
|
-
<message name="SaveSoapIn">
|
24
|
-
<part name="parameters" element="actions:Save"/>
|
25
|
-
</message>
|
26
|
-
<message name="SaveSoapOut">
|
27
|
-
<part name="parameters" element="actions:SaveResponse"/>
|
28
|
-
</message>
|
29
|
-
<portType name="ArticleSoap">
|
30
|
-
<operation name="Save">
|
31
|
-
<input message="actions:SaveSoapIn"/>
|
32
|
-
<output message="actions:SaveSoapOut"/>
|
33
|
-
</operation>
|
34
|
-
</portType>
|
35
|
-
<binding name="ArticleSoap" type="actions:ArticleSoap">
|
36
|
-
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
|
37
|
-
<operation name="Save">
|
38
|
-
<soap:operation soapAction="http://example.com/actions.Save" style="document"/>
|
39
|
-
<input>
|
40
|
-
<soap:body use="literal"/>
|
41
|
-
</input>
|
42
|
-
<output>
|
43
|
-
<soap:body use="literal"/>
|
44
|
-
</output>
|
45
|
-
</operation>
|
46
|
-
</binding>
|
47
|
-
<service name="StudyMDL">
|
48
|
-
<port name="StudyMDLSoap" binding="actions:StudyMDLSoap">
|
49
|
-
<soap:address location="http://example.com:1234/soap"/>
|
50
|
-
</port>
|
51
|
-
</service>
|
52
|
-
</definitions>
|
@@ -1,92 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<definitions
|
3
|
-
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
4
|
-
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
5
|
-
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
|
6
|
-
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
7
|
-
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
8
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
9
|
-
xmlns:s="http://www.w3.org/2001/XMLSchema"
|
10
|
-
xmlns:article="http://example.com/article"
|
11
|
-
xmlns:actions="http://example.com/actions"
|
12
|
-
targetNamespace="http://example.com/actions">
|
13
|
-
<types>
|
14
|
-
<s:schema elementFormDefault="qualified" targetNamespace="http://example.com/actions">
|
15
|
-
<s:element name="Save">
|
16
|
-
<s:complexType>
|
17
|
-
<s:sequence>
|
18
|
-
<s:element name="article" type="article:Article"/>
|
19
|
-
</s:sequence>
|
20
|
-
</s:complexType>
|
21
|
-
</s:element>
|
22
|
-
<s:element name="Lookup">
|
23
|
-
<s:complexType>
|
24
|
-
<s:sequence>
|
25
|
-
<s:element minOccurs="0" maxOccurs="1" name="articles" type="article:ArrayOfArticle" />
|
26
|
-
</s:sequence>
|
27
|
-
</s:complexType>
|
28
|
-
</s:element>
|
29
|
-
</s:schema>
|
30
|
-
<s:schema elementFormDefault="qualified" targetNamespace="http://example.com/article">
|
31
|
-
<s:complexType name="ArrayOfArticle">
|
32
|
-
<s:sequence>
|
33
|
-
<s:element minOccurs="0" maxOccurs="unbounded" name="Article" type="article:Article"/>
|
34
|
-
</s:sequence>
|
35
|
-
</s:complexType>
|
36
|
-
<s:complexType name="Article">
|
37
|
-
<s:sequence>
|
38
|
-
<s:element minOccurs="0" name="Author" type="s:string"/>
|
39
|
-
<s:element minOccurs="0" name="Title" type="s:string"/>
|
40
|
-
</s:sequence>
|
41
|
-
</s:complexType>
|
42
|
-
</s:schema>
|
43
|
-
</types>
|
44
|
-
<message name="SaveSoapIn">
|
45
|
-
<part name="parameters" element="actions:Save"/>
|
46
|
-
</message>
|
47
|
-
<message name="SaveSoapOut">
|
48
|
-
<part name="parameters" element="actions:SaveResponse"/>
|
49
|
-
</message>
|
50
|
-
<message name="LookupSoapIn">
|
51
|
-
<part name="parameters" element="actions:Lookup"/>
|
52
|
-
</message>
|
53
|
-
<message name="LookupSoapOut">
|
54
|
-
<part name="parameters" element="actions:LookupResponse"/>
|
55
|
-
</message>
|
56
|
-
<portType name="ArticleSoap">
|
57
|
-
<operation name="Save">
|
58
|
-
<input message="actions:SaveSoapIn"/>
|
59
|
-
<output message="actions:SaveSoapOut"/>
|
60
|
-
</operation>
|
61
|
-
<operation name="Lookup">
|
62
|
-
<input message="actions:LookupSoapIn"/>
|
63
|
-
<input message="actions:LookupSoapOut"/>
|
64
|
-
</operation>
|
65
|
-
</portType>
|
66
|
-
<binding name="ArticleSoap" type="actions:ArticleSoap">
|
67
|
-
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
|
68
|
-
<operation name="Save">
|
69
|
-
<soap:operation soapAction="http://example.com/actions.Save" style="document"/>
|
70
|
-
<input>
|
71
|
-
<soap:body use="literal"/>
|
72
|
-
</input>
|
73
|
-
<output>
|
74
|
-
<soap:body use="literal"/>
|
75
|
-
</output>
|
76
|
-
</operation>
|
77
|
-
<operation name="Lookup">
|
78
|
-
<soap:operation soapAction="http://example.com/actions.Lookup" style="document"/>
|
79
|
-
<input>
|
80
|
-
<soap:body use="literal"/>
|
81
|
-
</input>
|
82
|
-
<output>
|
83
|
-
<soap:body use="literal"/>
|
84
|
-
</output>
|
85
|
-
</operation>
|
86
|
-
</binding>
|
87
|
-
<service name="StudyMDL">
|
88
|
-
<port name="StudyMDLSoap" binding="actions:StudyMDLSoap">
|
89
|
-
<soap:address location="http://example.com:1234/soap"/>
|
90
|
-
</port>
|
91
|
-
</service>
|
92
|
-
</definitions>
|
@@ -1,60 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<definitions
|
3
|
-
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
4
|
-
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
|
5
|
-
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
|
6
|
-
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
|
7
|
-
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
|
8
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
9
|
-
xmlns:s="http://www.w3.org/2001/XMLSchema"
|
10
|
-
xmlns:article="http://example.com/article"
|
11
|
-
xmlns:actions="http://example.com/actions"
|
12
|
-
targetNamespace="http://example.com/actions">
|
13
|
-
<types>
|
14
|
-
<s:schema elementFormDefault="qualified" targetNamespace="http://example.com/actions">
|
15
|
-
<s:element name="Save">
|
16
|
-
<s:complexType>
|
17
|
-
<s:sequence>
|
18
|
-
<s:element name="article" type="s:string"/>
|
19
|
-
</s:sequence>
|
20
|
-
</s:complexType>
|
21
|
-
</s:element>
|
22
|
-
<s:element name="Get">
|
23
|
-
<s:complexType>
|
24
|
-
<s:sequence>
|
25
|
-
<s:element name="articleId" type="s:long"/>
|
26
|
-
</s:sequence>
|
27
|
-
</s:complexType>
|
28
|
-
</s:element>
|
29
|
-
</s:schema>
|
30
|
-
</types>
|
31
|
-
<message name="SaveSoapIn">
|
32
|
-
<part name="parameters" element="actions:Save"/>
|
33
|
-
</message>
|
34
|
-
<message name="SaveSoapOut">
|
35
|
-
<part name="parameters" element="actions:SaveResponse"/>
|
36
|
-
</message>
|
37
|
-
<portType name="ArticleSoap">
|
38
|
-
<operation name="Save">
|
39
|
-
<input message="actions:SaveSoapIn"/>
|
40
|
-
<output message="actions:SaveSoapOut"/>
|
41
|
-
</operation>
|
42
|
-
</portType>
|
43
|
-
<binding name="ArticleSoap" type="actions:ArticleSoap">
|
44
|
-
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
|
45
|
-
<operation name="Save">
|
46
|
-
<soap:operation soapAction="http://example.com/actions.Save" style="document"/>
|
47
|
-
<input>
|
48
|
-
<soap:body use="literal"/>
|
49
|
-
</input>
|
50
|
-
<output>
|
51
|
-
<soap:body use="literal"/>
|
52
|
-
</output>
|
53
|
-
</operation>
|
54
|
-
</binding>
|
55
|
-
<service name="StudyMDL">
|
56
|
-
<port name="StudyMDLSoap" binding="actions:StudyMDLSoap">
|
57
|
-
<soap:address location="http://example.com:1234/soap"/>
|
58
|
-
</port>
|
59
|
-
</service>
|
60
|
-
</definitions>
|