Subject: | XML-Compile-SOAP version 3.00 bug |
Date: | Mon, 6 Jan 2014 11:53:21 -0500 |
To: | bug-XML-Compile-SOAP [...] rt.cpan.org |
From: | Raffaello Galli <rgalli [...] ultra.me> |
Perl version is v5.10.1 (*) built for x86_64-linux-thread-multi
Linux web-01 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6 03:10:46 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
CentOS release 6.5 (Final)
We obtain the following error:
*Can't locate object method "registered" via package
"XML::Compile::SOAP::Operation" at
/usr/local/share/perl5/XML/Compile/SOAP/Daemon.pm line 54.*
while executing the following code:
use Data::Dumper;
use XML::Compile::SOAP::Daemon::AnyDaemon;
use XML::Compile::SOAP11;
use XML::Compile::WSDL11;
use IO::Socket::SSL 'SSL_VERIFY_NONE';
use IO::Socket 'SOMAXCONN';
use File::Basename;
use JSON::XS;
use FindBin;
my $wsdl = XML::Compile::WSDL11->new( $wsdl_file_name );
# map callback operation
$daemon->operationsFromWSDL($wsdl,
default_callback =>
sub
{
my ($server, $in, $request) = @_;
return callback($server, $in, $request);
});
Thanks in advance
Raffaello Galli