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

Re: Soap message turns to hash reference

by igelkott (Priest)
on Apr 06, 2013 at 23:27 UTC ( #1027311=note: print w/replies, xml ) Need Help??

in reply to Soap message turns to hash reference


Looks like you just need to dereference the hash but you would probably get more information from seeing exactly what you're returning. Easiest way to do that would be to use use Data::Dumper; at the top and then print Dumper($res); at the bottom.

Replies are listed 'Best First'.
Re^2: Soap message turns to hash reference
by lmocsi (Novice) on Apr 06, 2013 at 23:38 UTC
    I did this in to see, what arguments it gets (@_):
    $VAR1 = 'Apple'; $VAR2 = { 'mycontent' => { 'otherstuff' => '' } };
    Where has the content gone?

        Quite naturally ->result returns the result of the soap call (this was not much of a help).
        Meanwhile I came to realize that the problem must be around serialization at the server side. Any helpful thoughts on this? :)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027311]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2018-06-24 09:01 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.