method

lookup_operation

v1_8_6_287 - Show latest stable - Class: SOAP::RPC::Router
lookup_operation(soapaction, body)
private

No documentation available.

# File lib/soap/rpc/router.rb, line 237
  def lookup_operation(soapaction, body)
    if op = @operation_by_soapaction[soapaction]
      return op
    end
    qname = body.root_node.elename
    if op = @operation_by_qname[qname]
      return op
    end
    if soapaction
      raise RPCRoutingError.new(
        "operation: #{soapaction} #{qname} not supported")
    else
      raise RPCRoutingError.new("operation: #{qname} not supported")
    end
  end