On 17/01/2011 14:01, Ali Ranalvi wrote:
My questions are:1.Do I explicitly need to create a run directory before executing workflow by using makeRunDirectory?
No. You might want to, but you don't *need* to. You have a per-run directory created for you automatically. That will go away when the run is deleted. You can make extra directories though, if it helps with organizing your inputs or auxiliary files.
What do the parentDirectory (path on server where workflow run outputs/errors will be stored?) and directoryName parameters signify? When I try to this request with parentDirectory set to /tmp and directoryName set to the runName, it gives me this error: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <soap:Fault> <faultcode>soap:Client</faultcode> <faultstring>Unmarshalling Error: Unable to create an instance of org.taverna.server.master.common.DirEntryReference</faultstring> </soap:Fault> </soap:Body> </soap:Envelope>
Hmm, it (JAXB) is not extracting the description of the directory to create. The content of the directory parameter should be:
<dir></dir>(That is, nothing between the tags.) Well, I think it should. JAXB is a bit opaque at times, and there's a number of bits and pieces in here that are rather complex since there's a sharing of much of the Taverna Server machinery with the REST API. If we still can't make it work (and I'll need to see the whole request message in that case) then I'll see what I can do to fix it for 2.2b1 (I'm currently working on the last major feature that's been blocking that; then it's a round of bugfixing before doing the release).
2.How does one retrieve the output of a workflow execution? I think getRunDirectoryContents and getRunDirectoryAsZip are the required functions but they too require a directory parameter. What value should be passed there?
I think you'll find that: <dir>out</dir> works for that. Donal.
<<attachment: donal_k_fellows.vcf>>
------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________ taverna-users mailing list [email protected] [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/
