Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by Anonymous Monk
on Aug 24, 2011 at 16:06 UTC ( [id://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
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://922143]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-19 10:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found