Namespace
Methods
C
I
N
Attributes
[R] wsdl
Class Public methods
new(wsdl)
# File lib/soap/wsdlDriver.rb, line 27
def initialize(wsdl)
  @wsdl = import(wsdl)
  @methoddefcreator = WSDL::SOAP::MethodDefCreator.new(@wsdl)
end
Instance Public methods
createDriver(servicename = nil, portname = nil)

Backward compatibility.

create_driver(servicename = nil, portname = nil)

depricated old interface

Also aliased as: createDriver
# File lib/soap/wsdlDriver.rb, line 45
def create_driver(servicename = nil, portname = nil)
  warn("WSDLDriverFactory#create_driver is depricated.  Use create_rpc_driver instead.")
  port = find_port(servicename, portname)
  WSDLDriver.new(@wsdl, port, nil)
end
create_rpc_driver(servicename = nil, portname = nil)
# File lib/soap/wsdlDriver.rb, line 36
def create_rpc_driver(servicename = nil, portname = nil)
  port = find_port(servicename, portname)
  drv = SOAP::RPC::Driver.new(port.soap_address.location)
  init_driver(drv, port)
  add_operation(drv, port)
  drv
end
inspect()
# File lib/soap/wsdlDriver.rb, line 32
def inspect
  "#<#{self.class}:#{@wsdl.name}>"
end