Making remote procedure calls

From: Markus Kemp (markus.kemp_at_erlf.siemens.de)
Date: 05/17/04


Date: 17 May 2004 05:26:16 -0700

Hi all,

I'm trying to make a remote procedure call in Perl. The first problem
I've run into is which module to use. So I went googling and found a
whole bunch of modules that support RPC's, but many seem very alpha
and I'd like to know if there's some generally preferred module that
is more matured than most others or if it's just a matter of personal
preference (and maybe trial and error?).
Secondly, I'm confused over what is needed to imlement an RPC-client
(i.e. the host making the remote procedure call). I was initially
assuming (and hoping) that I could just make the call without having
to worry about how the server side is implemented. Like if I want to
make an RPC to a method on a say Windows XP machine, I'd just let
rpcss (Window's RPC service) handle the server stuff. But having read
those modules' README's I'm not so sure anymore if that's the case.
One of the README's seemed to imply that I have to set up the RPC
server myself:

>>> To call an RPC server, use Frontier::Client [...]
To create an XML-RPC server, use Frontier::Daemon. <<<

It's the last line that has confused me. __Create__ an RPC server?? I
thought the RPC server was already there on every friggin net-capable
Windows machine??
Anyway, so does that mean that Perl's RPC has really nothing to do
with the Windows RPC service? Or does 'creating' the RPC server really
mean registering the methods I wanna call from a remote machine (I
suppose the RPC daemon needs to be informed about those methods
somewhow, right?)?

Right, I realize this is not a proper question but if anyone could
shed some light on this for me I'd greatly appreciate that. =\ I don't
want the code. If you could just outline the general concept to me
that would be really cool.

Regards,

Markus



Relevant Pages

  • Re: NTFRS
    ... The server holding the PDC role is down. ... Default-First-Site-Name\WIN2003 via RPC ... I have no Sysvol on the Windows 2003 server. ...
    (microsoft.public.win2000.active_directory)
  • Re: NTFRS
    ... The server holding the PDC role is down. ... Default-First-Site-Name\WIN2003 via RPC ... I have no Sysvol on the Windows 2003 server. ...
    (microsoft.public.win2000.active_directory)
  • RE: Outlook trying to connect.......
    ... Also installed Security Update for Windows XP on the client. ... would like to explain Windows Server 2003 Service Pack 1 added a new RPC ... Server 2003 Service Pack 1-based server. ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • [NT] Malformed RPC Request Can Cause Service Failure (Exchange, SQL, Windows)
    ... Malformed RPC Request Can Cause Service Failure (Exchange, SQL, Windows) ... Several of the RPC servers associated with system services in Microsoft ... Exchange, SQL Server, Windows NT 4.0 and Windows 2000 do not adequately ...
    (Securiteam)
  • Re: System shutdown message/system reboots
    ... Windows must now restart because the Remote Procedure Call (RPC) service terminated unexpectedly." ...
    (microsoft.public.windowsxp.general)