Using WPS (PyWPS) with Taverna Orchestration

1,652 views
1,347 views

Published on

Presentation made in Luxemburg for workshop Web Processing Service (WPS) technologies for Integrated Assessment Modelling in Urban Areas

COST Action: TU0902 – 21-24 Jan 2014, Luxemburg

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,652
On SlideShare
0
From Embeds
0
Number of Embeds
21
Actions
Shares
0
Downloads
8
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Using WPS (PyWPS) with Taverna Orchestration

  1. 1. WPS Orchestration in Taverna Jorge S. Mendes de Jesus Web Processing Service (WPS) technologies for Integrated Assessment Modelling in Urban Areas COST Action: TU0902 – 21-24 Jan 2014, Luxemburg
  2. 2. WhoAmI Programmer, working in Wageningen (NL) @ ISRIC This presentation covers my work @ PML (Plymouth Marine Laboratory)
  3. 3. Project http://netmar.nersc.no/ http://rsg.pml.ac.uk/
  4. 4. Story telling....an uncharted annex... Basically some generic description of SOAP and WSDL support
  5. 5. SOAP, WSDL..and WPS • Have you ever noticed this ?????
  6. 6. SOAP, WSDL..and WPS DANGER, here be dragons
  7. 7. WSDL The Web Services Description Language is an XML-based interface description language that is used for describing the functionality offered by a web service. XML that describes how your web service works , what it accepts and how it communicates.
  8. 8. WSDL Yes, we need to re-invent the wheel....in this case WPS..inside WSDL <definitions> <types> definition of types........ </types> <message> definition of a message.... </message> <portType> definition of a port....... </portType> <binding> definition of a binding.... </binding> <service> defintion of a service <service> </definitions>
  9. 9. SOAP
  10. 10. SOAP Are you ready to see an execute Process in SOAP???
  11. 11. SOAP Dummy process, adds and subtracts 1 <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> <soap:Body> <ExecuteProcess_DummyProcess> <datainput1>10</datainput1> <datainput2>20</datainput2> </ExecuteProcess_DummyProcess> </soap:Body> </soap:Envelope> Attr in El name XML blasphemy !!! Totally different from WPS
  12. 12. 4-some: PyWPS, WSDL, SOAP and XSLT Warning!!!! Here be translations
  13. 13. 4-some: PyWPS, WSDL, SOAP and XSLT DescribeProcess (all) XML Python Code (PyWPS process code) Information Source XSLT
  14. 14. 4-some: PyWPS, WSDL, SOAP and XSLT New worlds, new opportunities !!!!! Before the new world......
  15. 15. 4-some: PyWPS, WSDL, SOAP and XSLT If you create a PyWPS it will be automatically translate to WSDL....so no extra config.....everything transparent SOAP requests are translated to/from WPS requests/responses Processes splited into sync and async since we need to define a different reply for async (No WSDL overloading)
  16. 16. 5-some: PyWPS, WSDL, SOAP, XLST and Taverna Lets give a look at the bioinformatics jungle....
  17. 17. 5-some: PyWPS, WSDL, SOAP, XLST and Taverna Having WSDL/SOAP we can run WPS in Taverna....Orchestration
  18. 18. Taverna (http://www.taverna.org.uk/)
  19. 19. Taverna (http://www.taverna.org.uk/) Examples: Gdalinfo: http://www.myexperiment.org/workflows/2313.html: Watersheed: http://www.myexperiment.org/workflows.2066.html SomeErrors: http://www.myexperiment.org/workflows/2340.html
  20. 20. Children play !!!!! http://rsg.pml.ac.uk/wps/example/index.html
  21. 21. Extensive documentation http://wiki.rsg.pml.ac.uk/pywps/PyWPS
  22. 22. Thank you

×