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
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus