Hi again, Alan R Williams <[email protected]> writes:
> On 19/05/2011 17:56, Joerg Wicker wrote: >> I attached an example workflow. The REST service copy_dataset gets a >> string constant as input and returns a URL. When I pass the URL to the >> next REST service (merge_datasets), I get the >> IllegalArgumentException. But if i pass the same value using a string >> constant to merge_datasets_2, a copy of merge_datasets, everything >> works well. > > They aren't the same value. The output from merge_datasets includes a > "\n" at the end, whereas val_of_debug3 does not. > > It's not legal for a URL to contain "\n" so the exception is generated. > > I don't know if it is Taverna's REST service that is wrong in generating > the URL with the "\n" or if it is the remote resource that is incorrect. > I'll ask a REST expert. I think it's from our servces. Unfortunately some servers add a newline at the end, some don't. I forgot to check that. Is there any better solution than adding a Beanshell service doing a trim()? I doubt I can make every partner here change their server to return a result without a newline. Thanks and regards, Joerg -- Dipl.-Bioinf. Joerg Wicker room: MI 01.09.043 Technische Universitaet Muenchen phone: +49-89-289-19440 Institut fuer Informatik/I12 fax: +49-89-289-19414 Boltzmannstr. 3 email: [email protected] D-85748 Garching b. Muenchen, Germany jabber: [email protected] http://wwwkramer.in.tum.de/wicker/ ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ 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/
