Subject: | Possible perl compatibility bug |
Date: | Tue, 29 Apr 2008 16:21:34 +1000 |
To: | <bug-XML-Compile-SOAP [...] rt.cpan.org> |
From: | "Zubin Sethna" <zsethna [...] technisyst.com.au> |
Hi
I am getting the error shown below when I try to run the compileClient
method
trace: parsing XML from file ../siri_xsd/siri_wsProducer.wsdl
trace: using preparsed XML node
<{http://schemas.xmlsoap.org/wsdl/}definitions>
trace: importDefinitions for filestamp wsdl.xsd-1207691317-11308
trace: parsing XML from file
/usr/lib/perl5/site_perl/5.8.8/XML/Compile/WSDL11/xsd/wsdl.xsd
trace: schema compile READER for
{http://schemas.xmlsoap.org/wsdl/}definitions
trace: using preparsed XML node
<{http://schemas.xmlsoap.org/wsdl/}definitions>
trace: importDefinitions for filestamp siri.xsd-1209398396-21642
trace: parsing XML from file ../siri_xsd/siri.xsd
trace: importDefinitions for filestamp xml.xsd-1208911323-7490
trace: parsing XML from file ../siri_xsd/xml/xml.xsd
trace: importDefinitions for filestamp wsdl-soap.xsd-1207691317-5761
trace: parsing XML from file
/usr/lib/perl5/site_perl/5.8.8/XML/Compile/WSDL11/xsd/wsdl-soap.xsd
trace: importDefinitions for filestamp soap-envelope.xsd-1207691317-6062
trace: parsing XML from file
/usr/lib/perl5/site_perl/5.8.8/XML/Compile/SOAP11/xsd/soap-envelope.xsd
trace: importDefinitions for filestamp
soap-encoding.xsd-1207691317-18434
trace: parsing XML from file
/usr/lib/perl5/site_perl/5.8.8/XML/Compile/SOAP11/xsd/soap-encoding.xsd
trace: schema compile READER for
{http://schemas.xmlsoap.org/wsdl/soap/}binding
trace: using preparsed XML node
<{http://schemas.xmlsoap.org/wsdl/soap/}binding>
trace: schema compile READER for
{http://schemas.xmlsoap.org/wsdl/soap/}body
trace: using preparsed XML node
<{http://schemas.xmlsoap.org/wsdl/soap/}body>
trace: schema compile READER for
{http://schemas.xmlsoap.org/wsdl/soap/}body
trace: using preparsed XML node
<{http://schemas.xmlsoap.org/wsdl/soap/}body>
Pseudo-hashes are deprecated at
/usr/lib/perl5/site_perl/5.8.8/XML/Compile/WSDL11/Operation.pm line 432.
No such pseudo-hash field "{http://schemas.xmlsoap.org/wsdl/soap/}fault"
at /usr/lib/perl5/site_perl/5.8.8/XML/Compile/WSDL11/Operation.pm line
432.
The program that generates this is :
use strict;
use warnings;
use XML::Compile::WSDL11;
use XML::Compile::Transport::SOAPHTTP;
use Log::Report;
use Data::Dumper qw/Dumper/;
# setup debug log
dispatcher PERL=>'default', mode => 3;
my $wsdl = XML::Compile::WSDL11->new('../siri_xsd/siri_wsProducer.wsdl',
schema_dirs => '../siri_xsd/xml');
$wsdl->addSchemaDirs('../siri_xsd', '../siri_xsd/xml',
'../siri_xsd/ref');
$wsdl->schemas->importDefinitions('../siri_xsd/siri.xsd');
$wsdl->schemas->importDefinitions('../siri_xsd/xml/xml.xsd');
my $operation = $wsdl->operation('GetStopMonitoring');
my $get_stop = $operation->compileClient;
and the version of Perl that I am using is the one that comes with
CentOS 5.1 - version 5.8.8.
How to get around this error?
Thanks
Zubin
Message body is not shown because it is too large.