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

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

by DreamT (Monk)
on Aug 25, 2011 at 10:40 UTC ( #922310=note: print w/ replies, xml ) Need Help??


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

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.


Comment on Re^7: SOAP::Lite server - changing method name in response
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2013-05-23 03:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (473 votes), past polls