<html><body><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">Hi all, </div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;"><br data-mce-bogus="1"></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">I would recommend not to mix responses based on OGC WPS (equal to XML-based responses) with requests that are not in line with "typical" WPS requests. </div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;"><br data-mce-bogus="1"></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">I would assume the following: </div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">1) If the request is something like /wps?service=WPS&request=Pause&jobid=<process_id> (this is a typical WPS request) the response should be XML-based along with or based on the XML defined by the WPS specification. </div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">2) If the request is something like /processes/pause/<process_id> (not defined at all by OGC) the response, in my opinion, should be JSON-based (because this is easier for every programming language!)</div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;"><br data-mce-bogus="1"></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">The first is OGC-like, the second is completely different from any OGC specification. <br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;"><br data-mce-bogus="1"></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">Furthermore: Is it "good pratice" to include elements, such as "wps:ProcessPaused", that are not in line with the XML schema of the WPS specification?</div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;"><br data-mce-bogus="1"></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">Cheers,</div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;">Jonas</div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;" data-mce-style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000;"><br><span id="zwchr" data-marker="__DIVIDER__">----- Am 17. Jun 2016 um 14:50 schrieb Jan Rudolf <rudolja1@fit.cvut.cz>:<br></span><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">Hi, <br><br>I've implemented pause/resume/kill into PyWPS in a form, that you make<br>HTTP request with /processes/pause/<process_id>, the process is paused<br>and you will get just text response "<process_id> is paused". I think,<br>that Jachym said, you want the response in an XML form like:<br><br><wps:ExecuteResponse ...><br> <wps:Process wps:processVersion="None"><br> <ows:Identifier>sleep</ows:Identifier><br> <ows:Title>Sleep Process</ows:Title><br> <ows:Abstract>This process will sleep for a given delay or 10<br>seconds if not a valid value</ows:Abstract><br> </wps:Process><br> <wps:Status creationTime="2016-06-16T22:13:25Z"><br> <wps:ProcessAccepted>PyWPS Process sleep<br>accepted</wps:ProcessAccepted><br> </wps:Status><br></wps:ExecuteResponse><br><br>so for paused/killed/resumed processes is going to be similar response<br>only with different status? <wps:ProcessPaused>PyWPS Process sleep<br>paused</wps:ProcessPaused> for example.<br><br>Thanks, Jan<br>_______________________________________________<br>pywps-dev mailing list<br>pywps-dev@lists.osgeo.org<br>http://lists.osgeo.org/mailman/listinfo/pywps-dev</blockquote></div></div><br></div></body></html>