[OpenLayers-Dev] Re: [Pywps-devel] examples not working
Mohammed Rashad
mohammedrashadkm at gmail.com
Mon Oct 18 02:57:40 EDT 2010
Its now working I copied files from webclient to apache root folders.
Please add this information on wiki so that other users may save their time
The 01-init.html should be copied to /var/www or the document root
and it does not need to set OpenLayers.ProxyHost
On Mon, Oct 18, 2010 at 11:24 AM, luca.casagrande at gmail.com <
luca.casagrande at gmail.com> wrote:
> Hi Rashad,
> you should first try to build a simple app with OpenLayers, then move
> to pyWPS and
> check Execute and in the end merge both.
> Try to run those examples:
> http://pywps.wikispaces.com/OpenLayers
>
> But first make sure that OpenLayers is working for you, expecially
> for proxy and cross-domain issues.
>
> Ciao
> Luca
>
> 2010/10/17 Mohammed Rashad <mohammedrashadkm at gmail.com>
> >
> > I tried all OpenLayers example with and without OpenLayers.proxyHost
> > but none suceeded
> > I also installed HSLayers and tried the example webpages in pywps gallery
> page.
> > The problem is the GetCapabilities is not working
> > when I run this url
> >
> http://localhost/cgi-bin/pywps.cgi?service=wps&version=1.0.0&request=GetCapabilities
> > I am getting XML output on browser
> > I can also describe and execute process by giving the whole url in
> browser
> > But the problem is when I use OpenLayers example in doc/examples/clientt
> > or
> > pywps/webclient/*.html
> > The code is not working.
> >
> > If GetCapabilities worked using Openayers it will be great
> > anyone please help
> >
> > On Mon, Oct 18, 2010 at 12:01 AM, Jorge de Jesus <jorge.jesus at gmail.com>
> wrote:
> >>
> >> Hi
> >>
> >> Once again I am not so familiar with the OpenLayers example in the SVN,
> but it seems that getCapabilies doesn't get any XML
> >>
> >> 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
> apps.esdi-humboldt.cz
> >>
> >> Have you tried program something simpler in openlayers to see how it
> works ?
> >>
> >> Jorge
> >>
> >> On Sun, Oct 17, 2010 at 6:46 PM, Mohammed Rashad <
> mohammedrashadkm at gmail.com> wrote:
> >>>
> >>> The example is not working
> >>> pywps-3.1.0/doc/examples/clients/wps-WPS.html
> >>> Firebug output was
> >>> RESPONSE TAB
> >>> (blank)
> >>> HEADERS TAB
> >>> Response Headersview source
> >>> DateSun, 17 Oct 2010 17:42:13 GMT
> >>> 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
> >>> Content-Typeapplication/xml
> >>> X-CacheMISS from hostelproxy.iiit.ac.in
> >>> X-Cache-LookupMISS from hostelproxy.iiit.ac.in:8080
> >>> Via1.0 hostelproxy.iiit.ac.in:8080 (squid/2.6.STABLE21)
> >>> Proxy-Connection close
> >>> Request Headersview source
> >>> Hostapps.esdi-humboldt.cz
> >>> 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
> >>> Accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
> >>> Accept-Languageen-us,en;q=0.5
> >>> Accept-Encodinggzip,deflate
> >>> Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
> >>> Keep-Alive 115
> >>> Proxy-Connectionkeep-alive
> >>> Originnull
> >>> PARAMS TAB
> >>> requestGetCapabilitiesservicewpsversion1.0.0
> >>> XML TAB
> >>> XML Parsing Error: no element found Location:
> moz-nullprincipal:{32dd276a-cc97-4ee0-b298-eccfb6c18e95} Line Number 1,
> Column 1:^
>
> --
> Luca Casagrande
> http://www.lucacasagrande.net
> twitter: lucacasagrande
>
--
Rashad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20101018/1fac3d9f/attachment-0001.html
More information about the Dev
mailing list