SOAP::RPC::SOAPlet::RequestRouter (Class)

In: soap/rpc/soaplet.rb
Parent: ::SOAP::RPC::Router

Methods

new   route  

Public Class methods

[Source]

# File soap/rpc/soaplet.rb, line 95
    def initialize(klass, namespace, mapping_registry = nil)
      super(namespace)
      if mapping_registry
        self.mapping_registry = mapping_registry
      end
      @klass = klass
      @namespace = namespace
    end

Public Instance methods

[Source]

# File soap/rpc/soaplet.rb, line 104
    def route(soap_string)
      obj = @klass.new
      namespace = self.actor
      router = ::SOAP::RPC::Router.new(@namespace)
      SOAPlet.add_servant_to_router(router, obj, namespace)
      router.route(soap_string)
    end

[Validate]