[kepler-dev] Kepler and soaplab

Dan Higgins higgins at nceas.ucsb.edu
Wed Apr 13 13:53:48 PDT 2005


Hello Michael,

    With regard to your question about the Java 'Map' interface, I 
suggest that you look at the Kepler/Ptolemy documentation for a 'record' 
token. Kepler actors actually pass 'tokens' through the workflow and the 
record token is roughly equivalent to a 'map' (i.e. it is a collection 
of objects that can be retreived by name (key)). The java code for your 
actor would do the conversion to a java map.

Dan Higgins - NCEAS

Mendis, Michael E. wrote:

>Thanks for the help with Kepler.  I have been looking at soaplab
>(http://www.ebi.ac.uk/soaplab/) partially due to the  ability to get a jobId
>from the soaplab services.  The following state-full implementation:
>
>1)   String jobID = createJob (inputs);    // create a job with input data
>(inputs) are a java.util.Map
>2)   run (jobID);               		 // execute the job
>3)   waitFor (jobID);                      // wait for its completion
>4)   java.util.Map results = getResults (jobID);         // retrieve resulting
>data in a Map object
>
>I assume that each of the four would be a single web service actor
>representation in the kepler application.  The status of 'JobID' is a string,
>while the 'inputs' are a java.util.map.  I was wondering how to represented a
>map actor within kepler, so that I can pass it into the input to the web service
>actor.
>
>Do I need to create a Array/Hashtable/Collection->Map Actor?  Also I was looking
>at the developer documentation, and to get eclipse to work, you need a read-only
>accoutn with CVS, if there is a webpage for it, where is it?
>
>Thanks alot
>mike
>
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>  
>


-- 
*******************************************************************
Dan Higgins                                  higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/    Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS) 
Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************



More information about the Kepler-dev mailing list