> From: Carsten Byrman <[email protected]> > To: [email protected] > Subject: Re: [Taverna-hackers] Workflow validation
> On 12-11-2010 17:20, Alan R Williams wrote: > > On 12/11/2010 15:40, Carsten Byrman wrote: [snip] > >> HEAD /foo/bar/MyService HTTP/1.1 => HTTP/1.1 404 Not Found > > That is trying to check that the service is live. There's probably a > > better way to do this. Any ideas? > Do a GET as a second check? Some web services don't implement HEAD but > respond with an info/test page on GET, for example this endpoint: > http://amc-app2.amc.sara.nl/services/apml/APMLService > A warning can then be issued if both methods fail. OK. I'll add this into Jira and it will almost certainly get into 2.3. > >> This results in warnings in the GUI, which might annoy or scare users > >> that don't know how to turn them off. > >> > >> Can't the second HEAD of this sanity check be skipped if the first one > >> succeeds? > > In general no. I guess it could be changed to check if the endpoint is > > a substring of the WSDL. Does that seem sensible? > That might be a safe bet. My case would be solved with a GET (see above). Trying to cater for all the possibilities is probably impossible. We had some cases where doing a HEAD causes an internal server error :( Some of it may become easier when we leverage the BioCatalogue's service monitoring. Alan ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-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/
