Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Problem with SOAP server

by gwhite (Friar)
on Apr 10, 2007 at 12:50 UTC ( [id://609123]=perlquestion: print w/replies, xml ) Need Help??

gwhite has asked for the wisdom of the Perl Monks concerning the following question:

I have a SOAP server using the SOAP Lite module (SOAP::Transport::HTTP::Daemon), it generates several XML strings and returns a hash reference pointing to them. I am getting this error message in my log file with trace turned on:

SOAP::Serializer::envelope: Client Can't use string ("as_anyURI") as a + subroutine ref while "strict refs" in use at /usr/local/lib/perl5/si +te_perl/5.8.8/SOAP/Lite.pm line 1159.

I can dump the XML into my log file prior to return and it looks OK to me. I have no idea how to work around this issue as it is happening as the server is creating the "return envelope". Please let me know your suggestions.

g_White

Replies are listed 'Best First'.
Re: Problem with SOAP server
by Bro. Doug (Monk) on Apr 11, 2007 at 02:04 UTC
    g_White,

    I keep staring at your post and grepping through the SOAP packages. Can you post more on this problem? Maybe the server code you're using? And also the client?

    Sorry, I just can't see a solution based on what you've given.

    Until tomorrow...
    Bro. Doug :wq
Re: Problem with SOAP server
by grep (Monsignor) on Jan 23, 2008 at 14:17 UTC
    I know this is an old node, but I found the solution so I thought I'd post it.

    SOAP::Lite::as_anyURI() doesn't serialize correctly strings with 'http://', reported here. Though I'm not sure where version .70_2 of SOAP::Lite is available at, (I just reworked my data so I didn't send 'http://').

    grep
    One dead unjugged rabbit fish later...

      Great timing, I was just getting back into this project.

      g_White

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://609123]
Approved by Joost
Front-paged by grinder
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2026-04-14 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.