Sha256: 46c231db06498cbd010a44e456b58b2c0af66f3f982cafa05400e5a0c84501b3

Contents?: true

Size: 791 Bytes

Versions: 7

Compression:

Stored size: 791 Bytes

Contents

require 'soap/wsdlDriver'
include SOAP

wsdl = ARGV.shift || 'SoapBoxWebServiceWithRawXML.wsdl'
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
driver.wiredump_dev = STDOUT

=begin
userinfo = SOAPElement.new(XSD::QName.new('http://www.winfessor.com/SoapBoxWebService/SoapBoxWebService', 'RegisterUser'))
userinfo.add(SOAPElement.new('username', 'NaHi'))
userinfo.add(SOAPElement.new('passowrd', 'passwd'))
userinfo.add(SOAPElement.new('hostname', 'www.example.com'))

s = Struct.new(:username, :password, :hostname)
userinfo = s.new('NaHi', 'nahi', 'jabber.example.com')

s = Struct.new(:username, :password)
userinfo = {:username => 'NaHi', :password => 'nahi'}
driver.RegisterUser(nil, userinfo)
=end

header = { :SessionID => '12345' }
driver.RegisterRemoveUser(header, nil)

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
soap4r-spox-1.6.0 sample/showcase/soap/soapbox/wsdlDriver.rb
soap4r-ruby1.9-2.0.5 sample/showcase/soap/soapbox/wsdlDriver.rb
soap4r-ruby1.9-2.0.3 sample/showcase/soap/soapbox/wsdlDriver.rb
soap4r-ruby1.9-2.0.2 sample/showcase/soap/soapbox/wsdlDriver.rb
soap4r-ruby1.9-2.0.1 sample/showcase/soap/soapbox/wsdlDriver.rb
soap4r-ruby1.9-2.0.0 sample/showcase/soap/soapbox/wsdlDriver.rb
soap4r-ruby1.9-1.0.0 sample/showcase/soap/soapbox/wsdlDriver.rb