summaryrefslogtreecommitdiff
path: root/utilities/diatheke/soap/soapatheke.pl
blob: e3f88ed78c5f02e26f0809772f7e364e0ee5f039 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl

## This is a test app and has no other purpose.

use SOAP::Lite;

my ($books, $key, $options, $encoding, $markup, $searchtype, $locale, $script, $max) = @ARGV;

# uncomment to see parameters being passed to the SOAP server (for debugging)
# print "$books\n$key\n$options\n$encoding\n$markup\n$searchtype\n$locale\n$script\n$max\n";

print SOAP::Lite
    -> uri('http://bible.gotjesus.org/sapouni')
    -> proxy('http://bible.gotjesus.org/cgi-bin/sapouni.cgi')
    -> biblequery($books, $key, $options, $encoding, $markup, $searchtype, $locale, $script, $max)
    -> result;