module Soap4r::Middleware::ClassMethods
Public Instance Methods
add_document_operation(receiver, soapaction, name, param_def, opt = {})
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 174 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_rack_middleware_es.rb, line 136 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_rack_middleware_es.rb, line 147 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_rack_middleware_es.rb, line 152 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_rack_middleware_es.rb, line 157 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_rack_middleware_es.rb, line 162 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_rack_middleware_es.rb, line 170 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_rack_middleware_es.rb, line 131 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_rack_middleware_es.rb, line 99 def endpoint @endpoint end
endpoint=(regex)
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 95 def endpoint=(regex) @endpoint = regex end
filterchain()
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 141 def filterchain router.filterchain end
generate_explicit_type()
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 121 def generate_explicit_type router.generate_explicit_type end
generate_explicit_type=(generate_explicit_type)
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 125 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_rack_middleware_es.rb, line 113 def literal_mapping_registry router.literal_mapping_registry end
literal_mapping_registry=(literal_mapping_registry)
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 117 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_rack_middleware_es.rb, line 105 def mapping_registry router.mapping_registry end
mapping_registry=(mapping_registry)
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 109 def mapping_registry=(mapping_registry) router.mapping_registry = mapping_registry end
router()
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 91 def router @router end
setup() { |self| ... }
click to toggle source
# File lib/soap4r_rack_middleware_es.rb, line 86 def setup @router = ::SOAP::RPC::Router.new(self.class.name) yield self end