Its now working I copied files from webclient to apache root folders.<div>Please add this information on wiki so that other users may save their time</div><div>The 01-init.html should be copied to /var/www or the document root</div>
<div>and it does not need to set OpenLayers.ProxyHost<br><br><div class="gmail_quote">On Mon, Oct 18, 2010 at 11:24 AM, <a href="mailto:luca.casagrande@gmail.com">luca.casagrande@gmail.com</a> <span dir="ltr">&lt;<a href="mailto:luca.casagrande@gmail.com">luca.casagrande@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Rashad,<br>
you should first try to build a simple app with OpenLayers, then move<br>
to pyWPS and<br>
check Execute and in the end merge both.<br>
Try to run those examples:<br>
<a href="http://pywps.wikispaces.com/OpenLayers" target="_blank">http://pywps.wikispaces.com/OpenLayers</a><br>
<br>
But first make sure that OpenLayers is working for you, expecially<br>
for proxy and cross-domain issues.<br>
<br>
Ciao<br>
Luca<br>
<br>
2010/10/17 Mohammed Rashad &lt;<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>&gt;<br>
<div><div></div><div class="h5">&gt;<br>
&gt; I tried all OpenLayers example with and without OpenLayers.proxyHost<br>
&gt; but none suceeded<br>
&gt; I also installed HSLayers and tried the example webpages in pywps gallery page.<br>
&gt; The problem is the GetCapabilities is not working<br>
&gt; when I run this url<br>
&gt; <a href="http://localhost/cgi-bin/pywps.cgi?service=wps&amp;version=1.0.0&amp;request=GetCapabilities" target="_blank">http://localhost/cgi-bin/pywps.cgi?service=wps&amp;version=1.0.0&amp;request=GetCapabilities</a><br>

&gt; I am getting XML output on browser<br>
&gt; I can also describe and execute process by giving the whole url in browser<br>
&gt; But the problem is when I use OpenLayers example in doc/examples/clientt<br>
&gt; or<br>
&gt; pywps/webclient/*.html<br>
&gt; The code is not working.<br>
&gt;<br>
&gt; If GetCapabilities worked  using Openayers it will be great<br>
&gt; anyone please help<br>
&gt;<br>
&gt; On Mon, Oct 18, 2010 at 12:01 AM, Jorge de Jesus &lt;<a href="mailto:jorge.jesus@gmail.com">jorge.jesus@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hi<br>
&gt;&gt;<br>
&gt;&gt; Once again I am not so familiar with the OpenLayers example in the SVN, but it seems that getCapabilies doesn&#39;t get any XML<br>
&gt;&gt;<br>
&gt;&gt; I am not familiar with the examples but the code is from a web site that jachym was developing, and looking at the code I am not certain if it can be installed in another computer, since it doesnt have a Openlayer proxy indication (at leasi can&#39;t see it) and then from your firebug output it seems that Javascript is doing a direct call (non proxy) to <a href="http://apps.esdi-humboldt.cz" target="_blank">apps.esdi-humboldt.cz</a><br>

&gt;&gt;<br>
&gt;&gt; Have you tried program something simpler in openlayers to see how it works ?<br>
&gt;&gt;<br>
&gt;&gt; Jorge<br>
&gt;&gt;<br>
&gt;&gt; On Sun, Oct 17, 2010 at 6:46 PM, Mohammed Rashad &lt;<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; The example is not working<br>
&gt;&gt;&gt; pywps-3.1.0/doc/examples/clients/wps-WPS.html<br>
&gt;&gt;&gt; Firebug output was<br>
&gt;&gt;&gt; RESPONSE TAB<br>
&gt;&gt;&gt; (blank)<br>
&gt;&gt;&gt; HEADERS TAB<br>
&gt;&gt;&gt; Response Headersview source<br>
</div></div>&gt;&gt;&gt; DateSun, 17 Oct 2010 17:42:13 GMT<br>
&gt;&gt;&gt; ServerApache/2.2.9 (Debian) mod_fastcgi/2.4.6 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 mod_perl/2.0.4 Perl/v5.10.0<br>
&gt;&gt;&gt; Content-Typeapplication/xml<br>
&gt;&gt;&gt; X-CacheMISS from <a href="http://hostelproxy.iiit.ac.in" target="_blank">hostelproxy.iiit.ac.in</a><br>
&gt;&gt;&gt; X-Cache-LookupMISS from <a href="http://hostelproxy.iiit.ac.in:8080" target="_blank">hostelproxy.iiit.ac.in:8080</a><br>
&gt;&gt;&gt; Via1.0 <a href="http://hostelproxy.iiit.ac.in:8080" target="_blank">hostelproxy.iiit.ac.in:8080</a> (squid/2.6.STABLE21)<br>
<div class="im">&gt;&gt;&gt; Proxy-Connection close<br>
&gt;&gt;&gt; Request Headersview source<br>
&gt;&gt;&gt; <a href="http://Hostapps.esdi-humboldt.cz" target="_blank">Hostapps.esdi-humboldt.cz</a><br>
</div>&gt;&gt;&gt; User-AgentMozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6<br>
&gt;&gt;&gt; Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>
&gt;&gt;&gt; Accept-Languageen-us,en;q=0.5<br>
&gt;&gt;&gt; Accept-Encodinggzip,deflate<br>
<div class="im">&gt;&gt;&gt; Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
&gt;&gt;&gt; Keep-Alive 115<br>
&gt;&gt;&gt; Proxy-Connectionkeep-alive<br>
&gt;&gt;&gt; Originnull<br>
&gt;&gt;&gt; PARAMS TAB<br>
&gt;&gt;&gt; requestGetCapabilitiesservicewpsversion1.0.0<br>
&gt;&gt;&gt; XML TAB<br>
&gt;&gt;&gt; XML Parsing Error: no element found Location: moz-nullprincipal:{32dd276a-cc97-4ee0-b298-eccfb6c18e95} Line Number 1, Column 1:^<br>
<br>
--<br>
</div>Luca Casagrande<br>
<a href="http://www.lucacasagrande.net" target="_blank">http://www.lucacasagrande.net</a><br>
twitter: lucacasagrande<br>
</blockquote></div><br><br clear="all"><br>-- <br>Rashad<br>
</div>