isutommyt has asked for the wisdom of the Perl Monks concerning the following question:

I'm attempting this:

/perl5.10.1_64/bin/wsdl2perl.pl -b SOS "http://webservice.hobolink.com:8080/axis2/services/SensorObservationService?wsdl"

and am getting this:

cannot import document for namespace >http://geom.jts.vividsolutions.c +om/xsd< without location at /perl5.10.1_64/lib/site_perl/5.10.1/SOAP/ +WSDL/Expat/WSDLParser.pm line 90. cannot import document for namespace >http://beans.webservices.aurora. +onset.com/xsd< without location at /perl5.10.1_64/lib/site_perl/5.10. +1/SOAP/WSDL/Expat/WSDLParser.pm line 90. found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsd +l}Action (ignored) at /perl5.10.1_64/lib/site_perl/5.10.1/SOAP/WSDL/B +ase.pm line 130. found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsd +l}Action (ignored) at /perl5.10.1_64/lib/site_perl/5.10.1/SOAP/WSDL/B +ase.pm line 130. found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsd +l}Action (ignored) at /perl5.10.1_64/lib/site_perl/5.10.1/SOAP/WSDL/B +ase.pm line 130. found unrecognised attribute {http://www.w3.org/2006/05/addressing/wsd +l}Action (ignored) at /perl5.10.1_64/lib/site_perl/5.10.1/SOAP/WSDL/B +ase.pm line 130. Creating complexType class MyTypes/SosGetObservationRequestFull.pm Deep recursion on subroutine "Template::Context::process" at /perl5.10 +.1_64/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Template/Context +.pm line 409. Deep recursion on subroutine "Template::Document::process" at /perl5.1 +0.1_64/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Template/Contex +t.pm line 351. Deep recursion on subroutine "Template::Context::process" at /perl5.10 +.1_64/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Template/Context +.pm line 409. Deep recursion on subroutine "Template::Document::process" at /perl5.1 +0.1_64/lib/site_perl/5.10.1/x86_64-linux-thread-multi/Template/Contex +t.pm line 351. Deep recursion on subroutine "Template::Context::include" at /perl5.10 +.1_64/lib/site_perl/5.10.1/SOAP/WSDL/Generator/Template/XSD/element/P +OD/structure.tt line 5. Deep recursion on anonymous subroutine at /perl5.10.1_64/lib/site_perl +/5.10.1/x86_64-linux-thread-multi/Template/Document.pm line 151. Deep recursion on anonymous subroutine at /perl5.10.1_64/lib/site_perl +/5.10.1/x86_64-linux-thread-multi/Template/Document.pm line 151. Deep recursion on anonymous subroutine at /perl5.10.1_64/lib/site_perl +/5.10.1/x86_64-linux-thread-multi/Template/Document.pm line 151. Deep recursion on anonymous subroutine at /perl5.10.1_64/lib/site_perl +/5.10.1/x86_64-linux-thread-multi/Template/Document.pm line 151.

Do you guys get the same deep recursion issues? Any tips on how to get this to work? Thanks!

Replies are listed 'Best First'.
Re: wsdl2perl deep recursion
by Anonymous Monk on Aug 24, 2010 at 14:08 UTC

      Thanks, that seems to have worked after a little tweak

      perl5.10.1_64/bin/wsdl2perl.pl Can't modify constant item in scalar assignment at /perl5.10.1_64/bin/ +wsdl2perl.pl line 30, near "1," BEGIN not safe after errors--compilation aborted at /perl5.10.1_64/bin +/wsdl2perl.pl line 34.

      Changed line 30 from "xmltypes = 1," to "xmltypes => 1,"