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

Re^5: SOAP::Lite server - changing method name in response

by Anonymous Monk
on Aug 24, 2011 at 16:06 UTC ( #922143=note: print w/replies, xml ) Need Help??

in reply to Re^4: SOAP::Lite server - changing method name in response
in thread SOAP::Lite server - changing method name in response

#~ ->serializer( MySerializer->new ) # WORKS

Replies are listed 'Best First'.
Re^6: SOAP::Lite server - changing method name in response
by DreamT (Pilgrim) on Aug 24, 2011 at 16:18 UTC
      Another question: When dispatching to a perl sub, it seems like the perl sub needs to return it's values wrapped in SOAP obejcts (i.e.
      return (SOAP::Data->name(version=>$IN_artnr)->type('string'));
      ) to format it as XML. Is there a way around this, i.e. can the SOAP server itself "fix" this in the response? The purpose is to keep my subroutines "clean", so that their return values work both with SOAP and "ordinary" function calls.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://922143]
[marioroy]: CORE::wait can block if another process reaps a worker from another class. MCE::Hobo takes care of that and transparently.
[Discipulus]: thanks choroba i'll update my answer
[Lady_Aleena]: Hello Discipulus, Corion, choroba, and marioroy...
[Corion]: Hi Lady_Aleena!
[Lady_Aleena]: marioroy, are you also writing a Meditation for this?
choroba o/
Discipulus adds tozzetti alle mandorle to the platter on the sideboard.
Lady_Aleena was checking #cbstream and saw the big announcement.
[marioroy]: Tie::IxHash can be shared. Also similar modules. I cannot wait to post a solution sharing Tie::File and iterating among workers.
[marioroy]: Lady_Aleena Yes, will post something with all the new features. Parallel with few lines of code.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (10)
As of 2017-05-26 08:50 GMT
Find Nodes?
    Voting Booth?