I see...
So there is no XML Spliters like in WSDL.

May URL template contain parameters?
"http://example/{id}"; (OK)
"http://example/?id={id}"; (???)

Dmitry

On 2/5/2014 4:38 PM, Alan R Williams wrote:
> On 05/02/2014 12:45, Dmitry wrote:
>> Hello,
> Hello
>
>> How can I import a REST service into the workflow?
>> BioSWR supports RESTful services via WSDL HTTP Binding and may also
>> convert WSDL into WADL (to use with SOAPUI for instance).
>>
>> Even there is "rest-activity-ui" activity I see no REST service in
>> "Import new services" menu.
>> There is a GenericRESTTemplateService class, but I have no idea what to
>> with it.
>> For the WSDL services, I created a WSDLServiceDescription, but how do I
>> describe a REST service?
> There is currently no REST equivalent of the WSDLServiceDescription. As
> in Taverna 2.4 you can currently only have "one off" REST services.
>
> We contracted someone to work on this in 2013 but (for various reasons)
> they did not deliver.
>
> What you will need to do is to decide what information you need to
> create a REST service. Then your WADL reader will generate a
> WADLServiceDescription for each possible service.
>
> The information to be held is (I think) approximately what is populated
> in the generateMethodDecls method of wadl2java's
> BaseResourceClassGenerator. Rather than generate a method, you'd
> generate a WADLServiceDescription. That is the sort of implementation I
> was suggesting to the person.
>
> Other wadl software will have similar capabilities.
>
>> Cheers,
>>
>> Dmitry
> [1] https://wadl.java.net/wadl2java.html
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
> _______________________________________________
> 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/
>
>


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
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