[Xml-compile] Tracing XML::Compile

Renée Bäcker mailinglisten at renee-baecker.de
Wed Jul 13 07:50:56 GMT 2011


Hi *,

I'm relatively new to XML::Compile. I want to get a trace output to
debug an error.

With this code I get an error ("error: cannot find element or attribute
`{http://mojo.renee-baecker.de/}findCustomersByName'"):

#!/usr/bin/perl

use strict;
use warnings;

use XML::Compile::SOAP11;
use XML::Compile::WSDL11;
use XML::Compile::Transport::SOAPHTTP;

use LWP::Simple;

my $url    =
'http://mojo.renee-baecker.de/CustomerServiceEndpoint-test.wsdl';
my $content = get( $url );
my $wsdl    = XML::Compile::WSDL11->new($content);

# compile once
my $call = $wsdl->compileClient('findCustomersByName');

- Renée

-- 
Perl-Magazin: http://perl-magazin.de
Perl-Nachrichten: http://perl-nachrichten.de




More information about the Xml-compile mailing list