/[notice-sender]/trunk/soap.cgi
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/soap.cgi

Parent Directory Parent Directory | Revision Log Revision Log


Revision 39 - (hide annotations)
Tue May 17 22:23:40 2005 UTC (18 years, 10 months ago) by dpavlin
File size: 449 byte(s)
moved Nos::SOAP package to Nos.pm, added SOAP tests

1 dpavlin 25 #!/usr/bin/perl -w
2    
3 dpavlin 27 =head1 NAME
4    
5     soap.cgi - CGI SOAP interface to notice sender
6    
7 dpavlin 39 =head1 DESCRIPTION
8    
9     Provide example SOAP service using CGI script.
10    
11     Available methods are in C<Nos::SOAP> package, see L<Nos>.
12    
13 dpavlin 27 =cut
14    
15 dpavlin 25 use strict;
16 dpavlin 27 use Nos;
17 dpavlin 25
18 dpavlin 39 my $nos = new Nos::SOAP(
19 dpavlin 27 dsn => 'dbi:Pg:dbname=notices',
20     user => 'dpavlin',
21     passwd => '',
22     );
23 dpavlin 25
24 dpavlin 27 use SOAP::Transport::HTTP +trace => 'debug';
25     SOAP::Transport::HTTP::CGI
26     ->dispatch_to('Nos::SOAP')
27     ->handle;
28    
29 dpavlin 38 1;

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26