in reply to Re: SOAP::Lite and WSDL
in thread SOAP::Lite and WSDL

Ok, still having some issues, for example:
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 = LWP::UserAgent->new(); my $wsdl_data = $browser->get("https://10.220.226.30/services/fwif?wsd +l"); my $schema_data = $browser->get("https://10.220.226.30/services/ninjap +robe.xsd"); my $wsdl = XML::Compile::WSDL11->new($wsdl_data->content); $wsdl->importDefinitions($schema_data->content); my $call = $wsdl->compileCalls;
returns, a bunch of errors:
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. Use of uninitialized value in subroutine entry at /Library/Perl/5.12/X +ML/Compile/Translate/Template.pm line 241.
thnaks for responding!

Replies are listed 'Best First'.
Re^3: SOAP::Lite and WSDL
by runrig (Abbot) on Aug 23, 2012 at 19:33 UTC
    I haven't had any such problems (yet), so I can't help. Maybe a problem with the wsdl or xsd? XML::Compile has a mailing list and IRC channel, so you might ask for help there, though I would try and debug a bit first, trying to get a simple test case and compile only the functions you need (or a single function for testing).