No such thing as a small change | |
PerlMonks |
SOAP - Returning response from Server to Client request based on the <Action>by chanakya (Friar) |
on Apr 04, 2005 at 13:33 UTC ( [id://444669]=perlquestion: print w/replies, xml ) | Need Help?? |
chanakya has asked for the wisdom of the Perl Monks concerning the following question:
Greetings ! I've written a client and server using SOAP::Lite. After days of headaches I've finally managed to add headers and values. Currently I have a problem. The SOAP envelope generated from the client has a <Action> tag within a <MessengerHeader>, the <Action> contains the type of action, i.e "New Ticket", "Update Ticket", "Close Ticket". What I'm trying to do is, once the server program gets the SOAP envelope, it should check the value within <Action>...</Action> tags and based on the value call a subroutine. The calls to the subroutines will vary according the value within the <Action>tag.
Can anyone let me know how to proceed with this. Below is the SOAP envelope generated from the Client call
Below is the client code:
I'm also trying to access the values from the SOAP envelope on the server side,but failing miserably. The following is the server code The following is the output from the server:
Back to
Seekers of Perl Wisdom
|
|