Hi Cameron and "list".
Now I managed to get the time to make a little debugging.
In ModelBase.js the URL is set to (around line #85)
sUri=getProxyPlusUrl(sUri).
A function in Util,js, which sets the URL as (around line #56):
url=config.proxyUrl+
"?url="+escape(url).replace(/\+/g,'%2C').replace(/\"/g,'%22').replace(/\'/g,'%27').
This results in the URL being changed from:
"
http://infudv1:8080/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=brnby:DasKnude&SRS=EPSG:25832&BBOX=710084.36,6168442.59,719205.09,6175139.87&WIDTH=600&HEIGHT=400&FORMAT=image/png&INFO_FORMAT=application/vnd.ogc.gml&FEATURE_COUNT=1&QUERY_LAYERS=brnby:DasKnude&X=398&Y=188
"
into:
"/mapbuilder/server/php/proxy.php?url=http%3A//infudv1%3A8080/geoserver/wms%3FSERVICE%3DWMS%26VERSION%3D1.1.1%26REQUEST%3DGetFeatureInfo%26LAYERS%3Dbrnby%3ADasKnude%26SRS%3DEPSG%3A25832%26BBOX%3D714784%2C6169191%2C715624%2C6169751%26WIDTH%3D600%26HEIGHT%3D400%26FORMAT%3Dimage/png%26INFO_FORMAT%3Dapplication/vnd.ogc.gml%26FEATURE_COUNT%3D1%26QUERY_LAYERS%3Dbrnby%3ADasKnude%26X%3D395%26Y%3D138"
This results in the error loading page failure at ModelBase.js (at line
#112):
xmlHttp.send(objRef.postData);
The page http://docs.codehaus.org/display/MAP/GetFeatureInfo+tips+and+tricks
states
there could be problems involved with the proxy. This seems to be related to
this problem too. But I have no idea what to do, to solve this problem.
Best regards
Thomas Rokkjaer
On 6/26/07, Cameron Shorter <[EMAIL PROTECTED]> wrote:
I haven't used IIS so can't comment on whether it works or not.
However, I suggest you do some debugging to determine what queries are
being sent. Make sure they go to the correct URL. Test the URL outside
Mapbuilder.
Have a look at the Mapbuilder debugging page.
http://communitymapbuilder.org/display/MAP/Debugging
In particular, you probably want to look at FireBug.
Thomas Rokkjaer wrote:
> Could this be a Microsoft problem?
>
> For testing purposes I installed Tomcat Apache 6.0.13 and deployed
> MapBuilder 1.5-alpha1 on my local workstation. The GetFeatureInfo()
services
> worked fine in the demos here.
>
> The development server (Windows 2003/IIS) is running a ASP.NETapplication
> with MapBuilder (1.0.1) installed in /webroot and all GetFeatureInfo()
> services in the demos returns the beforementioned "error loading page"
> message. This setup was not my idea ;-)
>
> I tried installing MapBuilder 1.5-alpha1 on the development server to
see if
> this could remove the problem. But the result is still the same. That
makes
> me think if there is a problem with this M$ setup.
>
> Any thoughts/experiences with this out there?
>
> Since the application is built in .NET, the solution might be to use a
more
> integrated .NET GIS viewer instead...and that would really be a shame...
>
>
--
Med venlig hilsen
Thomas Rokkjær
Mobil 3095 0774
http://picasaweb.google.com/thomas.rokkjaer
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users