|
Revision 1843, 373 bytes
(checked in by nahi, 1 year ago)
|
|
- 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) |
|---|