Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: SOAP - Returning response from Server to Client request based on the

by rob_au (Abbot)
on Apr 04, 2005 at 21:15 UTC ( #444808=note: print w/replies, xml ) Need Help??


in reply to SOAP - Returning response from Server to Client request based on the <Action>

I've only spent a few minutes looking through your code but you do not appear to be actually returning any value from the byName subroutine in your server Delivery package. If you return a value from this subroutine, it will be serialised and dispatched back in the response. For example:
sub byName { #Get the headers passed from the client my ($self, $in) = @_; my @input = %{$in}; return "Hello World!"; }
This code (untested of course) should return the string Hello World! in the SOAP server response. Additional complexity with respect to the SOAP server response components can be achieved using SOAP::Data in the same way as it has been used in the SOAP client.

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001000000000'"

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://444808]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-12-03 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (60 votes). Check out past polls.