[freeside-commits] freeside/fs_selfservice/FS-SelfService/cgi xmlrpc.cgi, NONE, 1.1
Jeff Finucane,420,,
jeff at wavetail.420.am
Mon Aug 6 01:46:09 PDT 2007
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService Makefile.PL, 1.5, 1.6 MANIFEST, 1.2, 1.3 freeside-selfservice-xmlrpc-server, NONE, 1.1
- Next message: [freeside-commits] freeside/fs_selfservice/FS-SelfService Makefile.PL, 1.5, 1.5.2.1 MANIFEST, 1.2, 1.2.10.1 freeside-selfservice-xmlrpc-server, NONE, 1.1.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/fs_selfservice/FS-SelfService/cgi
In directory wavetail:/tmp/cvs-serv12502/cgi
Added Files:
xmlrpc.cgi
Log Message:
add selfservice xmlrpc facilities (#591)
--- NEW FILE: xmlrpc.cgi ---
#!/usr/bin/perl -Tw
use strict;
use XMLRPC::Transport::HTTP;
use XMLRPC::Lite; # for XMLRPC::Serializer
use FS::SelfService::XMLRPC;
my %typelookup = (
base64 => [10, sub {$_[0] =~ /[^\x09\x0a\x0d\x20-\x7f]/}, 'as_base64'],
dateTime => [35, sub {$_[0] =~ /^\d{8}T\d\d:\d\d:\d\d$/}, 'as_dateTime'],
string => [40, sub {1}, 'as_string'],
);
my $serializer = new XMLRPC::Serializer(typelookup => \%typelookup);
XMLRPC::Transport::HTTP::CGI->dispatch_to('FS::SelfService::XMLRPC')
->serializer($serializer)
->handle;
- Previous message: [freeside-commits] freeside/fs_selfservice/FS-SelfService Makefile.PL, 1.5, 1.6 MANIFEST, 1.2, 1.3 freeside-selfservice-xmlrpc-server, NONE, 1.1
- Next message: [freeside-commits] freeside/fs_selfservice/FS-SelfService Makefile.PL, 1.5, 1.5.2.1 MANIFEST, 1.2, 1.2.10.1 freeside-selfservice-xmlrpc-server, NONE, 1.1.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list