Hi Christian,

You found the correct answer.  I recently had the same issue.  See the link
below for how to properly include the XML::Compile:: modules to get your
code working.

-- Chase

https://gist.github.com/genio/6597241

On Friday, November 15, 2013, Reiber Christian wrote:

> 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
>
> -----------------------------------------------------------------------------
>
_______________________________________________
Xml-compile mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile

Reply via email to