mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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/trunk@7811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8d8c9f6cd1
commit
69026d2f73
2 changed files with 15 additions and 0 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
Sun Jan 23 12:38:01 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>
|
Sun Jan 23 05:24:42 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
* ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call
|
* ext/openssl/ossl_ocsp.c (ossl_ocspreq_to_der): should call
|
||||||
|
|
|
@ -425,6 +425,10 @@ class WSDLDriver
|
||||||
add_document_method_interface(name)
|
add_document_method_interface(name)
|
||||||
when :rpc
|
when :rpc
|
||||||
parts_names = op_info.bodyparts.collect { |part| part.name }
|
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)
|
add_rpc_method_interface(name, parts_names)
|
||||||
else
|
else
|
||||||
raise RuntimeError.new("Unknown style: #{op_info.style}")
|
raise RuntimeError.new("Unknown style: #{op_info.style}")
|
||||||
|
|
Loading…
Reference in a new issue