Hi David If you are using your own mart and thats what you intend to serve all the time via martservice, just add the following line of code to your cgi-bin/martservice.PLS, reconfigure your system and it should work.
print $CGI->header(-type=>'text/html'); The above line can be added after the following line. my $path = "/".$cgiLocation."/martservice"; David, this is just to get you going with your work while we discuss and implement a generic solution. Cheers Syed On Thu, 2007-03-29 at 13:32 +0100, David Croft wrote: > Hi Syed, > > >The reason 'Export To Browser' works and GET_URL request doesnt appear > >formatted is that we set mime types through 'martView'. We cant set the > >mime type incase of martservice as we do not know whats going to happen > >to the results. Could you just explain what you are trying to achieve so > >may be I could find a way out for your problem. > > > > > I'm launching a query from one of the Reactome web pages, using > martservice to do the work. I'd like to have the output in a form > that is user-friendly, and I think the HTML view as it appears in > martview would be quite good for this purpose. > > Can I set the mime type from within the query body? > > Cheers, > > David. > -- ====================================== Syed Haider. EMBL-European Bioinformatics Institute Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK. ======================================
