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

Methods

new   route  

Attributes

factory  [RW] 

Public Class methods

[Source]

# File soap/rpc/soaplet.rb, line 118
    def initialize(namespace = nil)
      super(namespace)
      @namespace = namespace
      @factory = nil
    end

Public Instance methods

[Source]

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

[Validate]