Extended maintenance of Ruby versions 1.8.7 and 1.9.2 ended on July 31, 2014. Read more

In Files

  • soap/wsdlDriver.rb

Class/Module Index [+]

Quicksearch

SOAP::WSDLDriverFactory

Attributes

wsdl[R]

Public Class Methods

new(wsdl) click to toggle source
 
               # File soap/wsdlDriver.rb, line 27
def initialize(wsdl)
  @wsdl = import(wsdl)
  @methoddefcreator = WSDL::SOAP::MethodDefCreator.new(@wsdl)
end
            

Public Instance Methods

createDriver(servicename = nil, portname = nil) click to toggle source

Backward compatibility.

Alias for: create_driver
create_driver(servicename = nil, portname = nil) click to toggle source

depricated old interface

 
               # File 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
            
Also aliased as: createDriver
create_rpc_driver(servicename = nil, portname = nil) click to toggle source
 
               # File 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() click to toggle source
 
               # File soap/wsdlDriver.rb, line 32
def inspect
  "#<#{self.class}:#{@wsdl.name}>"
end