Sorry Andy, I've been pretty intensely engaged with a client this week and after a few initial leads, dropped off the thread!
You're so close! I was there a few months ago ... As far as I could tell there were a few issues hitting me in the GeoServer/ASP.Net land ... a) You're likely running IIS on :80 and your (GeoServer?) WFS on :8080. Most clients will fart very badly on this because when you use the WFS, you're sending scripted requests across domains. Even though server:80 and server:8080 are on the same server, the alternate ports constitute different domains. To solve this, I ran requests to GeoServer:8080 through a proxy in IIS b) The proxy I used was very simple ... Free, took ~36s to configure, but free and easy in this case meant not terribly sophisticated (I actually often exhibit the same symptoms!). By this I mean that I could read from the WFS but not post back to it (and do anything remotely transactional). If you want to post back the URL to the proxy you've been recommended here, I'd been keen to see if I can successfully implement/document the situation. Cheers, Sam -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Diego Guidi Sent: November-18-10 8:39 PM To: Andy Davis Cc: [email protected] Subject: Re: [OpenLayers-Users] Re: asp.net wfs proxy... (getting my ASP page to talk to GeoServer) > Looks to be a tag that I should include inside my "Default.aspx" page? Simply, copy both files ashx e ashx.cs to your Visual Studio web project, at the root directory. So then you have a new url to call: as example if you have a web project called "Sample", then copy the files into the root path and you have a new url called http://localhost/proxy.ashx or http://localhost:numport/proxy.ashx if you use integrated VS webserver. Use the new url as explained here: http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
