/usr/share/doc/libsoap-lite-perl/examples/weblog.pl is in libsoap-lite-perl 1.11-1.
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 17 | #!/usr/bin/perl -w
#!d:\perl\bin\perl.exe
# -- SOAP::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
# example for Weblogs SOAP interface (http://www.soapware.org/weblogsCom)
use SOAP::Lite;
my $weblogs = SOAP::Lite
-> proxy("http://rpc.weblogs.com/weblogUpdates")
-> on_action(sub{'"/weblogUpdates"'});
print $weblogs->ping(
SOAP::Data->name(weblogname=>'Scripting News'),
SOAP::Data->name(weblogurl=>'http://www.scripting.com/'),
)->result->{message};
|