Hi Everyone,

I've recently needed to include services that make use of optional query string 
parameters in some workflows I've been working on. The problem I encountered is 
that when specifying a REST activity with a URL template similar to the one 
below forces the user to modify the URL each time to only include the query 
string parameters they wish to use in that particular invocation.

URL: http://example.org/{path}/?p1={p1?}&p2={p2?}&p3={p3?} ....

Some of the URL templates I'm dealing with have 20+ optional parameters so 
editing them each time to provide a different subset of query strings has been 
a bit of a pain.

I was wondering if partially completing URL templates of this form is already 
supported, and if not would there be any interest in my patch against Taverna 
2.4.0 to allow optional parameters to be automatically removed from the URL if 
the value to complete them is not supplied.

Joel.
--

Dr Joel Wright
IT Innovation Centre
Gamma House
Enterprise Road
Southampton
SO16 7NS, UK

Tel.:+44 23 8059 8866

mailto:[email protected]
http://www.it-innovation.soton.ac.uk/


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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/

Reply via email to