On 24/10/2011 20:51, Alan R Williams wrote:
> On 24/10/2011 20:17, judicael ribault wrote:
>> Hi,
>
> Hello
>
>> I'm using Taverna 2.3 with RESTful services and I would like to use
>> the "UI: Select file" to select a XML file on my disk and send it to
>> my REST Service but I get a "Content not allowed in prolog". Otherwise
>> XML and workflow work great !
>
> I couldn't replicate the problem. Is it possible that you are passing
> the file path (which Select file returns) directly into the REST
> service? You need to take the file path and put it as the fileurl input
> of Read_Text_File (under IO).

and then take the file_contents from Read_Text_File and put it as the 
inputBody of the REST service.

Alan



------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
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