Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

soap:wsdl assistance

Status
Not open for further replies.

gcw2001

Programmer
Apr 8, 2010
5
0
0
US
Hi,
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!
 
Thanks Annihilannic! I'll give that a try....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top