Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 4fb2bf23211d5f27ae943c283575a23a > files > 277

ruby-doc-1.8.2-7.5.20060mdk.x86_64.rpm

require 'http-access2'
require 'soap/rpc/driver'

# setup driver
url = "https://localhost:17443/"
client = SOAP::RPC::Driver.new(url, 'urn:sslhelloworld')
client.add_method("hello_world", "from")
# load SSL properties
client.loadproperty('files/sslclient_with_clientauth.properties')

# SOAP over SSL
p client.hello_world(__FILE__)