[Xml-compile] error parsing WSDL (smaller send)

gstewart gstewart at gmail.com
Thu Aug 23 17:49:48 GMT 2012


Any guidance very much appreciated (other than; turn off the machine and
send back to manufacturer).

I'm making pathetic attempts to leverage a SOAP/WSDL interface to a 3rd
party system using Perl and XML::Compile.

Here's my initial attempt (clearly ripped from the examples).

<code>
use XML::Compile::WSDL11;      # use WSDL version 1.1
use XML::Compile::SOAP11;      # use SOAP version 1.1
use XML::Compile::Transport::SOAPHTTP;
use LWP::UserAgent;

my $browser =3D LWP::UserAgent->new();
my $wsdl_data =3D $browser->get("https://1.2.3.4/services/fwif?wsdl");
my $schema_data =3D $browser->get("https://1.2.3.4/services/ninjaprobe.xsd"=
);

my $wsdl =3D XML::Compile::WSDL11->new($wsdl_data->content);
$wsdl->importDefinitions($schema_data->content);

my $call =3D $wsdl->compileCalls;
</code>

This returns errors

<code>
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
Use of uninitialized value in join or string at
/Library/Perl/5.12/XML/Compile/Translate/Writer.pm line 514.
</code>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/xml-compile/attachments/20120823/54=
455a77/attachment.htm


More information about the Xml-compile mailing list