Hi to all I need some help with Taverna server 2.2, and I must say that I'm totally new to REST requests
I'm going thru the documentation and studying it. I've managed to install everything, the server is responsive :), now I'm trying to upload a workflow Doing a GET to http://localhost:8080/taverna-server/rest/runs I've a 200 HTTP reply (so everything ok) If I try to POST a file (I'm using Firefox add-on Poster) and I get 404 Not Found. If I send a OPTIONS the server replies: Allow: POST,GET,OPTIONS,HEAD Meaning that POST should be working, I am confused with a 404 Error for POST I've tried also with wget and catalina.out has the following: ID: 37 Address: /taverna-server/rest/runs Encoding: ISO-8859-1 Content-Type: application/x-www-form-urlencoded Headers: {content-type=[application/x-www-form-urlencoded], connection=[Keep-Alive], host=[localhost:8080], Content-Length=[34828], user-agent=[Wget/1.12 (linux-gnu)], Content-Type=[application/x-www-form-urlencoded], Accept=[*/*]} Payload: <?xml version="1.0" encoding="UTF-8"?> <t2s:workflow t2s:xmlns="http://ns.taverna.org.uk/2010/xml/server/"> <workflow xmlns="http://taverna.sf.net/2008/xml/t2flow" version="1" ... : -------------------------------------- 11-Aug-2011 11:57:15 org.apache.cxf.jaxrs.utils.JAXRSUtils findTargetMethod WARNING: .No operation matching request path /runs is found, HTTP Method : POST, ContentType : application/x-www-form-urlencoded, Accept : */*,. 11-Aug-2011 11:57:15 org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper toResponse WARNING: WebApplicationException has been caught : no cause is available 11-Aug-2011 11:57:15 org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose INFO: Outbound Message --------------------------- ID: 37 Response-Code: 404 Content-Type: text/xml Headers: {Date=[Thu, 11 Aug 2011 10:57:15 GMT]} -------------------------------------- It seems that there is some problem with the Target method ?!!? I am doing something wrong ?! Bug, RTFM ?! All the best Jorge -------------------------------------------------------------------------------- Plymouth Marine Laboratory Registered Office: Prospect Place The Hoe Plymouth PL1 3DH Website: www.pml.ac.uk Click here for PML Annual Review Registered Charity No. 1091222 PML is a company limited by guarantee registered in England & Wales company number 4178503 Please think before you print -------------------------------------------------------------------------------- This e-mail, its content and any file attachments are confidential. If you have received this e-mail in error please do not copy, disclose it to any third party or use the contents or attachments in any way. Please notify the sender by replying to this e-mail or e-mail [email protected] and then delete the email without making any copies or using it in any other way. The content of this message may contain personal views which are not the views of Plymouth Marine Laboratory unless specifically stated. You are reminded that e-mail communications are not secure and may contain viruses. Plymouth Marine Laboratory accepts no liability for any loss or damage which may be caused by viruses. -------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-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/
