diff options
Diffstat (limited to 'lib')
-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}") |