Setting up the connection to PathVisioRPC depends on the programming language you are using and module or package that is providing the XML-RPC functions. Below you’ll find a few examples.

R code:

server = "http://localhost:7777"

The xmlrpc library is not part of the standard R distribution it needs to be downloaded and installed.

Python code:

import xmlrpclib
server = xmlrpclib.ServerProxy("http://localhost:7777")

Perl code:

use Frontier::Client;
my $url = "http://localhost:7777/PathVisio";
my $client = Frontier::Client->new(url => $url, debug => 0);