Hi,
I am new to using the Soap::WSDL module. How would I go about getting rid of this parsing error?
Ouptut:
wsdl error: cannot import document from namespace > without base uri. Use >parse_uri< or >set_uri< to set one. at /usr/perl5/site_perl/5.8.4/SOAP/WSDL/Expat/WSDLParser.pm line 96.
at line 10 at /usr/perl5/site_perl/5.8.4/SOAP/WSDL/Expat/Base.pm line 82
Thanks a bunch for any replies!
I am new to using the Soap::WSDL module. How would I go about getting rid of this parsing error?
Code:
#!/usr/bin/perl
use strict;
use SOAP::WSDL +trace => 'all';
use Data::Dumper;
my $ops = '[URL unfurl="true"]http://ops.epo.org/wsdl/ops.wsdl';[/URL]
eval {
my $soap=SOAP::WSDL->new(
wsdl => $ops,
);
};
if ($@)
{ print "wsdl error: $@\n"; }
Ouptut:
wsdl error: cannot import document from namespace > without base uri. Use >parse_uri< or >set_uri< to set one. at /usr/perl5/site_perl/5.8.4/SOAP/WSDL/Expat/WSDLParser.pm line 96.
at line 10 at /usr/perl5/site_perl/5.8.4/SOAP/WSDL/Expat/Base.pm line 82
Thanks a bunch for any replies!