summaryrefslogtreecommitdiff
path: root/sample/soap/ssl/sslclient_require_noserverauth.rb
blob: af121e9a41591c754d03b964fb8e4907ea1489ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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_require_noserverauth.properties')

# SOAP over SSL
p client.hello_world(__FILE__)