[Users] WMSCapabilities: needed a different proxy from OpenLayers one?

Andrés Maneiro amaneiro at icarto.es
Fri Feb 18 13:03:33 CET 2011


On 18/02/11 12:50, Hugo wrote:
> Not sure what's hapenning but for sure Openlayers proxy should work. Are
> your configurations of the proxy correct (you must include
> localhost:8080 in your allowed hosts)?
>

yep, it is. Here some more test I'm doing:

- If I type the URI in my browser I get the XML capabilities response:
thttp://localhost:8080/geoserver/wms?_dc=1298030235325&service=WMS&request=GetCapabilities

- If I type the URI by using the proxy I got an error message
http://localhost/cgi-bin/proxy.cgi?url=http://localhost:8080/geoserver/wms?_dc=1298030235325&service=WMS&request=GetCapabilities

<?xml version="1.0" encoding="UTF-8"?><ServiceExceptionReport 
version="1.3.0" xmlns="http://www.opengis.net/ogc" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.opengis.net/ogc 
http://localhost:8080/geoserver/schemas/wms/1.3.0/exceptions_1_3_0.xsd"> 
   <ServiceException code="MissingParameterValue" locator="request">
       Could not determine geoserver request from http request 
org.springframework.security.wrapper.SavedRequestAwareWrapper at 18b24cb
</ServiceException></ServiceExceptionReport>

Seems I'm missing some parameter, but I can't realize which one. Thoughts?

best,
amaneiro


More information about the Users mailing list