If you expand that "options.wfs" in the firebug console, what does the "response" tab have in it?<div><br></div><div><br><br><div class="gmail_quote">On 4 July 2012 10:09, Pedro Costa <span dir="ltr"><<a href="mailto:pedrocostaarma@sapo.pt" target="_blank">pedrocostaarma@sapo.pt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <br>
    <div><br>
      
      I forgot image....<br>
      <br>
      <br>
      <div><br>
        <br>
        -------- Mensagem Original --------
        <table border="0" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <th align="RIGHT" nowrap valign="BASELINE">Assunto:

              </th>
              <td>my vector data don't show up - wfs</td>
            </tr>
            <tr>
              <th align="RIGHT" nowrap valign="BASELINE">Data:
              </th>
              <td>Wed, 04 Jul 2012 09:56:54 +0100</td>
            </tr>
            <tr>
              <th align="RIGHT" nowrap valign="BASELINE">De: </th>
              <td>Pedro Costa <a href="mailto:pedrocostaarma@sapo.pt" target="_blank"><pedrocostaarma@sapo.pt></a></td>
            </tr>
            <tr>
              <th align="RIGHT" nowrap valign="BASELINE">Para:
              </th>
              <td><a href="mailto:openlayers-users@lists.osgeo.org" target="_blank">openlayers-users@lists.osgeo.org</a></td>
            </tr>
          </tbody>
        </table><div class="im">
        <br>
        <br>
        <pre>Hi,

I'm trying to add vector data to my map from geoserver but data don't 
show up.
I tried like that:


var wfs = new OpenLayers.Layer.Vector("Equipamentos_WFS", {
            strategies: [new OpenLayers.Strategy.BBOX()],
            protocol: new OpenLayers.Protocol.WFS({
            url: <a href="http://localhost:8080/geoserver/testes/wfs" target="_blank">"http://localhost:8080/geoserver/testes/wfs"</a>,
            featurePrefix:"testes",
            featureType: "testes:equipamentos",
            featureNS: "<a href="http://namespacetestes.pt" target="_blank">namespacetestes.pt</a>",
            srsName: "EPSG:900913",
            geometryName: "the_geom",
            version: "1.0.0"
            })
            });

map.addLayer(wfs);

I'm using only data from localhost (my computer) so i don't need proxy 
right?
Using firebug I can see that the request is made, but returns nothing 
(image attached).

Can anybody help me?


Thanks
</pre>
        <br>
        <br>
      </div></div>
      <br>
      <br>
      <br>
    </div>
    <br>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br></div>