Re: [Soaplab-users] output files not definable on command line
Brought to you by:
marsenger
From: Mahmut U. <ul...@eb...> - 2009-02-13 15:12:36
|
> 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 |