/usr/share/doc/php-horde-rpc/examples/soap.pl is in php-horde-rpc 2.1.6-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/usr/bin/perl -w
die("Please configure the URL, username, and password, and then remove this line.\n");
use SOAP::Lite;
use Data::Dumper;
my $proxy = 'http://username:password@example.com/horde/rpc.php';
my $slite = SOAP::Lite
-> proxy($proxy)
-> call('calendar.listCalendars');
my $status = $slite->result;
print Data::Dumper->Dump($status);
|