Download presentation
Presentation is loading. Please wait.
Published byΚαλλιστώ Μοσχοβάκης Modified over 6 years ago
1
Implementation of Web Services in Perl by Litis Abraham & Gomathy Sankara CS522 Fall 2001 Semester Project 11/28/2018 Web Services in Perl
2
Web Services Bind applications together over the Internet Utilize
Internet infrastructure XML Common standards by infrastructure provider Rely upon SOAP – Simple Object Access Protocol WSDL – Web Services Description Language UDDI – Universal Discovery, Description and Integration 11/28/2018 Web Services in Perl
3
source - http://www.webservices.org/
11/28/2018 Web Services in Perl
4
SOAP Server package World; sub new { bless {}, shift; }; sub HelloWorld { my ($self) return "Hello World\n"; }; 1; use SOAP::Transport::HTTP; use World; SOAP::Transport:: -> dispatch_to('World') -> handle; SOAP Client use SOAP::Lite; my $s = SOAP::Lite ->uri('World') ->proxy(' mycompany.com/soap/soapserver.cgi') ->HelloWorld(); print $s->result(); 11/28/2018 Web Services in Perl
5
SOAP Request XML Document that consists of an envelope, header & body
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENC=" SOAP-ENV:encodingStyle=" xmlns:xsi=" xmlns:SOAP-ENV=" xmlns:xsd=" <SOAP-ENV:Body> <namesp1:HelloWorld xmlns:namesp1="World"/> </SOAP-ENV:Body> </SOAP-ENV:Envelope> 11/28/2018 Web Services in Perl
6
Conclusion Web Services Perl
Foundation for a paradigm shift in the internet Integration of applications regardless of languages or platforms Perl Best suited for building internet applications Ideal for text extraction using regular expressions 11/28/2018 Web Services in Perl
7
References 11/28/2018 Web Services in Perl
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.