[JDEV] Problem with SOAP::Lite & NET::JABBER & NET::JABBER::PROTOCOL

Pierre Tissot Pierre.Tissot at cern.ch
Fri Apr 23 02:35:04 CDT 2004


Hi everybody:

I'm trying to built a web service under the Jabber protocol with SOAP::Lite
I'm using one example from Oreilly:

http://www.oreilly.com/catalog/progwebsoap/chapter/ch03.html

#!/usr/bin/perl -w
# sjs - soap jabber server

use SOAP::Transport::JABBER;

my $server = SOAP::Transport::JABBER::Server
  -> new('jabber://nick:password@jabber.org:5222')
  -> dispatch_to('Hello')
;

print "SOAP Jabber Server Started\n";
do { $server->handle } while sleep 1;

but each time that I try to run this little server I receive this error.
The user is registered in jabber.org and I have the package Hello.pm in the
good place.

Can't locate object method "AddDelegate" via package "Net::Jabber::Protocol"
at /................./Net/Jabber/Client.pm line 173.

I dont know if the problem is SOAP::LITE or NET::JABBER....I have all the
 last distribuition.

Can anybody point me some directions to try to solve the problem...thanks in
advance.

Pierre Tissot




More information about the JDev mailing list