SOAP::WSDL error accessing remote site.

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I am new to SOAP:WSDL.  This remote site will return some DNA information.
It should be relatively straightforward - send an accession number and the
DNA information is returned.
I get an error message (see below).  The code follows.

Any ideas?


use strict;
use warnings;
use SOAP::Lite +trace => 'debug';
use Data::Dumper;
print "Content-type: text/html\n\n";

# -----------------------------------------

my $URL=" ";
my $operation="getXML_DDBJEntry";
my $access="AB00050";
my $no_dispatch=0; # must be zero

my $soap=SOAP::WSDL->new (wsdl=>$URL,no_dispatch=>$no_dispatch);
$soap->on_action (sub{sprintf '%s/%s',@_});

my %args=(accession=>$access); # must be hash
my $som=$soap->call($operation,%args);

if ($som->fault) {
 print "faultcode - " . $som->faultcode . "<br/>";
 print "faultstring - " . $som->faultstring . "<br/>";
 print "faultdetail - " . $som->faultdetail . "<br/>";
 print Dumper($som->faultdetail);
else {
 my @all=$som->paramsout();
 my $res=$som->result();    print Dumper($res);

Response is as follow:-

faultcode - soap:Server
faultstring - getXML_DDBJEntry20In
faultdetail - HASH(0x9f47860)

$VAR1 = { 'stacktrace' => 'java.lang.NoSuchMethodException:
getXML_DDBJEntry20In at electric.wsdl.Operations.getOperations(Unknown
Source) at electric.wsdl.Operations.getOperation(Unknown Source) at
electric.soap.SOAPHandler.getOperationWithArgs(Unknown Source) at
electric.soap.SOAPHandler.readRequest(Unknown Source) at
electric.soap.SOAPHandler.invokeOnService(Unknown Source) at
electric.soap.SOAPHandler.invoke(Unknown Source) at
electric.soap.http.SOAPHTTPHandler.service(Unknown Source) at
electric.server.http.ServletServer.service(Unknown Source) at
javax.servlet.http.HttpServlet.service( at

Site Timeline