Class: SOAP::WSDLDriver

Inherits:
Object show all
Defined in:
lib/action_web_service/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.



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

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

Instance Method Details

#__attr_proxy(symbol, assignable = false) ⇒ Object



164
165
166
167
168
169
170
171
172
173
174
175
# File 'lib/action_web_service/soap/wsdlDriver.rb', line 164

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



206
207
208
# File 'lib/action_web_service/soap/wsdlDriver.rb', line 206

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

#httpproxy=(httpproxy) ⇒ Object



210
211
212
# File 'lib/action_web_service/soap/wsdlDriver.rb', line 210

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

#inspectObject



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

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

#mandatorycharsetObject



222
223
224
# File 'lib/action_web_service/soap/wsdlDriver.rb', line 222

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

#mandatorycharset=(mandatorycharset) ⇒ Object



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

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

#reset_streamObject



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

def reset_stream
  @servant.reset_stream
end

#wiredump_devObject



214
215
216
# File 'lib/action_web_service/soap/wsdlDriver.rb', line 214

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

#wiredump_dev=(wiredump_dev) ⇒ Object



218
219
220
# File 'lib/action_web_service/soap/wsdlDriver.rb', line 218

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

#wiredump_file_baseObject



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

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

#wiredump_file_base=(wiredump_file_base) ⇒ Object



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

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