On Sat, May 22, 2010 at 21:33, Jannetta Steyn <[email protected]> wrote: > I'm trying to build a web service that I can use with Taverna. The web > service that I have created works fine. I have tested it with soapUI > and that also confirms it to be working. However when I try and use it > with Taverna I get errors.
Hi! You will need to add a so-called "XML input splitter" to your service to specify the complex typed input. The error message "No content allowed in prolog" is lingo for "I expected some XML". See http://www.taverna.org.uk/documentation/faq/building-workflows/services-with-complex-type/ for details. First remove your current link to the input 'parameters'. Then, right click on the service in the workflow and select "Add input splitter". (You may also do this from the Service "Details" tab on the lower left). Finally connect your input values to the added shim service instead of directly to the 'parameters' port. The 'attachmentList' output is only populated if your service returns data using MIME attachment, which is most probably not the case. You will most likely find that you would need to add an XML output splitter as well to check out individual elements of your response, but for debugging you can of course pass the 'parameters' output directly to a workflow output port. Thanks for reporting this, I've noted as a bug that the error message should be more helpful - http://www.mygrid.org.uk/dev/issues/browse/T2-1346 -- Stian Soiland-Reyes, myGrid team School of Computer Science The University of Manchester ------------------------------------------------------------------------------ _______________________________________________ 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/
