class SOAP::RPC::StandaloneServer

Public Class Methods

new(appname, default_namespace, host = "0.0.0.0", port = 8080) click to toggle source
Calls superclass method SOAP::RPC::HTTPServer::new
# File lib/soap/rpc/standaloneServer.rb, line 18
def initialize(appname, default_namespace, host = "0.0.0.0", port = 8080)
  @appname = appname
  @default_namespace = default_namespace
  @host = host
  @port = port
  super(create_config)
end

Private Instance Methods

create_config() click to toggle source
# File lib/soap/rpc/standaloneServer.rb, line 31
def create_config
  {
    :BindAddress => @host,
    :Port => @port,
    :AccessLog => [],
    :SOAPDefaultNamespace => @default_namespace,
    :SOAPHTTPServerApplicationName => @appname,
  }
end