From 6133b96d61c705c7aefdf6f577f0da5796bc522d Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Sat, 3 Jul 2004 15:38:36 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'ruby_1_8'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/soap/ssl/sslclient.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sample/soap/ssl/sslclient.rb (limited to 'sample/soap/ssl/sslclient.rb') diff --git a/sample/soap/ssl/sslclient.rb b/sample/soap/ssl/sslclient.rb new file mode 100644 index 000000000..a055247a4 --- /dev/null +++ b/sample/soap/ssl/sslclient.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.properties') + +# SOAP over SSL +p client.hello_world(__FILE__) -- cgit