On 12-11-2010 17:20, Alan R Williams wrote: > On 12/11/2010 15:40, Carsten Byrman wrote: >> Hi, > Hello > >> I was wondering why Taverna 2.2.0 issues these 2 HEAD requests when >> validating my workflow: >> >> HEAD /foo/bar/MyService?wsdl HTTP/1.1 => HTTP/1.1 200 OK > That checks that Taverna can see the WSDL that describes the service. > It then reads the WSDL to find out the endpoint. > >> 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. >> 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). >> Carsten > 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/ ------------------------------------------------------------------------------ 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/
