Hi John,
I have just tested http://www.myexperiment.org/mashup/api with the XML you specified below (albeit with a different subject resource) and it seems to work fine. What did you specify in the URI field of the mashup form? It should be http://www.myexperiment.org/comment.xml. When you hit "Go" it should prompt you for a username and password if you are not logged in. If your application is under development I suggest using http://sandbox.myexperiment.org rather than the main site. This deployment is generally kept updated to the same-ish revision as the main site so if it works on sandbox it should work on the main site. I am not a myExperiment developer but I do work closely with them. So if above doesn't help I can ask them to investigate further tomorrow morning. Regards David Newman From: John Alexander [mailto:[email protected]] Sent: 18 August 2010 20:34 To: [email protected] Subject: [Taverna-hackers] Difficulties posting comment to myExperiment I am currently working with myExperiment through a java application I am writing. I have come to a snag in my work as I am unable to generate the correct code to POST a comment to a workflow through Java. I am building the correct XML that is required as the wiki displays but I keep getting a http 400 error returned. Not only does my code not work, but the example xml code displayed on the wiki: <?xml version="1.0" encoding="UTF-8" ?> <comment> <subject resource="http://www.myexperiment.org/workflows/173"/> <comment>This is my comment.</comment> </comment> does not work on the http://www.myexperiment.org/mashup/api page either. Does anyone know if myExperiment has updated the XML code required to post a comment to a workflow successfully? Thanks, John
------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
