I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2010-01-18 01:18:07.025267-08 by mythsgreeks in response to 12199
Re: Perl client for soap web service rpc
HI ALL!!! I'm new with Soap-Lite and Perl in general, a newbie!! I want to write a perl client for calling this web service : http://bioinformatics.istge.it:8080/axis/services/cabri.getBacteriaById?wsdl its a Soap web service RPC/encoded. Please could some of you tell me how to write such a script?!!? normally it works with an input with 2 arguments : libs and id (for example : libs = DSMZ_BACT , id = DSM_SP_9849). Thank you very much regards I tried in this way but it seems not to work!
#!perl -w # Enable Perl warnings use strict; use warnings; # SOAP::Lite module use SOAP::Lite; my %params = ( "libs" => "DSMZ_BACT" , "id" => "DSM_SP_9849" ); #my %output = ( "output" => "" ); # WSDbfetch WSDL URL my $WSDL = 'http://bioinformatics.istge.it:8080/axis/services/cabri.getBacteriaById?wsdl'; # Create the service interface my $soap = new SOAP::Lite->service($WSDL); my %output = $soap->runAndWaitFor(%params); #my $result = $output->valueof('//output'); #print $result ; #print $output->{'output'}; print %output;
Direct Responses: Write a response