Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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


Comment on Re: Troubles accessing data using SOAP::Lite and WSDL service
Download Code

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 wandering the Monastery: (9)
As of 2014-11-20 21:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (102 votes), past polls