You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Daniel Kroeger <ze...@zesolo.net> on 2002/05/28 12:04:38 UTC

NoSuchMethodException

Hello,

I'm using Perl to communicate with Xindice over XML-RPC and I just want to
create a collection.
But my code throws an exception:

$server_url = 'http://localhost:4080';
my $self = Frontier::Client->new(url => $server_url);
my $mkcol = $self->call('db.createCollection', '/db', '5' );

I have no idea, why this method should not exist. It seems like the Method
has a problem with the "5" because if I use a string like
my $mkcol = $self->call('db.createCollection', '/db', 'test5' );
everything works fine!

Any ideas?
Thanks
Daniel