Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Can any one suggest a tutorial or example to implement web servicing with XML request and response...i succeed with the basic function calling in that... im struggling with XML implementation..

Replies are listed 'Best First'.
Re: Hello word in Webservice
by Sinistral (Monsignor) on Dec 24, 2010 at 17:12 UTC
    Web services can rapidly become quite complicated. However, Perl has a great implementation in SOAP::Lite. If you consult the documentation for the module, you'll find that there's many how-tos that will get you started with simple server and client implementations. As a general information site, W3Schools has a good bit of information. They also have good information on XML in general to help the SOAP information make more sense. When you get to Perl, there are several mods to choose from: XML::Simple XML::Twig XML::LibXML
Re: Hello word in Webservice
by trwww (Priest) on Dec 24, 2010 at 18:42 UTC
Re: Hello word in Webservice
by Khen1950fx (Canon) on Dec 25, 2010 at 01:01 UTC
    In regards to your node title, I had some fun parsing "Hello" using XML::Parser::LiteCopy. Like this:
    #!/usr/bin/perl use strict; use warnings; use XML::Parser::LiteCopy; my $p1 = XML::Parser::LiteCopy->new(); $p1->setHandlers( Char => sub { shift; print "@_\n" }, ); $p1->parse('<foo id="me">Hello</foo>');
    There's an example of how to implement a "Hello, World!" web service here.