gcw has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am new to using the Soap::WSDL module. How would I go about getting rid of this parsing error?
#!/usr/bin/perl use strict; use SOAP::WSDL +trace => 'all'; use Data::Dumper; my $ops = 'http://ops.epo.org/wsdl/ops.wsdl'; eval { my $soap=SOAP::WSDL->new( wsdl => $ops, ); }; if ($@) { print "error: $@\n"; }
Output: error: cannot import document from namespace >http://ops.epo.org< 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!!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: soap::wsdl question
by PeterPeiGuo (Hermit) on Apr 13, 2010 at 01:03 UTC | |
by Anonymous Monk on Apr 13, 2010 at 02:10 UTC | |
by gcw (Novice) on Apr 13, 2010 at 14:37 UTC | |
by Lhamo Latso (Scribe) on Sep 16, 2010 at 23:35 UTC |