5

How to call perl web service from javascript?

view full story
linux-howto

http://www.unix.com – Hi, I would like to call the below perl web service from javascript .Any help would be appreciated.I am new to web services.Please do the needful. Server Program(Perl Web Service) Code: #!/usr/bin/perl use lib '/usr/lib/perl5/5.8.8/SOAP-Lite-0.65_3/lib'; use SOAP::Transport::HTTP; use Demo;   SOAP::Transport::HTTP::CGI     -> dispatch_to('Demo')     -> handle; Demo.pm program Code: #!/usr/bin/perl package Demo;   sub hi {     return "hello, world";   }   sub bye {     return "goodbye, cruel worl (HowTos)