Re: [Soaplab-users] output files not definable on command line
Brought to you by:
marsenger
From: Sebastien M. <Seb...@un...> - 2009-02-13 16:00:08
|
>> How could I define output files in the ACD file ? >> >> You can't (except the file extension). The output file names are >> hidden to you (because it is somehow against the spirit of a >> distributed application to deal with files). If your application >> relies on such file naming schema, you need to write a wrapper (an >> example of such wrapper - that I can send to you - would be for the >> program 'cap' - or a similar name, I do not remember now, having it on >> a different computer). > > I had a similar problem when i was integrating one application to > Soaplab. I used the 'default' attribute of the outfile options to > specify the name of the output file my application was expecting. This > worked well however i also needed to add a new check in the getFileName > method of the IOData class for checking whether the output has a default > file name and it is secure to use. This didn't look like against the > spirit of a distributed application but i wasn't quite sure and thought > discussing with you (haven't had a chance before). > > Mahmut I will test this. Thanks -- Sébastien Moretti SIB EMBnet, Quartier Sorge - Genopode CH-1015 Lausanne, Switzerland Tel.: +41 (21) 692 4056/4221 http://ch.embnet.org/ http://myhits.vital-it.ch/ |