On Wed, 2004-04-28 at 05:16, Vadim Gritsenko wrote: > 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; > > > >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? > > > > > > 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. > > Vadim
It was my mistake. I was using Tomcat 5 instead of Tomcat 4. Sorry for wasting your time -- Vikram Shrowty <[EMAIL PROTECTED]>
