diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-23 03:42:36 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-01-23 03:42:36 +0000 |
commit | 9e56da885c405951d49e9fb8659a00bd002ece41 (patch) | |
tree | b0099ca6f45398814a4c6934fa299c608653537a /lib/soap | |
parent | 4c3e68b167d902f3037012db2af0561a368195b7 (diff) | |
download | ruby-9e56da885c405951d49e9fb8659a00bd002ece41.tar.gz |
* lib/soap/wsdlDriver.rb: from 1.5.3-ruby1.8.2, operation which has
capitalized name (such as KeywordSearchRequest in AWS) is defined as
a method having uncapitalized name. (converted with
GenSupport.safemethodname to handle operation name 'foo-bar'). it
introduced serious incompatibility; in the past, it was defined as a
capitalized.
define capitalized method as well under that circumstance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/soap')
-rw-r--r-- | lib/soap/wsdlDriver.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/soap/wsdlDriver.rb b/lib/soap/wsdlDriver.rb index 83db5c133c..f13aa94f94 100644 --- a/lib/soap/wsdlDriver.rb +++ b/lib/soap/wsdlDriver.rb @@ -425,6 +425,10 @@ class WSDLDriver add_document_method_interface(name) when :rpc parts_names = op_info.bodyparts.collect { |part| part.name } + orgname = op_info.op_name.name + if orgname != name and orgname.capitalize == name.capitalize + add_rpc_method_interface(orgname, parts_names) + end add_rpc_method_interface(name, parts_names) else raise RuntimeError.new("Unknown style: #{op_info.style}") |