Re: [Soaplab-users] Problem with Infile Path
Brought to you by:
marsenger
From: Sebastien M. <Seb...@un...> - 2008-03-28 10:37:09
|
> Hi Martin, > >> One other option would be to write an input data adaptor class >> in Java >> that should implement the interface >> org.soaplab.services.adaptor.DataAdaptor. >> >> I am afraid that it may not be true. The adaptors are in charge when >> data arrives from a user and before the Soaplab service processes >> them. But Sebastien's problem occurs when Soaplab calls an external, >> command-line, application. In that moment all input data are already >> "adapted" (if there was any adaptor for them) and they sit in a >> Soaplab's internal file whose name is passed to the external >> application. And here the name is the problem - not the data inside >> the file. > > I was looking at the InputManyFiles adaptor (for some EMBASSY > applications which expects directory name rather than list of file > names), given some input objects it returns a string with the list of > input file names. It seems Soaplab should not make problem if this > adaptor returns a string without these special characters. > > Meantime, I noticed the following method in echo.acd. > > # comment: 'method foreachs (str, " ", "-&&# $str")' > > I don't know much about the substitution support in Soaplab. Is it > possible to use the existing substitution support for this problem? > > Mahmut I made several tests and it is clearly a problem from my application. The path works fine in interactive mode but not in command line ! So, is there a way to do a kind of 'cd path/' and then to run applications with infiles and outfiles from the current directory. -- Sébastien Moretti SIB, Quartier Sorge - Genopode CH-1015 Lausanne, Switzerland Tel.: +41 (21) 692 4056/4221 |