<div dir="ltr">Hi Carsten,<div><br></div><div>Thanks for getting back to me with the info, the links on testing are definitely helpful, and I had come across the Ana Homolka contribution but I was not sure whether it had been implemented in the current version of PyWPS.  I think it should be possible to chain processes using the XML approach given the correct tag to nest within the input section of a process, the next execute request.  Unfortunately, the geoserver chained xml docs are not compatible.  </div><div><br></div><div>Thanks again,</div><div>Suzana</div><div><br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 6 Dec 2018 at 13:54, Carsten Ehbrecht <<a href="mailto:ehbrecht@dkrz.de">ehbrecht@dkrz.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Suzana,<div><br></div><div>I haven’t tried process chaining for a long time and I didn’t investigate. But it would be nice to find out :)</div><div><br></div><div>There can be issues both in owslib.wps and pywps. I would recommend to start with “pure” WPS requests and not using owslib.wps (which might not support chaining at the moment).</div><div><br></div><div>Some links on testing pywps:</div><div><br></div><div>* <a href="https://github.com/PyWPS/pywps-workshop/blob/master/03-Testing.md" target="_blank">https://github.com/PyWPS/pywps-workshop/blob/master/03-Testing.md</a> </div><div>* <a href="https://birdhouse-workshop.readthedocs.io/en/latest/pywps/testing.html" target="_blank">https://birdhouse-workshop.readthedocs.io/en/latest/pywps/testing.html</a> </div><div><br></div><div>I can share my links on WPS chaining:</div><div><br></div><div>* <a href="https://geoserver.geo-solutions.it/edu/en/wps/chaining_processes.html" target="_blank">https://geoserver.geo-solutions.it/edu/en/wps/chaining_processes.html</a></div><div>* <a href="https://geoserver.geo-solutions.it/edu/en/wps/chaining_processes.html" target="_blank">https://geoserver.geo-solutions.it/edu/en/wps/chaining_processes.html</a></div><div><br></div><div>And also something with PyWPS but with the old 3.x version … don’t use it, just for reference:</div><div><br></div><div>* <a href="https://github.com/AnnaHomolka/PyWPS/blob/master/doc/tutorial_process_chaining.pdf" target="_blank">https://github.com/AnnaHomolka/PyWPS/blob/master/doc/tutorial_process_chaining.pdf</a></div><div>* <a href="https://www.slideshare.net/foss4g2011/eberle-processing-chainsmodispresentation" target="_blank">https://www.slideshare.net/foss4g2011/eberle-processing-chainsmodispresentation</a></div><div><br></div><div>Please share you experience … you may use a GitHub issue.</div><div><br></div><div>Sorry, for the wait.</div><div><br></div><div>Cheers,</div><div>Carsten</div><div><div>
<div style="overflow-wrap: break-word;"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">--</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Carsten Ehbrecht<br>Abteilung Datenmanagement<br><br>Deutsches Klimarechenzentrum GmbH (DKRZ)<br>Bundesstraße 45 a • D-20146 Hamburg • Germany<br><br>Phone: +49 40 460094-148<br>FAX:   +49 40 460094-270<br><a href="mailto:ehbrecht@dkrz.de" target="_blank">Email: ehbrecht@dkrz.de</a><br>URL:   <a href="http://www.dkrz.de" target="_blank">www.dkrz.de</a><br><br>Geschäftsführer: Prof. Dr. Thomas Ludwig<br>Sitz der Gesellschaft: Hamburg<br>Amtsgericht Hamburg HRB 39784 </div></div>
</div>
<br><div><blockquote type="cite"><div>On 12 Nov 2018, at 3:53 pm, Suzana Barreto <<a href="mailto:suzana.barreto@envsys.co.uk" target="_blank">suzana.barreto@envsys.co.uk</a>> wrote:</div><br class="gmail-m_3349152115573010095Apple-interchange-newline"><div><div dir="ltr">Hi All,<div><br></div><div>I was wondering if there is an xml template or xml example of a chained process POST request.  I have been trying to use OWSLib to chain my PyWPS Process requests but am finding it difficult as there is no examples of how this is achieved using OWSLib.  I have been able to 'simulate' a chained request by sending requests in order and then using the output from the first as the input to the next.  I have also tried embedding a request in another but have found that the library escapes the xml special characters, resulting in malformed xml.  I also attempted to manually create an XML POST request but not sure how the embedding is achieved ie. what is the element called that identifies a chained or embedded request.  So I would therefore like to know if anyone can point me in the right direction in terms of what the XML for a chained PyWPS request would look like.</div><div><div><br></div><div>Thanks,</div><div>Suzana</div>-- <br><div dir="ltr" class="gmail-m_3349152115573010095gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="font:7.5pt arial,sans-serif;color:gray;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255)"><b>Dr Suzana Barreto<br>Software Analyst<br>Environment Systems</b><br>Tel: <a style="color:rgb(17,85,204)" href="tel:%2B44%20%280%29%201970%20626688" value="+441970626688" target="_blank">+44 (0) 1970 626688</a><br><a style="color:rgb(17,85,204)" href="http://www.envsys.co.uk/" target="_blank">www.envsys.co.uk</a></p><p style="font:7.5pt arial,sans-serif;color:gray;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255)">The information contained in this e-mail is intended only for the use of the person(s) to whom it is addressed and may contain confidential or privileged information. If you have received this e-mail in error please contact the sender and delete the material without copying, distributing or disclosing the content. All reasonable precautions have been taken to ensure that this e-mail is free from any virus, however, the recipient should verify this to be the case. Please 'think before you print'</p></div></div></div></div></div></div>
_______________________________________________<br>pywps-dev mailing list<br><a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/pywps-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/pywps-dev</a></div></blockquote></div><br></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><p style="font:7.5pt arial,sans-serif;color:gray;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255)"><b>Dr Suzana Barreto<br>Software Analyst<br>Environment Systems</b><br>Tel: <a style="color:rgb(17,85,204)" href="tel:%2B44%20%280%29%201970%20626688" value="+441970626688" target="_blank">+44 (0) 1970 626688</a><br><a style="color:rgb(17,85,204)" href="http://www.envsys.co.uk/" target="_blank">www.envsys.co.uk</a></p><p style="font:7.5pt arial,sans-serif;color:gray;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;background-color:rgb(255,255,255)">The information contained in this e-mail is intended only for the use of the person(s) to whom it is addressed and may contain confidential or privileged information. If you have received this e-mail in error please contact the sender and delete the material without copying, distributing or disclosing the content. All reasonable precautions have been taken to ensure that this e-mail is free from any virus, however, the recipient should verify this to be the case. Please 'think before you print'</p></div></div></div></div>