diff options
Diffstat (limited to 'actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb')
-rw-r--r-- | actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb b/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb index 1533a2bdb9..8d6af246ec 100644 --- a/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +++ b/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb @@ -1,11 +1,11 @@ -module ActionWebService - module Protocol - module XmlRpc +module ActionWebService # :nodoc: + module Protocol # :nodoc: + module XmlRpc # :nodoc: def self.included(base) base.register_protocol(XmlRpcProtocol) end - class XmlRpcProtocol + class XmlRpcProtocol # :nodoc: attr :marshaler def initialize @@ -25,7 +25,7 @@ module ActionWebService def marshal_response(method_name, return_value, signature_type) if !return_value.nil? && signature_type type_binding = @marshaler.register_type(signature_type) - info = WS::ParamInfo.create(signature_type, 0, type_binding) + info = WS::ParamInfo.create(signature_type, type_binding, 0) return_value = @marshaler.marshal(WS::Param.new(return_value, info)) else return_value = nil |