CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
soap::wsdl help..

 



gcw
New User

Apr 12, 2010, 9:50 AM

Post #1 of 1 (455 views)
soap::wsdl help.. Can't Post

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 = 'http://ops.epo.org/wsdl/ops.wsdl';

eval {
my $soap=SOAP::WSDL->new(
wsdl => $ops,
);
};

if ($@)
{ print "wsdl error: $@\n"; }


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!


(This post was edited by gcw on Apr 12, 2010, 9:52 AM)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives