/usr/share/doc/libsoap-lite-perl/examples/fullsearch.pl is in libsoap-lite-perl 1.09-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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | #!/usr/bin/perl -w
#!d:\perl\bin\perl.exe
# -- UDDI::Lite -- soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
use UDDI::Lite
import => 'UDDI::Data',
import => 'UDDI::Lite',
proxy => 'http://www-3.ibm.com/services/uddi/inquiryapi'
;
$\="\n"; $,=", "; # specify separators for print()
my($serviceInfo) = grep { $_->name =~ /stock quote/i } find_business(name('XMethods'))
-> businessInfos
-> businessInfo
-> serviceInfos
-> serviceInfo
;
print $serviceInfo->name, $serviceInfo->serviceKey;
my $bindingTemplate = get_serviceDetail($serviceInfo->serviceKey)
-> businessService
-> bindingTemplates
-> bindingTemplate
;
my $accessPoint = $bindingTemplate->accessPoint->value;
my $tModelKey = $bindingTemplate
-> tModelInstanceDetails
-> tModelInstanceInfo
-> tModelKey
;
print $accessPoint, $tModelKey;
my $wsdl = get_tModelDetail($tModelKey)
-> tModel
-> overviewDoc
-> overviewURL
-> value
;
print $wsdl;
print SOAP::Lite->service($wsdl)->proxy($accessPoint)->getQuote('MSFT');
|