wasabi 3.4.0 → 3.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +36 -0
  3. data/README.md +10 -11
  4. data/lib/wasabi/core_ext/string.rb +7 -8
  5. data/lib/wasabi/document.rb +2 -0
  6. data/lib/wasabi/parser.rb +14 -17
  7. data/lib/wasabi/resolver.rb +3 -1
  8. data/lib/wasabi/version.rb +3 -1
  9. data/lib/wasabi.rb +2 -0
  10. metadata +19 -136
  11. data/.gitignore +0 -8
  12. data/.rspec +0 -1
  13. data/.travis.yml +0 -7
  14. data/Gemfile +0 -13
  15. data/Rakefile +0 -7
  16. data/spec/fixtures/authentication.wsdl +0 -63
  17. data/spec/fixtures/economic.wsdl +0 -65660
  18. data/spec/fixtures/encoded_endpoint.wsdl +0 -52
  19. data/spec/fixtures/geotrust.wsdl +0 -156
  20. data/spec/fixtures/import_port_types.wsdl +0 -86
  21. data/spec/fixtures/inherited.wsdl +0 -46
  22. data/spec/fixtures/juniper.wsdl +0 -215
  23. data/spec/fixtures/lower_camel.wsdl +0 -52
  24. data/spec/fixtures/marketo.wsdl +0 -1630
  25. data/spec/fixtures/multiple_namespaces.wsdl +0 -61
  26. data/spec/fixtures/multiple_parts_in_message.wsdl +0 -66
  27. data/spec/fixtures/multiple_types.wsdl +0 -60
  28. data/spec/fixtures/namespaced_actions.wsdl +0 -307
  29. data/spec/fixtures/no_message_parts.wsdl +0 -85
  30. data/spec/fixtures/no_namespace.wsdl +0 -115
  31. data/spec/fixtures/savon295.wsdl +0 -52
  32. data/spec/fixtures/soap12.wsdl +0 -11
  33. data/spec/fixtures/symbolic_endpoint.wsdl +0 -190
  34. data/spec/fixtures/tradetracker.wsdl +0 -1330
  35. data/spec/fixtures/two_bindings.wsdl +0 -24
  36. data/spec/spec_helper.rb +0 -19
  37. data/spec/support/adapter.rb +0 -18
  38. data/spec/support/fixture.rb +0 -40
  39. data/spec/support/profiling.rb +0 -18
  40. data/spec/wasabi/core_ext/string_spec.rb +0 -37
  41. data/spec/wasabi/document/authentication_spec.rb +0 -37
  42. data/spec/wasabi/document/economic_spec.rb +0 -13
  43. data/spec/wasabi/document/encoded_endpoint_spec.rb +0 -14
  44. data/spec/wasabi/document/geotrust_spec.rb +0 -38
  45. data/spec/wasabi/document/inherited_spec.rb +0 -41
  46. data/spec/wasabi/document/multiple_namespaces_spec.rb +0 -55
  47. data/spec/wasabi/document/namespaced_actions_spec.rb +0 -39
  48. data/spec/wasabi/document/no_namespace_spec.rb +0 -39
  49. data/spec/wasabi/document/savon295_spec.rb +0 -18
  50. data/spec/wasabi/document/soap12_spec.rb +0 -14
  51. data/spec/wasabi/document/two_bindings_spec.rb +0 -29
  52. data/spec/wasabi/document_spec.rb +0 -58
  53. data/spec/wasabi/parser/get_servicename_spec.rb +0 -19
  54. data/spec/wasabi/parser/import_port_types_spec.rb +0 -22
  55. data/spec/wasabi/parser/juniper_spec.rb +0 -23
  56. data/spec/wasabi/parser/marketo_spec.rb +0 -17
  57. data/spec/wasabi/parser/multiple_namespaces_spec.rb +0 -40
  58. data/spec/wasabi/parser/multiple_parts_in_message_spec.rb +0 -31
  59. data/spec/wasabi/parser/no_message_parts_spec.rb +0 -32
  60. data/spec/wasabi/parser/no_namespace_spec.rb +0 -26
  61. data/spec/wasabi/parser/no_target_namespace_spec.rb +0 -36
  62. data/spec/wasabi/parser/symbolic_endpoint_spec.rb +0 -24
  63. data/spec/wasabi/parser/tradetracker_spec.rb +0 -17
  64. data/spec/wasabi/resolver_spec.rb +0 -51
  65. data/spec/wasabi/wasabi_spec.rb +0 -12
  66. data/wasabi.gemspec +0 -27
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f66ad8775172c65f8828a5273a3faa9f9de6ff4a
4
- data.tar.gz: 78420f0513c6702edd3e7b65252e0a4b1719980b
2
+ SHA256:
3
+ metadata.gz: b297c966bd9065c9ff529ba5f879ed24313b999ad6528f54f704bac52bbee751
4
+ data.tar.gz: 0e293c359124725f632ac3d25ebd6085a1a99f7487da0cca93aafbbbd9a054e6
5
5
  SHA512:
