SOAP::Lite question
David Dick
david_dick at iprimus.com.au
Sun Oct 20 00:32:56 CDT 2002
alrightly then. Just fooling around with SOAP::Lite. I want my soap
client to look like this.....
#! /usr/bin/perl
use SOAP::Lite +autodispatch =>
proxy => 'http://localhost/soap';
my ($document) = Document->retrieve({ 'document_id' => 1 });
if ($document->save()) {
$document->commit();
} else {
$document->rollback();
}
at first glance this seems to be a pipe dream, cos server state should
be lost inbetween the save() and commit() methods. Is a better solution
to give my server object a new method of save_and_commit(), or can i use
a different transport, or what? Any ideas would be appreciated....
More information about the Melbourne-pm
mailing list