diff options
Diffstat (limited to 'sample/soap/ssl/sslclient_with_clientauth.rb')
-rw-r--r-- | sample/soap/ssl/sslclient_with_clientauth.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sample/soap/ssl/sslclient_with_clientauth.rb b/sample/soap/ssl/sslclient_with_clientauth.rb new file mode 100644 index 0000000000..7753d7b807 --- /dev/null +++ b/sample/soap/ssl/sslclient_with_clientauth.rb @@ -0,0 +1,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_with_clientauth.properties') + +# SOAP over SSL +p client.hello_world(__FILE__) |