6
- metadata.gz: 1b4aa7ab5dd34587354179d0d9256f28290a1d1bd211b51eb22b85e204a6a73e24591be616a1a8e4e0674b183894b9327168602c09070c9177598759d02f907f
7
- data.tar.gz: 976611e67d55d01b1e488b33ef7ba49e5ecc0cf968e96be93b7433ec1bd6cc9afa8c350f29d1245d9c7168a8332e8e04dc8cb68c512c26db4395e35d31717432
6
+ metadata.gz: 4a89b1b0d09e9bdb7379b3e00c3c290d9c617beff6f80d30feb3ea42f4bb9f9f4b89ade325ad1ed6882534ea38f36a25be8dd82664173a3716a7ae49dba7ade6
7
+ data.tar.gz: ef4682e241ae1f6f11f151e01d0004484ec41b0796a75122fabc1ab86377e4b5cbb5dcf768d8218ee07ab37d1a9c6f176278f86a0bd3c8bbad68aa6f8c4e997b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,33 @@
1
+ # Unreleased
2
+
3
+ - _Your new line here. Mind the style of prefix used in the rest of the document._
4
+ - Breaking: BC BREAKING: Revert "Add support for rpc encoded wsdl" ([#103](https://github.com/savonrb/wasabi/pull/103))
5
+ - Fix: Support escaped endpoint urls ([#100](https://github.com/savonrb/wasabi/pull/100))
6
+
7
+ # 3.6.1 (2020-08-27)
8
+
9
+ - Fix: Repair unlinked Markdown in the CHANGELOG
10
+ - Add: Link to the CHANGELOG in the RubyGems.org metadata
11
+ - Add: Link to the Rubydocs.info documentation in the RubyGems.org metadata
12
+
13
+ # 3.6.0 (2020-08-27)
14
+
15
+ - Add: Support RPC-encoded WSDL ([#63](https://github.com/savonrb/wasabi/pull/63), [@fernandes][])
16
+ - Fix: Depend on [addressable](https://github.com/sporkmonger/addressable), for unescape to avoid a Ruby warning ([#81](https://github.com/savonrb/wasabi/pull/81) , [@chaymaeBZ][], [@bvicenzo][])
17
+ - Fix: [#59](https://github.com/savonrb/wasabi/issue/59) Turn `String` monkeypatches into `Wasabi` class methods ([@tjarratt][]) (released this version)
18
+ - Change: Reduced size of gem by focusing the files list ([#89](https://github.com/savonrb/wasabi/pull/89), [@utkarsh2102][])
19
+ - Remove: No longer tested on Rubinius
20
+
21
+ # 3.5.1 (2015-05-18)
22
+
23
+ NB: This version was never released to RubyGems.org.
24
+
25
+ * Fix: [#59](https://github.com/savonrb/wasabi/issue/59) Stop monkey patching the String class to provide #snakecase
26
+
27
+ # 3.5.0 (2015-03-31)
28
+
29
+ * Formally drop support for ruby 1.8.7
30
+
1
31
  # 3.4.0 (2015-03-02)
2
32
 
3
33
  * Fix: [#634](https://github.com/savonrb/savon/issues/634) Reverts PR #46, generates *most* operation names correctly.
@@ -110,3 +140,9 @@
110
140
 
111
141
  * Initial version extracted from the [Savon](http://rubygems.org/gems/savon) library.
112
142
  Use it to build your own SOAP client and help to improve it!
143
+
144
+ [@fernandes]: https://github.com/fernandes
145
+ [@utkarsh2102]: https://github.com/utkarsh2102
146
+ [@tjarratt]: https://github.com/tjarratt
147
+ [@chaymaeBZ]: https://github.com/chaymaeBZ
148
+ [@bvicenzo]: https://github.com/bvicenzo
data/README.md CHANGED
@@ -2,11 +2,10 @@
2
2
 
3
3
  A simple WSDL parser.
4
4
 
5
- [![Build Status](https://secure.travis-ci.org/savonrb/wasabi.png)](http://travis-ci.org/savonrb/wasabi)
6
- [![Gem Version](https://badge.fury.io/rb/wasabi.png)](http://badge.fury.io/rb/wasabi)
7
- [![Code Climate](https://codeclimate.com/github/savonrb/wasabi.png)](https://codeclimate.com/github/savonrb/wasabi)
8
- [![Coverage Status](https://coveralls.io/repos/savonrb/wasabi/badge.png?branch=master)](https://coveralls.io/r/savonrb/wasabi)
9
-
5
+ [![Test](https://github.com/savonrb/wasabi/actions/workflows/test.yml/badge.svg)](https://github.com/savonrb/wasabi/actions/workflows/test.yml)
6
+ [![Gem Version](https://badge.fury.io/rb/wasabi.svg)](http://badge.fury.io/rb/wasabi)
7
+ [![Code Climate](https://codeclimate.com/github/savonrb/wasabi.svg)](https://codeclimate.com/github/savonrb/wasabi)
8
+ [![Coverage Status](https://coveralls.io/repos/savonrb/wasabi/badge.svg?branch=master)](https://coveralls.io/r/savonrb/wasabi)
10
9
 
11
10
  ## Installation
12
11
 
@@ -19,41 +18,41 @@ $ gem install wasabi
19
18
 
20
19
  ## Getting started
21
20
 
22
- ``` ruby
21
+ ```ruby
23
22
  document = Wasabi.document File.read("some.wsdl")
24
23
  ```
25
24
 
26
25
  Get the SOAP endpoint:
27
26
 
28
- ``` ruby
27
+ ```ruby
29
28
  document.endpoint
30
29
  # => "http://soap.example.com"
31
30
  ```
32
31
 
33
32
  Get the target namespace:
34
33
 
35
- ``` ruby
34
+ ```ruby
36
35
  document.namespace
37
36
  # => "http://v1.example.com"
38
37
  ```
39
38
 
40
39
  Check whether elementFormDefault is set to `:qualified` or `:unqualified`:
41
40
 
42
- ``` ruby
41
+ ```ruby
43
42
  document.element_form_default
44
43
  # => :qualified
45
44
  ```
46
45
 
47
46
  Get a list of available SOAP actions (snakecase for convenience):
48
47
 
49
- ``` ruby
48
+ ```ruby
50
49
  document.soap_actions
51
50
  # => [:create_user, :find_user]
52
51
  ```
53
52
 
54
53
  Get a map of SOAP action Symbols, their input tag and original SOAP action name:
55
54
 
56
- ``` ruby
55
+ ```ruby
57
56
  document.operations
58
57
  # => { :create_user => { :input => "createUser", :action => "createUser" },
59
58
  # => :find_user => { :input => "findUser", :action => "findUser" } }
@@ -1,21 +1,20 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Wasabi
2
4
  module CoreExt
3
5
  module String
4
6
 
5
- # Returns the String in snakecase.
6
- def snakecase
7
- str = dup
7
+ def self.snakecase(str)
8
+ str = str.dup
8
9
  str.gsub!(/::/, '/')
9
10
  str.gsub!(/([A-Z]+)([A-Z][a-z])/, '\1_\2')
10
11
  str.gsub!(/([a-z\d])([A-Z])/, '\1_\2')
11
- str.tr! ".", "_"
12
- str.tr! "-", "_"
12
+ str.tr!(".", "_")
13
+ str.tr!("-", "_")
13
14
  str.downcase!
14
15
  str
15
- end unless method_defined?(:snakecase)
16
+ end
16
17
 
17
18
  end
18
19
  end
19
20
  end
20
-
21
- String.send :include, Wasabi::CoreExt::String
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "nokogiri"
2
4
  require "wasabi/resolver"
3
5
  require "wasabi/parser"
data/lib/wasabi/parser.rb CHANGED
@@ -1,4 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'uri'
4
+ require 'addressable/uri'
2
5
  require 'wasabi/core_ext/string'
3
6
 
4
7
  module Wasabi
@@ -86,10 +89,10 @@ module Wasabi
86
89
  end
87
90
 
88
91
  def parse_url(url)
89
- unescaped_url = URI.unescape(url.to_s)
90
- escaped_url = URI.escape(unescaped_url)
91
- URI.parse(escaped_url)
92
- rescue URI::InvalidURIError
92
+ unescaped_url = Addressable::URI.unescape(url.to_s)
93
+ escaped_url = Addressable::URI.escape(unescaped_url)
94
+ URI(escaped_url)
95
+ rescue URI::InvalidURIError, Addressable::URI::InvalidURIError
93
96
  end
94
97
 
95
98
  def parse_service_name
@@ -117,8 +120,8 @@ module Wasabi
117
120
  end
118
121
 
119
122
  def parse_operations_parameters
120
- root_elements = document.xpath("wsdl:definitions/wsdl:types/*[local-name()='schema']/*[local-name()='element']", 'wsdl' => WSDL).each do |element|
121
- name = element.attribute('name').to_s.snakecase.to_sym
123
+ document.xpath("wsdl:definitions/wsdl:types/*[local-name()='schema']/*[local-name()='element']", 'wsdl' => WSDL).each do |element|
124
+ name = Wasabi::CoreExt::String.snakecase(element.attribute('name').to_s).to_sym
122
125
 
123
126
  if operation = @operations[name]
124
127
  element.xpath("*[local-name() ='complexType']/*[local-name() ='sequence']/*[local-name() ='element']").each do |child_element|
@@ -136,6 +139,7 @@ module Wasabi
136
139
  operations = document.xpath('wsdl:definitions/wsdl:binding/wsdl:operation', 'wsdl' => WSDL)
137
140
  operations.each do |operation|
138
141
  name = operation.attribute('name').to_s
142
+ snakecase_name = Wasabi::CoreExt::String.snakecase(name).to_sym
139
143
 
140
144
  # TODO: check for soap namespace?
141
145
  soap_operation = operation.element_children.find { |node| node.name == 'operation' }
@@ -150,9 +154,9 @@ module Wasabi
150
154
  namespace_id, input = input_for(operation)
151
155
 
152
156
  # Store namespace identifier so this operation can be mapped to the proper namespace.
153
- @operations[name.snakecase.to_sym] = { :action => action, :input => input, :output => output, :namespace_identifier => namespace_id}
154
- elsif !@operations[name.snakecase.to_sym]
155
- @operations[name.snakecase.to_sym] = { :action => name, :input => name }
157
+ @operations[snakecase_name] = { :action => action, :input => input, :output => output, :namespace_identifier => namespace_id}
158
+ elsif !@operations[snakecase_name]
159
+ @operations[snakecase_name] = { :action => name, :input => name }
156
160
  end
157
161
  end
158
162
  end
@@ -305,14 +309,7 @@ module Wasabi
305
309
  end
306
310
 
307
311
  def sections
308
- return @sections if @sections
309
-
310
- sections = {}
311
- document.root.element_children.each do |node|
312
- (sections[node.name] ||= []) << node
313
- end
314
-
315
- @sections = sections
312
+ @sections ||= document.root.element_children.group_by { |node| node.name }
316
313
  end
317
314
  end
318
315
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "httpi"
2
4
 
3
5
  module Wasabi
@@ -42,7 +44,7 @@ module Wasabi
42
44
  request.url = document
43
45
  response = HTTPI.get(request, adapter)
44
46
 
45
- raise HTTPError.new("Error: #{response.code}", response) if response.error?
47
+ raise HTTPError.new("Error: #{response.code} for url #{request.url}", response) if response.error?
46
48
 
47
49
  response.body
48
50
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Wasabi
2
- VERSION = '3.4.0'
4
+ VERSION = '3.7.0'
3
5
  end
data/lib/wasabi.rb CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "wasabi/version"
2
4
  require "wasabi/document"
3
5
  require "wasabi/resolver"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wasabi
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Harrington
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-02 00:00:00.000000000 Z
11
+ date: 2022-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpi
@@ -39,33 +39,19 @@ dependencies:
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.4.2
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: addressable
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '0.9'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '0.9'
55
- - !ruby/object:Gem::Dependency
56
- name: rspec
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
45
+ - - ">="
60
46
  - !ruby/object:Gem::Version
61
- version: '2.14'
62
- type: :development
47
+ version: '0'
48
+ type: :runtime
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - "~>"
52
+ - - ">="
67
53
  - !ruby/object:Gem::Version
68
- version: '2.14'
54
+ version: '0'
69
55
  description: A simple WSDL parser
70
56
  email:
71
57
  - me@rubiii.com
@@ -73,76 +59,24 @@ executables: []
73
59
  extensions: []
74
60
  extra_rdoc_files: []
75
61
  files:
76
- - ".gitignore"
77
- - ".rspec"
78
- - ".travis.yml"
79
62
  - CHANGELOG.md
80
- - Gemfile
81
63
  - LICENSE
82
64
  - README.md
83
- - Rakefile
84
65
  - lib/wasabi.rb
85
66
  - lib/wasabi/core_ext/string.rb
86
67
  - lib/wasabi/document.rb
87
68
  - lib/wasabi/parser.rb
88
69
  - lib/wasabi/resolver.rb
89
70
  - lib/wasabi/version.rb
90
- - spec/fixtures/authentication.wsdl
91
- - spec/fixtures/economic.wsdl
92
- - spec/fixtures/encoded_endpoint.wsdl
93
- - spec/fixtures/geotrust.wsdl
94
- - spec/fixtures/import_port_types.wsdl
95
- - spec/fixtures/inherited.wsdl
96
- - spec/fixtures/juniper.wsdl
97
- - spec/fixtures/lower_camel.wsdl
98
- - spec/fixtures/marketo.wsdl
99
- - spec/fixtures/multiple_namespaces.wsdl
100
- - spec/fixtures/multiple_parts_in_message.wsdl
101
- - spec/fixtures/multiple_types.wsdl
102
- - spec/fixtures/namespaced_actions.wsdl
103
- - spec/fixtures/no_message_parts.wsdl
104
- - spec/fixtures/no_namespace.wsdl
105
- - spec/fixtures/savon295.wsdl
106
- - spec/fixtures/soap12.wsdl
107
- - spec/fixtures/symbolic_endpoint.wsdl
108
- - spec/fixtures/tradetracker.wsdl
109
- - spec/fixtures/two_bindings.wsdl
110
- - spec/spec_helper.rb
111
- - spec/support/adapter.rb
112
- - spec/support/fixture.rb
113
- - spec/support/profiling.rb
114
- - spec/wasabi/core_ext/string_spec.rb
115
- - spec/wasabi/document/authentication_spec.rb
116
- - spec/wasabi/document/economic_spec.rb
117
- - spec/wasabi/document/encoded_endpoint_spec.rb
118
- - spec/wasabi/document/geotrust_spec.rb
119
- - spec/wasabi/document/inherited_spec.rb
120
- - spec/wasabi/document/multiple_namespaces_spec.rb
121
- - spec/wasabi/document/namespaced_actions_spec.rb
122
- - spec/wasabi/document/no_namespace_spec.rb
123
- - spec/wasabi/document/savon295_spec.rb
124
- - spec/wasabi/document/soap12_spec.rb
125
- - spec/wasabi/document/two_bindings_spec.rb
126
- - spec/wasabi/document_spec.rb
127
- - spec/wasabi/parser/get_servicename_spec.rb
128
- - spec/wasabi/parser/import_port_types_spec.rb
129
- - spec/wasabi/parser/juniper_spec.rb
130
- - spec/wasabi/parser/marketo_spec.rb
131
- - spec/wasabi/parser/multiple_namespaces_spec.rb
132
- - spec/wasabi/parser/multiple_parts_in_message_spec.rb
133
- - spec/wasabi/parser/no_message_parts_spec.rb
134
- - spec/wasabi/parser/no_namespace_spec.rb
135
- - spec/wasabi/parser/no_target_namespace_spec.rb
136
- - spec/wasabi/parser/symbolic_endpoint_spec.rb
137
- - spec/wasabi/parser/tradetracker_spec.rb
138
- - spec/wasabi/resolver_spec.rb
139
- - spec/wasabi/wasabi_spec.rb
140
- - wasabi.gemspec
141
71
  homepage: https://github.com/savonrb/wasabi
142
72
  licenses:
143
73
  - MIT
144
- metadata: {}
145
- post_install_message:
74
+ metadata:
75
+ changelog_uri: https://github.com/savonrb/wasabi/blob/master/CHANGELOG.md
76
+ documentation_uri: https://www.rubydoc.info/gems/wasabi/3.7.0
77
+ source_code_uri: https://github.com/savonrb/wasabi
78
+ bug_tracker_uri: https://github.com/savonrb/wasabi/issues
79
+ post_install_message:
146
80
  rdoc_options: []
147
81
  require_paths:
148
82
  - lib
@@ -150,66 +84,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
150
84
  requirements:
151
85
  - - ">="
152
86
  - !ruby/object:Gem::Version
153
- version: '0'
87
+ version: 1.9.2
154
88
  required_rubygems_version: !ruby/object:Gem::Requirement
155
89
  requirements:
156
90
  - - ">="
157
91
  - !ruby/object:Gem::Version
158
92
  version: '0'
159
93
  requirements: []
160
- rubyforge_project: wasabi
161
- rubygems_version: 2.2.2
162
- signing_key:
94
+ rubygems_version: 3.2.7
95
+ signing_key:
163
96
  specification_version: 4
164
97
  summary: A simple WSDL parser
165
- test_files:
166
- - spec/fixtures/authentication.wsdl
167
- - spec/fixtures/economic.wsdl
168
- - spec/fixtures/encoded_endpoint.wsdl
169
- - spec/fixtures/geotrust.wsdl
170
- - spec/fixtures/import_port_types.wsdl
171
- - spec/fixtures/inherited.wsdl
172
- - spec/fixtures/juniper.wsdl
173
- - spec/fixtures/lower_camel.wsdl
174
- - spec/fixtures/marketo.wsdl
175
- - spec/fixtures/multiple_namespaces.wsdl
176
- - spec/fixtures/multiple_parts_in_message.wsdl
177
- - spec/fixtures/multiple_types.wsdl
178
- - spec/fixtures/namespaced_actions.wsdl
179
- - spec/fixtures/no_message_parts.wsdl
180
- - spec/fixtures/no_namespace.wsdl
181
- - spec/fixtures/savon295.wsdl
182
- - spec/fixtures/soap12.wsdl
183
- - spec/fixtures/symbolic_endpoint.wsdl
184
- - spec/fixtures/tradetracker.wsdl
185
- - spec/fixtures/two_bindings.wsdl
186
- - spec/spec_helper.rb
187
- - spec/support/adapter.rb
188
- - spec/support/fixture.rb
189
- - spec/support/profiling.rb
190
- - spec/wasabi/core_ext/string_spec.rb
191
- - spec/wasabi/document/authentication_spec.rb
192
- - spec/wasabi/document/economic_spec.rb
193
- - spec/wasabi/document/encoded_endpoint_spec.rb
194
- - spec/wasabi/document/geotrust_spec.rb
195
- - spec/wasabi/document/inherited_spec.rb
196
- - spec/wasabi/document/multiple_namespaces_spec.rb
197
- - spec/wasabi/document/namespaced_actions_spec.rb
198
- - spec/wasabi/document/no_namespace_spec.rb
199
- - spec/wasabi/document/savon295_spec.rb
200
- - spec/wasabi/document/soap12_spec.rb
201
- - spec/wasabi/document/two_bindings_spec.rb
202
- - spec/wasabi/document_spec.rb
203
- - spec/wasabi/parser/get_servicename_spec.rb
204
- - spec/wasabi/parser/import_port_types_spec.rb
205
- - spec/wasabi/parser/juniper_spec.rb
206
- - spec/wasabi/parser/marketo_spec.rb
207
- - spec/wasabi/parser/multiple_namespaces_spec.rb
208
- - spec/wasabi/parser/multiple_parts_in_message_spec.rb
209
- - spec/wasabi/parser/no_message_parts_spec.rb
210
- - spec/wasabi/parser/no_namespace_spec.rb
211
- - spec/wasabi/parser/no_target_namespace_spec.rb
212
- - spec/wasabi/parser/symbolic_endpoint_spec.rb
213
- - spec/wasabi/parser/tradetracker_spec.rb
214
- - spec/wasabi/resolver_spec.rb
215
- - spec/wasabi/wasabi_spec.rb
98
+ test_files: []
data/.gitignore DELETED
@@ -1,8 +0,0 @@
1
- .DS_Store
2
- doc
3
- coverage
4
- pkg
5
- *~
6
- *.gem
7
- .bundle
8
- Gemfile.lock
data/.rspec DELETED
@@ -1 +0,0 @@
1
- --color
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- rvm:
2
- - 1.9.3
3
- - 2.0
4
- - 2.1
5
- - 2.2
6
- - jruby-19mode
7
- - rbx-2
data/Gemfile DELETED
@@ -1,13 +0,0 @@
1
- source 'https://rubygems.org'
2
- gemspec
3
-
4
- gem 'simplecov', :require => false
5
- gem 'method_profiler', :require => false
6
- gem 'coveralls', :require => false
7
-
8
- platform :rbx do
9
- gem 'json'
10
- gem 'racc'
11
- gem 'rubysl'
12
- gem 'rubinius-coverage'
13
- end
data/Rakefile DELETED
@@ -1,7 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new
5
-
6
- task :default => :spec
7
- task :test => :spec
@@ -1,63 +0,0 @@
1
- <?xml version='1.0' encoding='UTF-8'?><wsdl:definitions name="AuthenticationWebServiceImplService" targetNamespace="http://v1_0.ws.auth.order.example.com/" xmlns:ns1="http://cxf.apache.org/bindings/xformat" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://v1_0.ws.auth.order.example.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
2
- <wsdl:types>
3
- <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://v1_0.ws.auth.order.example.com/" xmlns:tns="http://v1_0.ws.auth.order.example.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
4
- <xs:element name="authenticate" type="tns:authenticate" />
5
- <xs:element name="authenticateResponse" type="tns:authenticateResponse" />
6
- <xs:element name="authenticationResult" type="tns:authenticationResult" />
7
- <xs:element name="authenticationValue" type="tns:authenticationValue" />
8
- <xs:complexType name="authenticate">
9
- <xs:sequence>
10
- <xs:element minOccurs="0" name="user" type="xs:string" />
11
- <xs:element minOccurs="0" name="password" type="xs:string" />
12
- </xs:sequence>
13
- </xs:complexType>
14
- <xs:complexType name="authenticateResponse">
15
- <xs:sequence>
16
- <xs:element minOccurs="0" name="return" type="tns:authenticationResult" />
17
- </xs:sequence>
18
- </xs:complexType>
19
- <xs:complexType name="authenticationResult">
20
- <xs:sequence>
21
- <xs:element minOccurs="0" name="authenticationValue" nillable="true" type="tns:authenticationValue" />
22
- <xs:element name="success" type="xs:boolean" />
23
- </xs:sequence>
24
- </xs:complexType>
25
- <xs:complexType name="authenticationValue">
26
- <xs:sequence>
27
- <xs:element name="token" type="xs:string" />
28
- <xs:element name="tokenHash" type="xs:string" />
29
- <xs:element name="client" type="xs:string" />
30
- </xs:sequence>
31
- </xs:complexType>
32
- </xs:schema>
33
- </wsdl:types>
34
- <wsdl:message name="authenticate">
35
- <wsdl:part element="tns:authenticate" name="parameters" />
36
- </wsdl:message>
37
- <wsdl:message name="authenticateResponse">
38
- <wsdl:part element="tns:authenticateResponse" name="parameters" />
39
- </wsdl:message>
40
- <wsdl:portType name="AuthenticationWebService">
41
- <wsdl:operation name="authenticate">
42
- <wsdl:input message="tns:authenticate" name="authenticate" />
43
- <wsdl:output message="tns:authenticateResponse" name="authenticateResponse" />
44
- </wsdl:operation>
45
- </wsdl:portType>
46
- <wsdl:binding name="AuthenticationWebServiceImplServiceSoapBinding" type="tns:AuthenticationWebService">
47
- <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
48
- <wsdl:operation name="authenticate">
49
- <soap:operation soapAction="" style="document" />
50
- <wsdl:input name="authenticate">
51
- <soap:body use="literal" />
52
- </wsdl:input>
53
- <wsdl:output name="authenticateResponse">
54
- <soap:body use="literal" />
55
- </wsdl:output>
56
- </wsdl:operation>
57
- </wsdl:binding>
58
- <wsdl:service name="AuthenticationWebServiceImplService">
59
- <wsdl:port binding="tns:AuthenticationWebServiceImplServiceSoapBinding" name="AuthenticationWebServiceImplPort">
60
- <soap:address location="http://example.com/validation/1.0/AuthenticationService" />
61
- </wsdl:port>
62
- </wsdl:service>
63
- </wsdl:definitions>