Skip to main content

Timeline for Unable to create WFS successfully

Current License: CC BY-SA 3.0

19 events
when toggle format what by license comment
Apr 13, 2017 at 12:33 history edited CommunityBot
replaced http://gis.stackexchange.com/ with https://gis.stackexchange.com/
Jan 20, 2015 at 20:45 answer added Thomas B timeline score: 0
Jun 4, 2012 at 22:15 vote accept Sam007
May 15, 2012 at 19:59 answer added YossBen timeline score: 0
May 15, 2012 at 19:10 answer added YossBen timeline score: 5
May 15, 2012 at 19:06 history edited Sam007 CC BY-SA 3.0
changes the dir and now cannot see the WFS
May 15, 2012 at 18:42 comment added Sam007 Ok now WMS is working but the map container is not visible if I use WFS. The container itself disappears. The developer tool is giving me this error Uncaught TypeError: Cannot read property 'Fixed' of undefined and yes the previous one which was NOT in /geoserver/data/www/ was giving this error in the developer tool XMLHttpRequest cannot load http://localhost:8080/geoserver/wfs. Origin http://localhost is not allowed by Access-Control-Allow-Origin.
May 15, 2012 at 18:16 comment added YossBen I don't think that var/www is the www folder of GeoServer. Mine for example is /Library/Tomcat/webapps/GeoServer/data/www/myfile.html
May 15, 2012 at 18:03 comment added YossBen If you've your HTML files in the www folder of GeoServer, you won't need to set up proxy!!
May 15, 2012 at 17:53 history edited Sam007 CC BY-SA 3.0
changed the HTML code file to new location as stated in the question
May 15, 2012 at 16:16 comment added Sam007 My code is already in the /var/www/test/map.html @YossBen. CaptDragon how do I setup a proxy?
May 15, 2012 at 12:46 history edited CaptDragon CC BY-SA 3.0
format code
May 15, 2012 at 12:45 comment added CaptDragon Not sure what could be wrong but I would try setting up the proxy if you have not already done so.
May 15, 2012 at 7:25 comment added YossBen Besides, there's no specific treatment to any layer in GeoServer to serve it as WFS. The Layer you serve as WMS can be served as well as WFS with no change in GeoServer. The change is in your OpenLayers code which u've done correctly..Keep ur shapefiles as they were. So tell me where are located your HTML files?
May 15, 2012 at 6:52 comment added YossBen I am not talking about the location of ur shapefiles. It's about your HTML files containing your OpenLayers code..
May 14, 2012 at 23:53 history edited Sam007 CC BY-SA 3.0
moved the shapefile folder to www folder
May 14, 2012 at 23:42 comment added Sam007 it is not in the www folder but it is hosted on the geoserver plus it works fine as a WMS
May 14, 2012 at 23:27 comment added YossBen From which folder are you serving your files? Is it from the www folder of GeoServer ? If not, for example if u're serving them from apache, then u need to set up proxy..I had the same issue. Answer so I can help u..
May 14, 2012 at 22:32 history asked Sam007 CC BY-SA 3.0