I think the problem is that you are using Oracle APEX ;)<br><br>On Friday, January 6, 2012, Neil T &lt;<a href="mailto:tallentn@gmail.com">tallentn@gmail.com</a>&gt; wrote:<br>&gt; Hello, my first post on an online forum, so I appoligize if I fail at the<br>
&gt; info!<br>&gt;<br>&gt; My setup:<br>&gt;<br>&gt; Tomcat 7.0.22, localhost:8082<br>&gt; GeoServer 2.1.3, hosted via Tomcat (also :8082)<br>&gt; Oracle XE/Apex 4.1, running via embedded XDB gateway on :8080<br>&gt; Openlayers 2.10 (tried 2.11, not sure if that was the issue, currently back<br>
&gt; on 2.10)<br>&gt; Python 2.7 (for my proxy script)<br>&gt; Using Firefox/Firebug for review<br>&gt;<br>&gt; I&#39;m attempting to offer a layer of point geometries from my XE DB as a<br>&gt; Vector layer on my map.  The layer displays fine in Geoserver<br>
&gt; (workspace:BETA_ORCL, layer:CC_COUNTRIES); I can preview in all formats.  I<br>&gt; had first attempted the GeoServer Proxy (proxy-2.1-SNAPSHOP), but was<br>&gt; unsuccessful and deleted the .jar from my web-inf/lib.  Next, I tried the<br>
&gt; proxy.cgi provided by Openlayers - it was origionally unsuccessful as well<br>&gt; (the section that rendered the &#39;qs&#39; &quot;QUERY_STRING&quot; as an array set was<br>&gt; truncating my url request at the first &amp;...I replaced with an lstrip(&#39;url=&#39;)<br>
&gt; to clean my url instead), and I can successfully pass a getFeature request<br>&gt; using the proxy by manually inserting the url (proxy and getFeatures call)<br>&gt; into a browser; it returns what seems to be a valid xml of my feature set.<br>
&gt;<br>&gt; All this leads me to believe my Geoserver can offer this layer as a wfs<br>&gt; layer (wfs is enabled, getCapabilities checks out, etc.) through the proxy.<br>&gt; Here&#39;s my layer call from javascript:<br>
&gt;<br>&gt; var countryLayer = new OpenLayers.Layer.Vector(&quot;WFS&quot;, {<br>&gt;    strategies: [new OpenLayers.Strategy.Fixed()],<br>&gt;    projection: new OpenLayers.Projection(&quot;EPSG:4326&quot;),<br>&gt;    protocol: new OpenLayers.Protocol.WFS({<br>
&gt;      url: &quot;<a href="http://localhost:8082/geoserver/wfs">http://localhost:8082/geoserver/wfs</a>&quot;,<br>&gt;      featurePrefix:&quot;BETA_ORCL&quot;,<br>&gt;      featureType: &quot;CC_COUNTRIES&quot;,<br>&gt;      geometryName: &quot;CENT_GEOM&quot;,<br>
&gt;      featureNS: &quot;<a href="http://betaora.org">http://betaora.org</a>&quot;,<br>&gt;      schema:<br>&gt; &quot;<a href="http://localhost:8082/geoserver/wfs?service=wfs&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typename=BETA_ORCL:CC_COUNTRIES">http://localhost:8082/geoserver/wfs?service=wfs&amp;version=1.1.0&amp;request=DescribeFeatureType&amp;typename=BETA_ORCL:CC_COUNTRIES</a>&quot;,<br>
&gt;      srsName: &quot;EPSG:4326&quot;,<br>&gt;      version: &quot;1.1.0&quot;<br>&gt;      })<br>&gt; });<br>&gt;<br>&gt; When the page renders, the only activity I see in the GeoServer logs is the<br>&gt; request for WMS tiles (my base map, which displays fine).  Nothing at all<br>
&gt; for WFS layer, no errors...nothing.  In FireBug, I get two warnings on the<br>&gt; console (regarding the xml.js and v1.js for openlayers) about null objects,<br>&gt; but no errors.  On the Net panel, the activity reads:<br>
&gt;<br>&gt; URL: OPTIONS cust.cgi?url=.... (on mouseover, changes to full<br>&gt; <a href="http://localhost:8082">http://localhost:8082</a>)<br>&gt; STATUS: 200 OK<br>&gt; DOMAIN: localhost:8082<br>&gt; SIZE: 0<br>&gt; Remote IP: localhost:8082<br>
&gt;<br>&gt; The response is completely empty.<br>&gt;<br>&gt; I&#39;m concerned because the net activity in Firebug for WMS layers starts with<br>&gt; POST/GET (vice OPTIONS); does this indicate the problem?<br>&gt;<br>&gt; Also unsure of the paramater calls for Protocol.WFS - I&#39;ve seen SOOO many<br>
&gt; combos that all claim to work (using/not using featureNS, schema, etc.)...do<br>&gt; I have it right?<br>&gt;<br>&gt; Finally; my Vector layer does create.  It is added to the layer selector,<br>&gt; and is under the dom objects.  However, there are no features; nothing<br>
&gt; displayed, nothing in the feature array, and the final two &lt;g&gt; elements<br>&gt; (vroot and troot) have no children.  If I manually add a feature (using the<br>&gt; markup controls), they are successfully added to the map and dom.  Which<br>
&gt; makes me think the layer IS working...just not getting data from Geoserver.<br>&gt;<br>&gt; Any help is SERIOUSLY appreciated...I&#39;m red-eyed from scouring forums, and<br>&gt; would love to get on with my life.  Thanks!<br>
&gt;<br>&gt; Neil<br>&gt;<br>&gt; --<br>&gt; View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/OL-vector-wfs-trouble-with-GeoServer-tp7159749p7159749.html">http://osgeo-org.1803224.n2.nabble.com/OL-vector-wfs-trouble-with-GeoServer-tp7159749p7159749.html</a><br>
&gt; Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>&gt; _______________________________________________<br>&gt; Users mailing list<br>&gt; <a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>&gt;