Hello again.<br><br>Im trying to configure a WFS Server with oraclespatial.<br>This is the definition of the layer:<br><br>LAYER<br>NAME &quot;ferrocarriles&quot;<br>TYPE LINE<br>STATUS ON<br>DUMP TRUE<br>DEBUG ON<br>CONNECTIONTYPE oraclespatial
<br>CONNECTION &quot;user/pass@SDE&quot;<br>DATA &quot;SHAPE FROM RED_FERROCARRIL USING VERSION 9i&quot;<br>PROJECTION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;init=EPSG:4326&quot;<br>END<br><br>METADATA<br>&nbsp;&nbsp;&nbsp; &quot;wfs_title&quot;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &quot;Ferrocarriles&quot;
<br>&nbsp;&nbsp;&nbsp; &quot;gml_featureid&quot;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &quot;OBJECTID&quot;<br>&nbsp;&nbsp;&nbsp; &quot;gml_include_items&quot; &nbsp;&nbsp;&nbsp; &quot;all&quot;<br>&nbsp;&nbsp;&nbsp; <br>END<br>CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NAME &quot;ferrocarriles&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STYLE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 200 255 0
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br>END<br>END&nbsp; # layer<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">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">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">http://www.opengis.net/wfs</a> <a href="http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd">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">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">
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(ferrocarriles,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"><br>-- <br>José Ramón López<br>
Tfno: 627 88 88 24