| Server IP : 74.208.236.79 / Your IP : 216.73.217.104 Web Server : Apache System : Linux infongp-us50 4.4.400-icpu-108 #2 SMP Wed Feb 11 10:12:42 UTC 2026 x86_64 User : u93192080 ( 6162215) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/usr/share/doc/libsoap-lite-perl/examples/ |
Upload File : |
#!/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');