We're writing a SCUFL2 API that would be able to do exactly what you are asking about, and without requiring any other dependencies than XML libraries.
Although we had originally planned this API for Q1 2010, it now seems like we'll have to push it back, so that we instead can do some further updates to Taverna over the next two-three months. This would push back work on SCUFL2 API and OSGi-fication and a new platform (which would also hopefully also reduce library issues) , towards August. I've copied our project manager Shoaib Sufi, perhaps if you believe this is important for caGrid we can do some reshuffling and get an SCUFL2 API in earlier. As a rough guide (no promises!) here's the issues we're talking about doing instead in the short term: Lightweight REST support, Credential Manager issues, HTTP Basic Auth support, 2.1.1 patches that were not released, myExperiment locale bug, opening workflow when service is offline, more efficient database deletion on shutdown, and some smaller bug fixes. I guess Shoaib will come back to the list with our plans once they have been decided. However, you can use the XSD of *t2flow together with something like XMLBeans to parse the workflow definitions, however you won't get any workflow diagrams from there, and you would have to traverse the structure of the definition. For instance, parsing the workflow to figure out which WSDL locations have been used for all processors requires a bit of digging. See http://taverna.googlecode.com/svn/taverna/dev/xsd/trunk/t2flow/ for the schema. On Mon, Mar 1, 2010 at 19:52, Dinanath Sulakhe <[email protected]> wrote: > Is there any API in 2.1 to get details of a workflow (# of inputs, > input port names, output ports, workflow diagram, etc..). The last > time I tried to do this using 2.0, there were too many dependencies > and ended having needing almost all the jars. I was wondering if there > is a light-weight option? I thought all it needs to do is parse the > SCUFL file? > > Thanks, -Dina > > > > -------------------------- > Dinanath Sulakhe > The Globus Alliance > Computation Institute, University of Chicago & > Math and Computer Science Division, Argonne National Laboratory. > Ph: (630) 252-7856 > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > taverna-hackers mailing list > [email protected] > Web site: http://www.taverna.org.uk > Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ > Developers Guide: http://www.mygrid.org.uk/tools/developer-information > -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/taverna-mailing-lists/ Developers Guide: http://www.mygrid.org.uk/tools/developer-information
