NAME
Frontier::Client - issue Frontier XML RPC requests to a server
SYNOPSIS
use Frontier::Client;
$server = Frontier::Client->new(url => $url);
$result = $server->call($method, @args);
$boolean = $server->boolean($value);
$date_time = $server->date_time($value);
$base64 = $server->base64($value);
$value = $boolean->value;
$value = $date_time->value;
$value = $base64->value;
DESCRIPTION
Frontier::Client objects record the URL of the server to connect to. The `call
' method is then used to forward procedure calls to the server, either returning the value returned by the procedure or failing with exception.
The methods `boolean
', `date_time
', and `base64
' create and return XML-RPC-specific datatypes that can be passed to the server. Results from servers may also contain these datatypes. The corresponding package names (for use with `ref()
', for example) are `Frontier::RPC2::Boolean
', `Frontier::RPC2::DateTime::ISO8601
', and `Frontier::RPC2::Base64
'.
The value of boolean, date/time, and base64 data are returned using the `value
' method.
SEE ALSO
perl(1), Frontier::RPC2(3)
<http://www.scripting.com/frontier5/xml/code/rpc.html>
AUTHOR
Ken MacLeod <ken@bitsko.slc.ut.us>