Im trying to configure a WFS Server with oraclespatial.<br>This is the definition of the layer:<br><br>LAYER<br>&nbsp;&nbsp;&nbsp; NAME ferrocarriles<br>&nbsp;&nbsp;&nbsp; TYPE line<br>&nbsp;&nbsp;&nbsp; CONNECTIONTYPE oraclespatial<br>&nbsp;&nbsp;&nbsp; CONNECTION &quot;user/pass@SDE
&quot;<br>&nbsp;&nbsp;&nbsp; DATA &quot;SHAPE FROM RED_FERROCARRIL USING UNIQUE OBJECTID VERSION 9i&quot;<br>&nbsp;&nbsp;&nbsp; DUMP TRUE<br>&nbsp;&nbsp;&nbsp; DEBUG ON<br>&nbsp;&nbsp;&nbsp; TRANSPARENCY 0<br>&nbsp;&nbsp;&nbsp; PROJECTION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;init=epsg:23030&quot;<br>&nbsp;&nbsp;&nbsp; END&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<br>&nbsp;&nbsp;&nbsp; CLASS <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; NAME 'Red Ferrocarriles'&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; COLOR 255 0 255&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; END&nbsp; <br>&nbsp;&nbsp;&nbsp; METADATA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;wms_title&quot; &quot;Red Ferrocarriles&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;wms_abstract&quot; &quot;Red Ferrocarriles&quot;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;wms_keywordlist&quot; &quot;WMS Red Ferrocarriles&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;wfs_title&quot; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;Red Ferrocarriles&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;gml_featureid&quot;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;OBJECTID&quot;
<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;gml_include_item&quot;&nbsp;&nbsp;&nbsp; &quot;all&quot;<br>&nbsp;&nbsp;&nbsp; END<br>END<br><br>When i make a getcapabilities like:<br>
<br>
<a href="http://192.168.53.18:81/cgi-bin/mapserver?SERVICE=WFS&amp;VERSION=1.1.1&amp;REQUEST=Getcapabilities" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://192.168.53.18:81/cgi-bin/mapserver?SERVICE=WFS&amp;VERSION=1.1.1&amp;REQUEST=Getcapabilities
</a><br>
<br>
it shows me <br>
<br>
&lt;FeatureType&gt;<br>
&lt;Name&gt;ferrocarriles&lt;/Name&gt;<br>
&lt;Title&gt;ferrocarriles&lt;/Title&gt;<br>
&lt;SRS&gt;EPSG:4326&lt;/SRS&gt;<br>
&lt;LatLongBoundingBox minx=&quot;195210&quot; miny=&quot;4.07581e+006&quot; maxx=&quot;533545&quot; maxy=&quot;4.26175e+006&quot;/&gt;<br>
&lt;/FeatureType&gt;<br><br>But if i make a getfeature:<br><a href="http://192.168.53.18:81/cgi-bin/mapserver?service=WFS&amp;version=1.0.0&amp;request=getfeature&amp;typename=ferrocarriles" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://192.168.53.18:81/cgi-bin/mapserver?service=WFS&amp;version=1.0.0&amp;request=getfeature&amp;typename=ferrocarriles
</a><br><br>&lt;wfs:FeatureCollection xsi:schemaLocation=&quot;<a href="http://www.opengis.net/wfs" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mapserver.gis.umn.edu/mapserver" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mapserver.gis.umn.edu/mapserver</a> <a href="http://localhost:81/cgi-bin/mapserver?service=WFS&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=ferrocarriles&amp;OUTPUTFORMAT=XMLSCHEMA" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://localhost:81/cgi-bin/mapserver?service=WFS&amp;SERVICE=WFS&amp;VERSION=1.0.0&amp;REQUEST=DescribeFeatureType&amp;TYPENAME=ferrocarriles&amp;OUTPUTFORMAT=XMLSCHEMA</a>&quot;&gt;<br>−<br>&nbsp;&nbsp;&nbsp; &lt;gml:boundedBy&gt;<br>

−<br>&nbsp;&nbsp;&nbsp; &lt;gml:Box srsName=&quot;EPSG:4326&quot;&gt;<br>−<br>&nbsp;&nbsp;&nbsp; &lt;gml:coordinates&gt;<br>195210.088989,4075810.305023 533545.363841,4261747.980489<br>&lt;/gml:coordinates&gt;<br>&lt;/gml:Box&gt;<br>&lt;/gml:boundedBy&gt;
<br>&lt;/wfs:FeatureCollection&gt;<br><br>With some clients, like udig or gvsig i can connect to wfs, but i cant get info.<br><br>In apache´s error.log<br><br>[error] msOracleSpatialLayerOpen called with: SHAPE FROM RED_FERROCARRIL\r
<br>[error] msOracleSpatialLayerOpen. Shared connection not available. Creating one.\r<br>[error] msConnPoolRegister(ferrocarrile<div id="mb_0">s,user/pass@SDE,0173D7E0)\r<br>[error] msOracleSpatialLayerFreeItemInfo was called.\r
<br>[error] msOracleSpatialLayerWhichShapes was called.\r
<br>[error] msOracleSpatialLayerWhichShapes. Using this Sql to
retrieve the data: SELECT rownum, SHAPE FROM RED_FERROCARRIL WHERE
SDO_FILTER( SHAPE, MDSYS.SDO_GEOMETRY(2003, NULL,
NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,3),
MDSYS.SDO_ORDINATE_ARRAY(195210,4075810,533545,4261747)
),'querytype=window') = 'TRUE'\r<br>[error] msOracleSpatialLayerFreeItemInfo was called.\r<br>[error] msOracleSpatialLayerClose was called. Layer connection: user/pass@SDE
\r<br>[error] msOracleSpatialLayerClose. Cleaning layerinfo handlers.\r<br>[error] msOracleSpatialLayerClose. Cleaning Oracle handlers.\r<br>[error] msConnPoolRelease(ferrocarriles,user/pass@SDE,0173D7E0)\r<br>[error] msConnPoolClose(
user/pass@SDE,0173D7E0)\r<br>[error] msOracleSpatialLayerOpen called with: SHAPE FROM RED_FERROCARRIL\r<br>[error] msOracleSpatialLayerOpen. Shared connection not available. Creating one.\r<br>[error] msConnPoolRegister(ferrocarriles,
user/pass@SDE,0179A3F0)\r<br>[error] msOracleSpatialLayerFreeItemInfo was called.\r<br>[error] msOracleSpatialLayerGetItems was called.\r<br>[error] msOracleSpatialLayerInitItemInfo was called.\r<br>[error] msOracleSpatialLayerGetShape was called. Using the record = 1.\r
<br>[error] msOracleSpatialLayerClose was called. Layer connection: user/pass@SDE\r<br>[error] msOracleSpatialLayerClose. Cleaning layerinfo handlers.\r<br>[error] msOracleSpatialLayerClose. Cleaning Oracle handlers.\r<br>

[error] msConnPoolRelease(ferrocarriles,user/pass@SDE,0179A3F0)\r<br>[error] msConnPoolClose(user/pass@SDE,0179A3F0)\r<br><br>Does anybody know what is happening?<br><br>Thanxs<br clear="all"><span class="sg"><br></span>
</div><br>-- <br>José Ramón López<br>Tfno: 627 88 88 24