<html><head></head><body bgcolor="#FFFFFF"><div>Umm, yes, theoretically, although I'm slightly confused why there is only one tab and hasn't got a response one. Your syntax looks fine, although others might be able to confirm that. As for proxy, as you say you should be fine, and if it wasn't you'd get some cross domain errors in your console.. </div><div><br></div><div>Sorry I can't help more. </div><div><br></div><div>Toby</div><div><br><br></div><div><br>On 4 Jul 2012, at 10:27, Pedro Costa <<a href="mailto:pedrocostaarma@sapo.pt">pedrocostaarma@sapo.pt</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  
    Hi Tobias,<br>
    <br>
    This(image attached)?<br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <blockquote cite="mid:4FF40C03.30603@sapo.pt" type="cite">
      <div class="moz-cite-prefix"> <br>
        Em 04-07-2012 10:21, Tobias Reinicke escreveu:<br>
      </div>
      <blockquote cite="mid:CAPitpCaZMrQ8CCis5r8a_9KZrK1AwNch-aqB7AfQyuZ8gAEfQQ@mail.gmail.com" type="cite">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 moz-do-not-send="true" 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="nowrap" valign="BASELINE">Assunto: </th>
                          <td>my vector data don't show up - wfs</td>
                        </tr>
                        <tr>
                          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Data: </th>
                          <td>Wed, 04 Jul 2012 09:56:54 +0100</td>
                        </tr>
                        <tr>
                          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">De: </th>
                          <td>Pedro Costa <a moz-do-not-send="true" href="mailto:pedrocostaarma@sapo.pt" target="_blank"><pedrocostaarma@sapo.pt></a></td>
                        </tr>
                        <tr>
                          <th align="RIGHT" nowrap="nowrap" valign="BASELINE">Para: </th>
                          <td><a moz-do-not-send="true" 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 moz-do-not-send="true" href="http://localhost:8080/geoserver/testes/wfs" target="_blank">"http://localhost:8080/geoserver/testes/wfs"</a>,
            featurePrefix:"testes",
            featureType: "testes:equipamentos",
            featureNS: "<a moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
              <a moz-do-not-send="true" 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>
      </blockquote>
      <br>
      <br>
    </blockquote>
    <br>
    <br>
  

</div></blockquote><blockquote type="cite"><div><request.png></div></blockquote></body></html>