On Tue, 26 Aug 2003, Peter W. Draper wrote:
> On Mon, 25 Aug 2003, Tim Jenness wrote:
>
> > We want to use splat as a display engine for ORAC-DR but the only
> > documented remote control medium I can find is via a shell script that
> > uses bean shell. This is not really good enough for oracdr which needs to
> > use a cross-platform interface.
>
> > Do you accept SOAP or socket connections?
>
> Hi Tim,
>
> both.
>
> The most flexible system is based around the socket connection, which
> gives you more-or-less full programmatic access to SPLAT. In this case you
> can either use Java commands or whole beanshell scripts sent as strings.
> The examples you've seen work like this, except in ORAC-DR's case you'd
> create the strings, not an external beanshell script (it's a bit like
> controlling GAIA).
>
> The SOAP interface has a fixed set of possible commands, which are defined
> in the uk.ac.starlink.splat.util.SplatSOAPServices class. Currently these
> are "display an NDX" and "display a spectrum by file name". More can be
> added if you let me know what you need.
>
This sounds much better. Is the SOAP interface documented or do I have to
read the file? What port is SPLAT using for this?
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|