On 19/05/2011 17:56, Joerg Wicker wrote:
>
> Hi everyone,

Hello

> I am still working on including our REST services in Taverna
> workflows. It seems to work, but I get Problems when combining REST
> services. The services work on their own, but if I pass the result of
> one service to another, I get an error message
> (IllegalArgumentException). I am using the nightly build 565 from May
> 13 as this is the most recent build I can start.
>
> 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.

> Thanks and best regards,
>
> Joerg

Alan

------------------------------------------------------------------------------
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/

Reply via email to