By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,708 Members | 2,080 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,708 IT Pros & Developers. It's quick & easy.

soap::wsdl assistance

P: 4
Hi,
I am new to using the Soap::WSDL module. How would I go about getting rid of this parsing error?

Expand|Select|Wrap|Line Numbers
  1.  
  2. #!/usr/bin/perl
  3.  
  4. use strict;
  5. use SOAP::WSDL +trace => 'all';
  6. use Data::Dumper;
  7.  
  8. my $ops = 'http://ops.epo.org/wsdl/ops.wsdl';
  9.  
  10. eval {
  11. my $soap=SOAP::WSDL->new(
  12.    wsdl => $ops,
  13.    );
  14. };
  15.  
  16. if ($@)
  17. { print "wsdl error: $@\n"; }
  18.  
  19.  

Ouptut:

wsdl 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 for any replies!
Apr 12 '10 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.