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 | e399b7e21a9e2da0a46ba01a71820ea3497b1b0e (patch) | |
tree | b0099ca6f45398814a4c6934fa299c608653537a | |
parent | 4197c30c42e70653d480b3859d5dfa6ef8b0623a (diff) | |
download | ruby-e399b7e21a9e2da0a46ba01a71820ea3497b1b0e.tar.gz ruby-e399b7e21a9e2da0a46ba01a71820ea3497b1b0e.tar.xz ruby-e399b7e21a9e2da0a46ba01a71820ea3497b1b0e.zip |
* 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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | lib/soap/wsdlDriver.rb | 4 |
2 files changed, 15 insertions, 0 deletions
@@ -1,3 +1,14 @@ +Sun Jan 23 12:41:16 2005 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> + + * 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. + Sun Jan 23 05:24:42 2005 GOTOU Yuuzou <gotoyuzo@notwork.org> * ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call diff --git a/lib/soap/wsdlDriver.rb b/lib/soap/wsdlDriver.rb index 83db5c133..f13aa94f9 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}") |