Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Troubles accessing data using SOAP::Lite and WSDL service

by Anonymous Monk
on Jan 19, 2012 at 11:33 UTC ( [id://948761]=note: print w/replies, xml ) Need Help??


in reply to Troubles accessing data using SOAP::Lite and WSDL service

Any idea of I am doing wrong?

I guess not enough (UTSL and RTM)-ing :) safe-bet when dealing with SOAP, which I hate :)

See http://guide.soaplite.com/, Re: SOAP::Lite fault seems faulty, Re: Suppressing nil attribute in empty SOAP tag, SOAP::SOM

Since you're using service, when you call you don't get back a SOAP::SOM object on which you can call ->result, you get back the return value of ->result , for which you can use References quick reference to navigate (or Data::Diver).

Using service is like using stubmaker

$ ls $ stubmaker "http://hal.archives-ouvertes.fr/ws/ref.php?wsdl" $ ls Hal_WebServices_ReferentielsService.pm $ perl -MHal_WebServices_ReferentielsService=:all -le " print for @{ +getRefInstance()->{string} }[1..3] " afssa archivesic artxiker

See also Re^11: Soap::Lite and Complex Types with WSDL

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://948761]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-19 19:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found