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 ( #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
Node Status?
node history
Node Type: note [id://948761]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-10-01 18:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (3 votes). Check out past polls.