Hi Gérald,<br><br>I really appreciate your quick response, but still no luck for me and I'm still getting only the header along with a app crash. So probably I need to try it on another machine. By the way do I need to install any c++ runtime, visual studio or so? <br>
<br>Thanks,<br>Yingqi <br><br><div class="gmail_quote">On Sat, Jul 10, 2010 at 9:50 AM,  <span dir="ltr"><<a href="mailto:gerald.fenoy@geolabs.fr">gerald.fenoy@geolabs.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"> Hı Yıngqı,<br>I uploaded the fıle agaın (but ın the rıght dırectory thıs tıme), please can you try to download agaın ?<br><br>I tested and ıt should work,<br>Regards,<br><br>Djay<br><p>---- Envoyé avec BlackBerry® d'Orange ----</p>
<hr><div><b>From: </b> Yingqi Tang <<a href="mailto:anakintang@gmail.com" target="_blank">anakintang@gmail.com</a>>
</div><div><b>Date: </b>Sat, 10 Jul 2010 07:12:06 -0700</div></div><div><b>To: </b>Gérald Fenoy<<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>></div><div><b>Cc: </b>ZOO-discuss<<a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp" target="_blank">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a>></div>
<div><b>Subject: </b>Re: [ZOO-Discuss] Premature end of script headers: zoo_loader.cgi on 
        Windows</div><div><div></div><div class="h5"><div><br></div>  Hi Gérald,<br><br>Thanks a lot for helping out here. I double checked and libxml2.dll is present under the same folder as zoo_loader.cgi and both of them are under OSGeo3W\bin (only difference is that I installed OSGeo4w under e:\programs which I don't think is the cause). I haven't tried the dumpbin yet which I will give a try though later today.<br>

<br>By the way <a href="http://zoo-project.org/dl/zoo_loader_cmd.cgi" target="_blank">http://zoo-project.org/dl/zoo_loader_cmd.cgi</a> is not accessible, can you provide it again?<br><br>I really appreciate it.<br><br>Thanks,<br>

Yingqi <br><br><div class="gmail_quote">On Sat, Jul 10, 2010 at 2:49 AM, Gérald Fenoy <span dir="ltr"><<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div style="word-wrap: break-word;"><div>Yingqi,differe<div>thanks to answer.</div><div><br></div><div>It is a strange behavior that you get here. Indeed you should get the ExceptionReport on win32 platform when running zoo_loader from the c:\OSGeo4W\bin directory. Here you get only the header of the HTTP Response, can you cofirm that the libxml2.dll is present in the same directory than your ZOO Kernel ?</div>

<div><br></div><div>Did you try using the free Microsoft Visual C++ 2008 tools as dumpbin to get more informations on dependencies ? If yes, can you please give us the result here ?</div><div><br></div><div>The zoo_loader.cgi should run out of the box using the runtime provided on the ZOO4W web page. Nevertheless, as the next ZOO Kernel will be able to run directly from the command line, I recompile a new WIN32 version that you can be downloaded from here : <a href="http://zoo-project.org/dl/zoo_loader_cmd.cgi" target="_blank">http://zoo-project.org/dl/zoo_loader_cmd.cgi</a> . Using this version, you should be able to run ZOO Kernel from the command line, for instance :</div>

<div><br></div></div><div>cd c:\OSGeo4W\bin</div><div><div>.\zoo_loader_cmd.cgi "serviceprovider=&metapath=&request=GetCapabilities&service=wps"</div><div><br></div><div>Here you should get the Capabilities XML Document displayed in your terminal (and the header at the begining as you get before).</div>

<div><br></div><div>Please note that currently on win32 platform you still need to use the serviceprovider and metapath parameters in your request. This will be removed soon, as in the ongoing new ZOO Kernel version (unfortunately not currently on the svn but we work hard on it to make it available next week).</div>

<div><br></div><div>Hope it helps,</div><div>regards, </div><div><br></div></div><div>ps: Yingqi, forgive for cross posting but I answered on zoo-discuss to. </div><div><br></div><div><div><div>Le 10 juil. 2010 à 07:28, Yingqi Tang a écrit :</div>

<br></div><div><div></div><div><blockquote type="cite">Gérald,<br><br>All necessary dll are in place (under osgeo4w/bin) and executing .\zoo_loader.cgi gives me following output<br><br>ContentType: text/xml; chartset=utf-8<br>

Status: 200ok <br><br>Then the program stopped with a windows application crash dialog box. So is that normal?<br>
<br>Is it possible to test GetCapabilities, DescribeProcess or so locally instead of going through webserver?<br><br>Thanks<br><br><div class="gmail_quote">On Fri, Jul 9, 2010 at 5:08 PM, Yingqi Tang <span dir="ltr"><<a href="mailto:anakintang@gmail.com" target="_blank">anakintang@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Thanks, i will give it a try.<div><div></div><div><br><br><div class="gmail_quote">
On Fri, Jul 9, 2010 at 4:21 PM, Gérald Fenoy <span dir="ltr"><<a href="mailto:gerald.fenoy@geolabs.fr" target="_blank">gerald.fenoy@geolabs.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



<div style="word-wrap: break-word;">Yingqi,<div>you can also test the ZOO Kernel from command line using the following commands :</div><div><br></div><div>cd c:\OSGeo4W\bin</div><div>.\zoo_loader.cgi </div><div><br></div>



<div>You should get an ExceptionReport returned here else an error window displayed telling you what is the missing dll.</div><div><br></div><div>If you get the microsoft visual 9.0 you can also use its dumpbin tool (dumpbin /dependents zoo_loader.cgi) after setting your environment variables using the vcvars32.bat .</div>



<div><br></div><div>Hope it helps,</div><div>regards, </div><div> <br><div><div>Le 10 juil. 2010 à 01:12, Gérald Fenoy a écrit :</div><div><div></div><div><br><blockquote type="cite"><div style="word-wrap: break-word;">
Hi Yingqi,<div>using ZOO Kernel on win32 require the following dll :</div><div><br></div><div> libfcgi.dll</div><div> libcurl.dll</div><div> python25.dll</div><div> libxml2.dll</div><div><br></div><div>Hope it helps,</div>



<div>regards,</div><div><br><div><div>Le 10 juil. 2010 à 00:03, Yingqi Tang a écrit :</div><br><blockquote type="cite">Hi all,<br><br>I am newbie to ZooWPS and I'm trying setup ZooWPS on my 
Windows 7 box through ZOO4W. I read the doc and followed the steps 
below:<br><br>1. Install OSGeo4W (I had that already for GDAL, QGIS, 
Apache etc.) and load necessary library;<br>
2. I also installed the Apache through OSGeo4W too, which is running 
fine (other cgi based app like MapServer is running fine through 
OSGeo4W's bin folder)<br>3. Copy those ZooWPS related files under 
OSGeo4W bin folder;<br>
4. Start the Apache server and type <a href="http://host/cgi-bin/zoo_loader.cgi?Service=WPS&Request=GetCapabilities&Version=1.0.0" target="_blank">http://host/cgi-bin/zoo_loader.cgi?Service=WPS&Request=GetCapabilities&Version=1.0.0</a>
 in browser;<br>
<br>What I'm getting is an error message saying there is an internal 
server error, and apache server log says "Premature end of script 
headers: zoo_loader.cgi". I don't know what I did wrong and what else I 
can try to make it work.<br>
<br>Can any one help me on this?<br><br>Thanks,<br><font color="#888888">Yingqi</font>
_______________________________________________<br>Zoo-discuss mailing list<br><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp" target="_blank">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br><a href="http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss" target="_blank">http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss</a><br>



</blockquote></div><br><div>
<span style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>



<span style="font-size: 12px;"><div style="margin: 0px;">Gérald Fenoy</div><div style="margin: 0px;"><a href="mailto:gerald.fenoy@geolabs.fr" target="_blank"><span style="color: rgb(0, 0, 238);">gerald.fenoy@geolabs.fr</span></a></div>



<div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">GEOLABS</div><div style="margin: 0px;">Siège social :</div><div style="margin: 0px;">Futur Building I</div>



<div style="margin: 0px;">1280, avenue des Platanes</div><div style="margin: 0px;">34970 Lattes</div><div style="margin: 0px;">Tél. fixe : 04 67 53 67 37</div><div style="margin: 0px;">Tél. portable : 06 70 08 25 39</div>



</span></div></span>
</div>
<br></div></div>_______________________________________________<br>Zoo-discuss mailing list<br><a href="mailto:Zoo-discuss@gisws.media.osaka-cu.ac.jp" target="_blank">Zoo-discuss@gisws.media.osaka-cu.ac.jp</a><br><a href="http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss" target="_blank">http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss</a><br>



</blockquote></div></div></div><div><div></div><div><br><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>



<span style="font-size: 12px;"><div style="margin: 0px;">Gérald Fenoy</div><div style="margin: 0px;"><a href="mailto:gerald.fenoy@geolabs.fr" target="_blank"><span style="color: rgb(0, 0, 238);">gerald.fenoy@geolabs.fr</span></a></div>



<div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">GEOLABS</div><div style="margin: 0px;">Siège social :</div><div style="margin: 0px;">Futur Building I</div>



<div style="margin: 0px;">1280, avenue des Platanes</div><div style="margin: 0px;">34970 Lattes</div><div style="margin: 0px;">Tél. fixe : 04 67 53 67 37</div><div style="margin: 0px;">Tél. portable : 06 70 08 25 39</div>



</span></div></span>
</div>
<br></div></div></div></div></blockquote></div><br>
</div></div></blockquote></div><br>
</blockquote></div></div></div><div><div></div><div><br><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>

<span style="font-size: 12px;"><div style="margin: 0px;">Gérald Fenoy</div><div style="margin: 0px;"><a href="mailto:gerald.fenoy@geolabs.fr" target="_blank"><span style="color: rgb(0, 0, 238);">gerald.fenoy@geolabs.fr</span></a></div>

<div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px; min-height: 14px;"><br></div><div style="margin: 0px;">GEOLABS</div><div style="margin: 0px;">Siège social :</div><div style="margin: 0px;">Futur Building I</div>

<div style="margin: 0px;">1280, avenue des Platanes</div><div style="margin: 0px;">34970 Lattes</div><div style="margin: 0px;">Tél. fixe : 04 67 53 67 37</div><div style="margin: 0px;">Tél. portable : 06 70 08 25 39</div>

</span></div></span>
</div>
<br></div></div></div></blockquote></div><br>

</div></div></blockquote></div><br>