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

Jabber transport fails?

Expand Messages
  • Chris Davies
    I m experimenting with the jabber transport, SOAP::Transport::JABBER, and trying to get a handle on what s going on. The client example uses a proxy of
    Message 1 of 4 , Jun 21, 2002
    View Source
    • 0 Attachment
      I'm experimenting with the jabber transport, SOAP::Transport::JABBER, and
      trying to get a handle on what's going on.

      The client example uses a proxy of
      "jabber://username:password@...:5222/soaplite_server@.../",
      with which I'm happy in principle.

      Unfortunately, I can't get this to work. Here's my code (with hostname
      amended)

      use SOAP::Lite
      uri => "http://localhost/My/Examples/",
      proxy =>
      "jabber://psi-1:psi-1@...:5222/wj-2@....u
      k/";
      print getStateName(1),"\n";

      When I run this I get

      Can't locate object method "AddDelegate" via package "Net::Jabber::Protocol"
      (perhaps you forgot to load "Net::Jabber::Protocol"?) at
      /usr/local/lib/perl5/site_perl/5.6.1/Net/Jabber/Client.pm line 171.

      I've tried use-ing N:J:P but this leads me to

      Undefined subroutine &Net::Jabber::IQ called at
      /usr/local/lib/perl5/site_perl/5.6.1/Net/Jabber/Protocol.pm line 1491.

      I'm reasonably sure my modules are uptodate (SOAP::Lite 0.55, Net::Jabber
      et al from Net-Jabber-1.0024.tar.gz). Interestingly, if I grep for
      AddDelegate in my installed perl tree I see it twice, only in
      SOAP::Transport::JABBER.

      Any suggestions, please?

      Thanks,
      Chris
      --
      Chris Davies, Manheim Online
      Tel. 0113 393-2004 Fax. 0870 444-0482. Mobile 07778 199069
    • rjray@blackperl.com
      ... Chris I m experimenting with the jabber transport, SOAP::Transport::JABBER, Chris and trying to get a handle on what s going on. I don t have a solution,
      Message 2 of 4 , Jun 21, 2002
      View Source
      • 0 Attachment
        >>>>> "Chris" == Chris Davies <Chris.Davies@...>
        >>>>> wrote the following on Fri, 21 Jun 2002 17:13:28 +0100

        Chris> I'm experimenting with the jabber transport, SOAP::Transport::JABBER,
        Chris> and trying to get a handle on what's going on.

        I don't have a solution, but I have had the exact same problems, down to the
        error messages. I couldn't track it, since the Net::Jabber test suite runs
        fine.

        Randy
        --
        """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
        Randy J. Ray rjray@...
        Campbell, CA rjray@...
        <A HREF="http://www.svsm.org">Silicon Valley Scale Modelers</A>
      • Dougal Campbell
        ... I had the same problem (about a month ago). It seems that the JABBER transport was written based on Net::Jabber 1.0021, and the AddDelegate stuff has been
        Message 3 of 4 , Jun 25, 2002
        View Source
        • 0 Attachment
          On Fri, 21 Jun 2002, Chris Davies wrote:

          > I'm experimenting with the jabber transport, SOAP::Transport::JABBER, and
          > trying to get a handle on what's going on.
          >
          > [....]
          >
          > Can't locate object method "AddDelegate" via package "Net::Jabber::Protocol"
          > (perhaps you forgot to load "Net::Jabber::Protocol"?) at
          > /usr/local/lib/perl5/site_perl/5.6.1/Net/Jabber/Client.pm line 171.
          >
          > [....]
          >
          > I'm reasonably sure my modules are uptodate (SOAP::Lite 0.55, Net::Jabber
          > et al from Net-Jabber-1.0024.tar.gz). Interestingly, if I grep for
          > AddDelegate in my installed perl tree I see it twice, only in
          > SOAP::Transport::JABBER.

          I had the same problem (about a month ago). It seems that the JABBER
          transport was written based on Net::Jabber 1.0021, and the AddDelegate
          stuff has been removed from the module since then.

          I think Paul Kulchenko said that he'd be updating SOAP::Lite to support
          the new Jabber modules, but didn't give a timeframe. I tried to find my
          copy of his message, but I can't remember where I filed it....

          If you haven't already, you might try asking on the Jabber-Dev mailing
          list, and see if somebody there has already rigged up something.

          --
          Ernest MacDougal Campbell III, MCP+I, MCSE <dougal@...>
          http://dougal.gunters.org/ http://spam.gunters.org/
          Web Design & Development: http://www.mentalcollective.com/
          This message is guaranteed to be 100% eror frea!
        • Chris Davies
          ... Net::Jabber::Protocol ... On Tuesday, June 25, 2002 at 4:38 PM, Dougal Campbell replied: I had the same problem (about a month ago). It seems that the
          Message 4 of 4 , Jun 26, 2002
          View Source
          • 0 Attachment
            On Fri, 21 Jun 2002, I wrote:
            > I'm experimenting with the jabber transport, SOAP::Transport::JABBER, and
            > trying to get a handle on what's going on.
            >
            > [....]
            >
            > Can't locate object method "AddDelegate" via package
            "Net::Jabber::Protocol"
            > (perhaps you forgot to load "Net::Jabber::Protocol"?) at
            > /usr/local/lib/perl5/site_perl/5.6.1/Net/Jabber/Client.pm line 171.

            On Tuesday, June 25, 2002 at 4:38 PM, Dougal Campbell replied:
            I had the same problem (about a month ago). It seems that the JABBER
            transport was written based on Net::Jabber 1.0021, and the AddDelegate
            stuff has been removed from the module since then.

            [...]

            Thanks to you (and others) for the update
            Chris
          Your message has been successfully submitted and would be delivered to recipients shortly.