GREAT!!
I did not realized of that space...thank you very much. Now I've tested it
with the "real case" and worked fine, until the end.
As usual, this mail-list is super useful because of you, myGrid guys.
Thanks!
Albert Mascarell Creus
www.o2hlink.com
2010/11/22 Robert Haines <[email protected]>
> Hello Albert,
>
> On 19 Nov 2010, at 16:44, Albert Mascarell wrote:
>
> > I've been trying to use T2server with an Rscript-based workflow. However
> after running it correctly on the workbench, I tried in T2server. After many
> failures I decided to run the simplest workflow ever (just input port to
> output port workflow, see attachment) in order to test whether Rshell was
> not well configured.
> >
> > Using T2 server via PHP (the PHP file is attached):
> > - Passing a simple value to the "in" port, such as "Hello World" it
> creates an output binary file containing "Hello World"
> > - Passing a file containing "Hello World" did nothing:
> >
> > This are the inputs files and input ports:
> >
> >
> http://localhost:8080/taverna-server/rest/runs/d2ab0d5f-29e5-4407-849d-e13f97c2e2e5/wd/
> > <ns3:directoryContents>
> > <ns2:file xlink:href="
> http://localhost:8080/taverna-server/rest/runs/3de4641b-dc79-4135-9790-bb114464a50c/wd/hello.txt"
> ns2:name="hello.txt">hello.txt</ns2:file>
> > </ns3:directoryContents>
> >
> >
> >
> http://localhost:8080/taverna-server/rest/runs/cab35be2-4e3e-4157-8bde-832045cf6b1d/input/input/in
> >
> > <ns2:runInput ns2:name="in">
> > <ns2:file> hello.txt </ns2:file>
> > </ns2:runInput>
>
> I think your problem is here. You are sending the filename in the XML with
> a space either side of it so Taverna is trying to find a file called "
> hello.txt ". I have just tested this myself and seen the same failure. Could
> you try changing that line to
>
> <ns2:file>hello.txt</ns2:file>
>
> and trying again?
>
> Best wishes,
> Rob
>
> > What do you think it is happening? Do I upload on a wrong way the input
> file? Let me say that I tried many many options, but the only way I succeded
> was uploading "hello world" directly as a value to the input. It was OK for
> this example, but when trying to pass as a value higher strings (such as
> real files), it crashed because of too much large string.
> > I've tried everything I can imagine...with no success...
> >
> > Thank you very much.
> >
> > Regards,
> >
> > Albert Mascarell Creus
> > www.o2hlink.com
>
> --
> Robert Haines
> myGrid Team
> School of Computer Science
> University of Manchester
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
> Spend less time writing and rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> _______________________________________________
> 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/
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
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/