xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vikram Shrowty <vik...@lsil.com>
Subject 302 moved temporarily?
Date Tue, 27 Apr 2004 04:30:20 GMT
I keep getting "302 Moved Temporarily" each I try
to run this script (straight from the developer guide)

use strict;
use Frontier::Client;
use Data::Dumper;

my($server,$result,$url);
$url = 'http://localhost:8080/xindice';
$server = Frontier::Client->new('url'=>$url,'debug'=>0);

## try listing the collections
## look at org/apache/xindice/server/rpc/messages/*.java
## for the 'message' possibilities.  The parameters are there as well.

my $colname = 'ninemetatest';
my $args = {};

#first, add the collection directly under the /db root.
$args->{'message'} = 'CreateCollection';
$args->{'collection'} = '/db';
$args->{'name'} = $colname;
$result = $server->call('run',$args);

Attempting to do the same through xindice script works fine.
Any ideas?

Thanks

-- 
Vikram Shrowty <vikram@lsil.com>


Mime
View raw message