<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi list,<br>
    <br>
    <h4>In summary<br>
    </h4>
      In summary, my question is: Should there be the extra 'Output'
    node inside the 'RawDataOutput' node ?<br>
    <br>
    <h4>Details<br>
    </h4>
      I'm trying zoo for the first time.  I'm currently using the server
    available here: <a class="moz-txt-link-freetext" href="http://zoo-project.org/cgi-bin-new1/zoo_loader.cgi">http://zoo-project.org/cgi-bin-new1/zoo_loader.cgi</a><br>
    <br>
      Using OpenLayers 2.13.1 WPSClient widget, I'm able to easily build
    and issue WPS Execute requests.  The XML produced is built by
    OpenLayers.Format.WPSExecute format, which outputs the following
    ResponseForm node:<br>
    <br>
    <pre><wps:ResponseForm></pre>
    <pre>  <wps:RawDataOutput></pre>
    <pre>    <ows:Identifier xmlns:ows=<a class="moz-txt-link-rfc2396E" href="http://www.opengis.net/ows/1.1">"http://www.opengis.net/ows/1.1"</a>>Result</ows:Identifier></pre>
    <pre>  </wps:RawDataOutput></pre>
    <pre></wps:ResponseForm></pre>
    <br>
    When using the above with zoo_loader.cgi, it replies an error:
    'Wrong RawDataOutput parameter, unable to fetch any result for the
    name your provided : "unknownIdentifier".'<br>
    <br>
    Looking at the
    <a class="moz-txt-link-freetext" href="http://www.zoo-project.org/site/ZooWebSite/Demo/SpatialTools">http://www.zoo-project.org/site/ZooWebSite/Demo/SpatialTools</a>
    example, I notice the following ResponseForm being manually
    produced:<br>
    <br>
    <pre><wps:ResponseForm></pre>
    <pre>  <wps:RawDataOutput></pre>
    <pre>    <wps:Output mimeType="application/json"></pre>
    <pre>      <ows:Identifier>Result</ows:Identifier></pre>
    <pre>    </wps:Output></pre>
    <pre>  </wps:RawDataOutput></pre>
    <pre></wps:ResponseForm></pre>
    <br>
    So there's an extra Output node there.  I'm currently not sure if
    it's really supposed to be, but OpenLayers.Format.WPSExecute doesn't
    produce it.  If we look at the WPSExecute source code here
    (<a class="moz-txt-link-freetext" href="https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Format/WPSExecute.js#L178">https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Format/WPSExecute.js#L178</a>),
    we see that it doesn't produce the Output node. Should it be
    produced ?  <br>
    <br>
    I'm not familiar with schema definitions, so I'm not sure how to
    read the one for WPS Execute:
    <a class="moz-txt-link-freetext" href="http://schemas.opengis.net/wps/1.0.0/wpsExecute_request.xsd">http://schemas.opengis.net/wps/1.0.0/wpsExecute_request.xsd</a>.  I most
    certainly tell if the Output node should/must be there.<br>
    <br>
    Any clue ?<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Alexandre Dubé
T: +1 418-696-5056 #203
<a class="moz-txt-link-freetext" href="http://www.mapgears.com/">http://www.mapgears.com/</a></pre>
  </body>
</html>