module Soap4r::Middleware::ClassMethods
Public Instance Methods
add_document_operation(receiver, soapaction, name, param_def, opt = {})
click to toggle source
# File lib/soap4r-middleware.rb, line 172 def add_document_operation(receiver, soapaction, name, param_def, opt = {}) router.add_document_operation(receiver, soapaction, name, param_def, opt) end
add_headerhandler(obj)
click to toggle source
# File lib/soap4r-middleware.rb, line 134 def add_headerhandler(obj) router.add_headerhandler(obj) end
Also aliased as: add_rpc_headerhandler
add_method_with_namespace_as(namespace, obj, name, name_as, *param)
Alias for: add_rpc_method_with_namespace_as
add_rpc_method(obj, name, *param)
click to toggle source
method entry interface
# File lib/soap4r-middleware.rb, line 145 def add_rpc_method(obj, name, *param) add_rpc_method_with_namespace_as(default_namespace, obj, name, name, *param) end
Also aliased as: add_method
add_rpc_method_as(obj, name, name_as, *param)
click to toggle source
# File lib/soap4r-middleware.rb, line 150 def add_rpc_method_as(obj, name, name_as, *param) add_rpc_method_with_namespace_as(default_namespace, obj, name, name_as, *param) end
Also aliased as: add_method_as
add_rpc_method_with_namespace(namespace, obj, name, *param)
click to toggle source
# File lib/soap4r-middleware.rb, line 155 def add_rpc_method_with_namespace(namespace, obj, name, *param) add_rpc_method_with_namespace_as(namespace, obj, name, name, *param) end
Also aliased as: add_method_with_namespace
add_rpc_method_with_namespace_as(namespace, obj, name, name_as, *param)
click to toggle source
# File lib/soap4r-middleware.rb, line 160 def add_rpc_method_with_namespace_as(namespace, obj, name, name_as, *param) qname = XSD::QName.new(namespace, name_as) soapaction = nil param_def = SOAPMethod.derive_rpc_param_def(obj, name, *param) router.add_rpc_operation(obj, qname, soapaction, name, param_def) end
Also aliased as: add_method_with_namespace_as
add_rpc_operation(receiver, qname, soapaction, name, param_def, opt = {})
click to toggle source
# File lib/soap4r-middleware.rb, line 168 def add_rpc_operation(receiver, qname, soapaction, name, param_def, opt = {}) router.add_rpc_operation(receiver, qname, soapaction, name, param_def, opt) end
add_rpc_servant(obj, namespace = self.default_namespace)
click to toggle source
servant entry interface
# File lib/soap4r-middleware.rb, line 129 def add_rpc_servant(obj, namespace = self.default_namespace) router.add_rpc_servant(obj, namespace) end
Also aliased as: add_servant
endpoint()
click to toggle source
# File lib/soap4r-middleware.rb, line 97 def endpoint @endpoint end
endpoint=(regex)
click to toggle source
# File lib/soap4r-middleware.rb, line 93 def endpoint=(regex) @endpoint = regex end
filterchain()
click to toggle source
# File lib/soap4r-middleware.rb, line 139 def filterchain router.filterchain end
generate_explicit_type()
click to toggle source
# File lib/soap4r-middleware.rb, line 119 def generate_explicit_type router.generate_explicit_type end
generate_explicit_type=(generate_explicit_type)
click to toggle source
# File lib/soap4r-middleware.rb, line 123 def generate_explicit_type=(generate_explicit_type) router.generate_explicit_type = generate_explicit_type end
literal_mapping_registry()
click to toggle source
# File lib/soap4r-middleware.rb, line 111 def literal_mapping_registry router.literal_mapping_registry end
literal_mapping_registry=(literal_mapping_registry)
click to toggle source
# File lib/soap4r-middleware.rb, line 115 def literal_mapping_registry=(literal_mapping_registry) router.literal_mapping_registry = literal_mapping_registry end
mapping_registry()
click to toggle source
SOAP interface
# File lib/soap4r-middleware.rb, line 103 def mapping_registry router.mapping_registry end
mapping_registry=(mapping_registry)
click to toggle source
# File lib/soap4r-middleware.rb, line 107 def mapping_registry=(mapping_registry) router.mapping_registry = mapping_registry end
router()
click to toggle source
# File lib/soap4r-middleware.rb, line 89 def router @router end
setup() { |self| ... }
click to toggle source
# File lib/soap4r-middleware.rb, line 84 def setup @router = ::SOAP::RPC::Router.new(self.class.name) yield self end