[Xml-compile] $wsdl->operation fails with "Not a HASH reference..."

Reiber Christian Christian.Reiber at zeppelin.com
Fri Nov 15 22:00:10 GMT 2013


Hi all,

when running any WSDL in $wdsl->operation or $wsdl->compileClient I end up with "Not a HASH reference at /home/zarbr/SOAP/perl/lib/perl5/site_perl/5.10.0/XML/Compile/WSDL11.pm line 229".
$port at that point contains

$VAR1 = {
          'soap_address' => [
                            bless( do{\(my $o = 25711024)}, 'XML::LibXML::Element' )
                          ],
          'binding' => '{http://example.com/stockquote/service}StockQuoteSoapBinding',
          'name' => 'StockQuotePort'
        };

This uses the nice little WSDL and the accompanying code from the YAPC presentation at perl.overmeer.net but other examples fail as well. Modules are a fresh install and libxml2 is up-to-date. Just the installed Perl version is not the youngest (5.10.0)...

I found the post on gmane.org which describes the same issue but my "hooray" was premature... I nowhere found the "use ...::SOAP" vs. "use ...::SOAP11" in the code.

And as the guy from this post I also have a strong feeling that I have done something awefully wrong and expect things becoming embarrassing for me :-)

Thanks for reading and for any hint ... Christian
-----------------------------------------------------------------------------
Zeppelin Baumaschinen GmbH

Handelsregister - Commercial register: AG München HRB 107767
Sitz - Registered Domicile: D-85748 Garching b. München

Vorsitzender des Aufsichtsrats - Chairman of the Supervisory Board: Peter Gerstmann
Geschäftsführer - General Manager: Michael Heidemann(Vorsitzender - Chairman), Fred Cordes, Arne Severin, Thomas Weber
-----------------------------------------------------------------------------


More information about the Xml-compile mailing list