<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi list,<br>
    <br>
      I'd like to raise this discussion again.<br>
    <br>
      I was told that what OpenLayers outputs is fine:<br>
    <br>
    <pre><wps:ResponseForm></pre>
    <pre>  <wps:RawDataOutput></pre>
    <pre>    <ows:Identifier xmlns:ows=<a moz-do-not-send="true" 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>
      In the above, the mimeType="application/json" is missing. 
    attribute missing but that can be easily fixed on my side.  It's the
    missing Output tag that zoo requires that is not there and I want to
    be sure if it should be there or not.  I.E., I want to know where
    this should be fixed: in Zoo or OpenLayers.<br>
    <br>
      The answer is there, in the schema, but I'm not familiar enough
    with what its content means. <a moz-do-not-send="true"
      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><br>
    <br>
      Thoughts ?<br>
    <br>
    Alexandre<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 14-08-27 09:14 AM, Alexandre Dubé
      wrote:<br>
    </div>
    <blockquote cite="mid:53FDD9D2.9070207@mapgears.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      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 moz-do-not-send="true"
        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 moz-do-not-send="true" 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 moz-do-not-send="true"
        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 moz-do-not-send="true" 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 moz-do-not-send="true"
        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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.mapgears.com/">http://www.mapgears.com/</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Zoo-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Zoo-discuss@lists.osgeo.org">Zoo-discuss@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss">http://lists.osgeo.org/cgi-bin/mailman/listinfo/zoo-discuss</a></pre>
    </blockquote>
    <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>