Dears, 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> 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
<<attachment: T2interactionTEST.php>>
InOut_test.t2flow
Description: Binary data
------------------------------------------------------------------------------ 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/
