<div>hi list,</div>
<div> </div>
<div>I am trying to load a WFS layer with json format </div>
<div> </div>
<div>var wfs = new OpenLayers.Layer.WFS("wfs_layer",<br> "<a href="http://server:port/geoserver/wfs">http://server:port/geoserver/wfs</a>",<br> {typename: 'topp:test_layer', maxfeatures: 200, outputformat: "json"},<br>
{ <br> featureClass: OpenLayers.Feature.WFS,<br> format: "GeoJSON",<br> extractAttributes:true,<br> styleMap:style<br> }<br> );<br clear="all"></div>
<div> </div>
<div>and the geoserver log shows the below request, but there are no results as per FireBug</div>
<div> </div>
<div> </div>
<div>11 Jan 17:31:35 INFO [geoserver.wfs] - <br>Request: getFeature<br> handle = null<br> service = WFS<br> version = 1.0.0<br> baseUrl = <a href="http://host:port/geoserver/">http://host:port/geoserver/</a><br>
providedVersion = 1.0.0<br> query = [net.opengis.wfs.impl.QueryTypeImpl@b0df53 (group: null, propertyName: null, function: null, filter: [ bbox POLYGON ((68.849301577111 30.391413707024, 68.849301577111 30.5524350196, 69.048093321031 30.5524350196, 69.048093321031 30.391413707024, 68.849301577111 30.391413707024)) ], sortBy: null, featureVersion: null, handle: null, srsName: null, typeName: [{<a href="http://www.openplans.org/topp}test_layer]">http://www.openplans.org/topp}test_layer]</a>)]<br>
maxFeatures = 200<br> outputFormat = json<br> resultType = results<br> traverseXlinkDepth = null<br> traverseXlinkExpiry = null<br> formatOptions = {}</div>
<div> </div>
<div> </div>
<div>I am not using the Proxy because I think you do not need it incase of JSON. but it seems I am missing something</div>
<div> </div>
<div>regards,-- <br>I.R<br></div>