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"><<a href="mailto:luca.casagrande@gmail.com">luca.casagrande@gmail.com</a>></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 <<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>><br>
<div><div></div><div class="h5">><br>
> I tried all OpenLayers example with and without OpenLayers.proxyHost<br>
> but none suceeded<br>
> I also installed HSLayers and tried the example webpages in pywps gallery page.<br>
> The problem is the GetCapabilities is not working<br>
> when I run this url<br>
> <a href="http://localhost/cgi-bin/pywps.cgi?service=wps&version=1.0.0&request=GetCapabilities" target="_blank">http://localhost/cgi-bin/pywps.cgi?service=wps&version=1.0.0&request=GetCapabilities</a><br>
> I am getting XML output on browser<br>
> I can also describe and execute process by giving the whole url in browser<br>
> But the problem is when I use OpenLayers example in doc/examples/clientt<br>
> or<br>
> pywps/webclient/*.html<br>
> The code is not working.<br>
><br>
> If GetCapabilities worked using Openayers it will be great<br>
> anyone please help<br>
><br>
> On Mon, Oct 18, 2010 at 12:01 AM, Jorge de Jesus <<a href="mailto:jorge.jesus@gmail.com">jorge.jesus@gmail.com</a>> wrote:<br>
>><br>
>> Hi<br>
>><br>
>> Once again I am not so familiar with the OpenLayers example in the SVN, but it seems that getCapabilies doesn't get any XML<br>
>><br>
>> 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'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>
>><br>
>> Have you tried program something simpler in openlayers to see how it works ?<br>
>><br>
>> Jorge<br>
>><br>
>> On Sun, Oct 17, 2010 at 6:46 PM, Mohammed Rashad <<a href="mailto:mohammedrashadkm@gmail.com">mohammedrashadkm@gmail.com</a>> wrote:<br>
>>><br>
>>> The example is not working<br>
>>> pywps-3.1.0/doc/examples/clients/wps-WPS.html<br>
>>> Firebug output was<br>
>>> RESPONSE TAB<br>
>>> (blank)<br>
>>> HEADERS TAB<br>
>>> Response Headersview source<br>
</div></div>>>> DateSun, 17 Oct 2010 17:42:13 GMT<br>
>>> 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>
>>> Content-Typeapplication/xml<br>
>>> X-CacheMISS from <a href="http://hostelproxy.iiit.ac.in" target="_blank">hostelproxy.iiit.ac.in</a><br>
>>> X-Cache-LookupMISS from <a href="http://hostelproxy.iiit.ac.in:8080" target="_blank">hostelproxy.iiit.ac.in:8080</a><br>
>>> 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">>>> Proxy-Connection close<br>
>>> Request Headersview source<br>
>>> <a href="http://Hostapps.esdi-humboldt.cz" target="_blank">Hostapps.esdi-humboldt.cz</a><br>
</div>>>> 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>
>>> Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8<br>
>>> Accept-Languageen-us,en;q=0.5<br>
>>> Accept-Encodinggzip,deflate<br>
<div class="im">>>> Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7<br>
>>> Keep-Alive 115<br>
>>> Proxy-Connectionkeep-alive<br>
>>> Originnull<br>
>>> PARAMS TAB<br>
>>> requestGetCapabilitiesservicewpsversion1.0.0<br>
>>> XML TAB<br>
>>> 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>