Class: SOAP::WSDLDriver

Inherits:
Object show all
Defined in:
lib/soap/wsdlDriver.rb

Defined Under Namespace

Classes: Servant__

Instance Method Summary collapse

Constructor Details

#initialize(wsdl, port, logdev) ⇒ WSDLDriver

Returns a new instance of WSDLDriver.



259
260
261
# File 'lib/soap/wsdlDriver.rb', line 259

def initialize(wsdl, port, logdev)
  @servant = Servant__.new(self, wsdl, port, logdev)
end

Instance Method Details

#__attr_proxy(symbol, assignable = false) ⇒ Object



185
186
187
188
189
190
191
192
193
194
195
196
# File 'lib/soap/wsdlDriver.rb', line 185

def __attr_proxy(symbol, assignable = false)
  name = symbol.to_s
  define_method(name) {
    @servant.__send__(name)
  }
  if assignable
    aname = name + '='
    define_method(aname) { |rhs|
      @servant.__send__(aname, rhs)
    }
  end
end

#httpproxyObject



227
228
229
# File 'lib/soap/wsdlDriver.rb', line 227

def httpproxy
  @servant.options["protocol.http.proxy"]
end

#httpproxy=(httpproxy) ⇒ Object



231
232
233
# File 'lib/soap/wsdlDriver.rb', line 231

def httpproxy=(httpproxy)
  @servant.options["protocol.http.proxy"] = httpproxy
end

#inspectObject



263
264
265
# File 'lib/soap/wsdlDriver.rb', line 263

def inspect
  "#<#{self.class}:#{@servant.port.name}>"
end

#mandatorycharsetObject



243
244
245
# File 'lib/soap/wsdlDriver.rb', line 243

def mandatorycharset
  @servant.options["protocol.mandatorycharset"]
end

#mandatorycharset=(mandatorycharset) ⇒ Object



247
248
249
# File 'lib/soap/wsdlDriver.rb', line 247

def mandatorycharset=(mandatorycharset)
  @servant.options["protocol.mandatorycharset"] = mandatorycharset
end

#reset_streamObject



267
268
269
# File 'lib/soap/wsdlDriver.rb', line 267

def reset_stream
  @servant.reset_stream
end

#wiredump_devObject



235
236
237
# File 'lib/soap/wsdlDriver.rb', line 235

def wiredump_dev
  @servant.options["protocol.http.wiredump_dev"]
end

#wiredump_dev=(wiredump_dev) ⇒ Object



239
240
241
# File 'lib/soap/wsdlDriver.rb', line 239

def wiredump_dev=(wiredump_dev)
  @servant.options["protocol.http.wiredump_dev"] = wiredump_dev
end

#wiredump_file_baseObject



251
252
253
# File 'lib/soap/wsdlDriver.rb', line 251

def wiredump_file_base
  @servant.options["protocol.wiredump_file_base"]
end

#wiredump_file_base=(wiredump_file_base) ⇒ Object



255
256
257
# File 'lib/soap/wsdlDriver.rb', line 255

def wiredump_file_base=(wiredump_file_base)
  @servant.options["protocol.wiredump_file_base"] = wiredump_file_base
end