Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/branches/1_5/sample/basic/whois.rb

Revision 1843, 373 bytes (checked in by nahi, 1 year ago)
  • reorganize sampless
  • Property svn:eol-style set to native
  • Property svn:keywords set to author date id revision
Line 
1 #!/usr/bin/env ruby
2
3 key = ARGV.shift
4
5 require 'soap/rpc/driver'
6
7 server = 'http://www.SoapClient.com/xml/SQLDataSoap.WSDL'
8 interface = 'http://www.SoapClient.com/xml/SQLDataSoap.xsd'
9
10 whois = SOAP::RPC::Driver.new(server, interface)
11 whois.wiredump_dev = STDERR
12 whois.add_method('ProcessSRL', 'SRLFile', 'RequestName', 'key')
13
14 p whois.ProcessSRL('WHOIS.SRI', 'whois', key)
Note: See TracBrowser for help on using the browser.