[Soaplab-users] Soaplab2 Outfile question
Brought to you by:
marsenger
From: John S R. <J.S...@so...> - 2008-06-30 14:57:55
|
Hi, I've been scratching my head over this for a couple of days, so I'm hoping someone can give a clue... I have two python scripts that I'd like to wrap using soaplab2. At the simplest level, they both produce text/csv output files in the working directory. The parameter 'resfile' is used to determine the name of the output file. Here's the relevant extract from the ACD file: outfile: resfile [ comment: "mimetype text/csv" template: "resfile=$$" extension: "csv" additional: "Y" default: foo.csv" ] Both ACD files are identical with the exception of the executable name, both are correctly converted to XML and are deployed and executed correctly, but while app1 returns foo.csv as expected, app2 does not. For app1, I can see that the results in tomcat/temp/_R_/SANDBOX/[app1]/<UID>/o_resfilecsv However, app2 produces tomcat/temp/_R_/SANDBOX/[app2]/<UID>/foo.csv and the result is never returned, despite the content being as expected and the script returning 0; I think I need to better understand how soaplab operates on output files. Is this covered somewhere in the documentation in more detail than in the Metadata guide? Thanks in advance, JohnR. |