| | |
new to SOAP::Lite for Perl
Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Apr 2009
Posts: 2
Reputation:
Solved Threads: 0
I am having trouble running some test code using SOAP::Lite for perl.
The code (listed below) simply hits a prime number generator that is freely available that I found through xmethods.net.
It should be relatively simple test code, the only complication being the internal proxy server, but that seems to be passing through OK. (user, pass & server name removed)
I'm sure it is something simple, but I just don't see the issue.
The code (listed below) simply hits a prime number generator that is freely available that I found through xmethods.net.
It should be relatively simple test code, the only complication being the internal proxy server, but that seems to be passing through OK. (user, pass & server name removed)
I'm sure it is something simple, but I just don't see the issue.
RSS, Web Services and SOAP Syntax (Toggle Plain Text)
#!/usr/bin/perl -w use SOAP::Lite; $service = SOAP::Lite -> uri('tns:PrimeNumbersSoap') -> proxy('http://www50.brinkster.com/vbfacileinpt/np.asmx', proxy => ['http' => 'http://UNAME:PASSWD@PROXYSERVER:80']); $result = $service -> GetPrimeNumbers('100') -> result(); #print "Content-Type: text/html\n\n"; print "something\n"; $i = -1; while ( $result->[++$i] ) { print "anything: $result->[$i]\n"; } print "something else i:$i\n";
•
•
Join Date: Apr 2009
Posts: 2
Reputation:
Solved Threads: 0
I think it was this simple:
should be :
It should not have the trailing () characters. Sadly the target site is down today so I can't test.
RSS, Web Services and SOAP Syntax (Toggle Plain Text)
$result = $service -> GetPrimeNumbers('100') -> result();
should be :
RSS, Web Services and SOAP Syntax (Toggle Plain Text)
$result = $service -> GetPrimeNumbers('100') -> result;
It should not have the trailing () characters. Sadly the target site is down today so I can't test.
Last edited by peter_budo; Apr 24th, 2009 at 4:40 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Similar Threads
- Errors in debugging cgi script /Viewing (Perl)
- how to write perl script for "web services" using SOAP (Perl)
- Using REST in perl to access webservices (Perl)
- Soap <-> .net (Perl)
- how to use SOAP::Lite with VB.NET (VB.NET)
- problem in running perl script (Perl)
- how to open web page using perl (Perl)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: Bad XML
- Next Thread: RSS feed problem
| Thread Tools | Search this Thread |
.htaccess 301 accept access alltop api authentication binarysecuritytoken blog card collaboration credit data development ebay email evernote flash google government highrise htaccess intel internet legal live netbeans patent paypal php podcast proxy redirect rss rssfeeds searchmonkey server service soap software swappingxmlfromflash swappingxmlnodes url web webservices webservicesecurity wiki wikipedia xerces xml xslt y!os yahoo ydn





