Sha256: bf4e3747a38b600ce0a112bbce7cf119e15a350af424a95d8d019b0c84931390

Contents?: true

Size: 354 Bytes

Versions: 5

Compression:

Stored size: 354 Bytes

Contents

#!/usr/bin/env ruby
# encoding: ASCII-8BIT

require 'soap/wsdlDriver'
wsdl = 'hash.wsdl'
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
driver.generate_explicit_type = true

backup = driver.wsdl_mapping_registry
driver.wsdl_mapping_registry = SOAP::Mapping::DefaultRegistry
p driver.hash({1=>2, 3=>4})
driver.wsdl_mapping_registry = backup

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
soap5r-2.0.3 sample/howto/wsdl_hash/client.rb
soap5r-2.0.2 sample/howto/wsdl_hash/client.rb
soap5r-2.0.1 sample/howto/wsdl_hash/client.rb
soap5r-2.0.0 sample/howto/wsdl_hash/client.rb
soap5r-2.0.0.20120130130121 sample/howto/wsdl_hash/client.rb