Loading ...
Sorry, an error occurred while loading the content.

Re: [jabber-rpc] Digest Number 47

Expand Messages
  • Carl Tanner
    If you try to use a public Jabber server, do you get the same result?
    Message 1 of 1 , Feb 11 2:05 PM
    • 0 Attachment
      If you try to use a public Jabber server, do you get the same result?
      jabber-rpc@yahoogroups.com wrote:

      >There is 1 message in this issue.
      >
      >Topics in this digest:
      >
      > 1. Net-Jabber-2.0, RPCCall, method not fired up at component
      > From: "ivystsai" <ivystsai@...>
      >
      >
      >________________________________________________________________________
      >________________________________________________________________________
      >
      >Message: 1
      > Date: Mon, 31 Jan 2005 22:50:26 -0000
      > From: "ivystsai" <ivystsai@...>
      >Subject: Net-Jabber-2.0, RPCCall, method not fired up at component
      >
      >
      >I am new to both Perl and Jabber programming. I tried to get a
      >Jabber RPC library that I can use in my project. I installed Net-
      >Jabber-2.0 and all the dependent libraries and tried to run the
      >examples rpc_server.pl and rpc_client.pl. The sub routine "add"
      >never gets fired in the rpc_server.pl. Below is the brief
      >explanation of what I did.
      >
      >1. I have a Jabberd server 2.0s4 running on my Red Hat 9.0 machine.
      >2. I run both rpc_server.pl and rpc_client.pl from my Windows XP.
      >3. I removed the top couple lines to make it run under Windows.
      >4. At C:\cpan> I type "perl rpc_server.pl ivylinux.sony.com 5224
      >responder responder", and rpc_server is up and running
      >
      >5. At rpc_client.pl, I modified the $Connection->RPCCall
      >(to=>"responder\@.../RPCServer",
      >methodName=>"add",
      >params=>[5,4]);
      >I don't want the requester send RPC to itself.
      >
      >6. At C:\cpan> I type "perl rpc_client.pl ivylinux.sony.com 5224
      >requester resquester", and rpc_client is also up and running.
      >
      >7. From "ethereal" tool, I saw the RPC methodCall got sent out
      ><type='set'>, but the "add" function was not fired up at
      >rpc_server.pl. The RPCCall at rpc_client.pl never returned.
      >
      >8. I stepped into Server.pm and am sure RPCSetCallBacks(add=>\&add)
      >got called.
      >
      >9. I am able to send simple message from rpc_client.pl to
      >rpc_server.pl. The RPCCall is also sent to the rpc_server.pl, but
      >the RPC callback "add" is not called. Any idea what goes wrong?
      >
      >Thanks
      >
      >Ivy
      >
      >
      >
      >
      >
      >________________________________________________________________________
      >________________________________________________________________________
      >
      >
      >
      >------------------------------------------------------------------------
      >Yahoo! Groups Links
      >
      >
      >
      >
      >------------------------------------------------------------------------
      >
      >
      >
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.