http://www.perlmonks.org?node_id=922143


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
    Thanks...:-)
      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.