xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: 302 moved temporarily?
Date Wed, 28 Apr 2004 12:16:15 GMT
Vikram Shrowty wrote:

>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;
>$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?

I don't know Perl that well to help, but, out of curiosity, where it is 
sending you, what's the redirect URL? You can also try some http 
monitors to see what's happening.


View raw message