> Date: Sat, 04 Apr 2009 10:26:11 +0100
> From: Paolo Missier <[email protected]>
> Hi,

Hello,

> provenance events contain _strings_ of the famous form
> t2:list//testNamespace?test44/false/2
> or
> t2:ref//testNamespace?test37

> (they are strings because they come across inside XML documents)

> I need to use the ReferenceService to resolve them. However, all the 
> resolve*() methods in the ReferenceService expect an input T2Reference.
> Is there a way  generate a T2Reference from the string formats above?

Ian (Dunlop) has been looking at such a method.  It is not in Taverna
2.0.  The current inability in going back from a "URI" form of the
reference to a T2Reference and so to the data, is the main reason why
intermediate results did not make it into the Taverna 2.0 release.

Aside: The "URI" string will change so that the values are unique, it
has a more usual form, and is resolvable.

> Also, my workflow execution driver calls this method at the end of a 
> workflow execution, which is a method in a *ResultListener* 
> implementation, to show me the results:

[snip]

> I get an exception:
> net.sf.taverna.t2.reference.DaoException: Key 
> t2:list//testNamespace?test44/false/2 not found in store

> and I am not sure why the data has not been registered during execution?

I don't know.  If the data has been registered, and it must(?) have
been to get the T2Reference, then you should be able to render the
T2Reference.  If you are doing this in Taverna Workbench, can you
check that in the results perspective, you are able to browse the
results and see the value for that "URI"?

> thanks for the help,
> -Paolo

Alan

> ------------------------------------------------------------------------------
> _______________________________________________
> taverna-hackers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/taverna-hackers
> Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
> FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq


------------------------------------------------------------------------------
_______________________________________________
taverna-hackers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/taverna-hackers
Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html
FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq

Reply via email to