[Geoserver-users] getting reason for WFS getcapablities parsing error

Hello,

Can someone please tell me an efficient way to produce a compliant WFS
GetCapabilities response that Geoserver will accept.

The error message I am getting back is just "Error parsing WFS 1.0.0
Capabiliies" the capabiliities document is below and based on one that
Geoserver 1.7.4 has handled successfully.

I tried to turn on debugging via the config interface but am not getting
anything in the log relating to the parsing error, do I have to restart
tomcat to see a change?

Thanks for any suggestions.

****************************************************************

<?xml version="1.0" encoding="UTF-8"?>
<wfs:WFS_Capabilities version="1.0.0" updateSequence="0"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-capabilities.xsd&quot;
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:emii="http://www.imos.org.au/emii&quot;
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns="http://www.opengis.net/wfs&quot;&gt;
<Service>
<Name>MapServer WFS</Name>
<Title>xxx
        </Title>
<Abstract>
xxx
        </Abstract>
<Keywords>
xxx
        </Keywords>

<OnlineResource>http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&lt;/OnlineResource&gt;
<Fees>NONE</Fees>
<AccessConstraints>
          variable; refer to layer abstract
        </AccessConstraints>
</Service>
<Capability>
<Request>
<GetCapabilities>
<DCPType>
<HTTP>
<Get
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>

<DCPType>
<HTTP>
<Post
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>
</GetCapabilities>
<DescribeFeatureType>
<SchemaDescriptionLanguage>
<XMLSCHEMA/>
</SchemaDescriptionLanguage>
<DCPType>
<HTTP>
<Get
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>
<DCPType>
<HTTP>

<Post
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>
</DescribeFeatureType>
<GetFeature>
<ResultFormat>
<GML2/>
</ResultFormat>
<DCPType>
<HTTP>
<Get
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>

</DCPType>
</GetFeature>
</Request>
</Capability>
<FeatureTypeList>
<Operations>
<Query/>
</Operations>
<FeatureType>
<Name>sensor</Name>
<Title>Sensors</Title>
<Abstract>Sensors</Abstract>
<Keywords>Blah Blah</Keywords>

<SRS>EPSG:4283</SRS>
<LatLongBoundingBox minx="-180.00" miny="-90.0" maxx="180.0" maxy="90.0"/>
</FeatureType>
</FeatureTypeList>
<ogc:Filter_Capabilities>
<ogc:Spatial_Capabilities>
<ogc:Spatial_Operators>
<ogc:BBOX/>
</ogc:Spatial_Operators>
</ogc:Spatial_Capabilities>
<ogc:Scalar_Capabilities/>
</ogc:Filter_Capabilities>
</wfs:WFS_Capabilities>

--
View this message in context: http://www.nabble.com/getting-reason-for-WFS-getcapablities-parsing-error-tp23476540p23476540.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Steve,

Steve Cameron wrote:

Hello,

Can someone please tell me an efficient way to produce a compliant WFS
GetCapabilities response that Geoserver will accept.

I am not sure exactly what you mean by that. Do you mean "GetCapabilities request"?

The error message I am getting back is just "Error parsing WFS 1.0.0
Capabiliies" the capabiliities document is below and based on one that
Geoserver 1.7.4 has handled successfully.

Again, a bit lost. Are you getting this message from GeoServer? Or in a client?

Sorry for the confusion, hopefully reiterating the problem will help.

-Justin

I tried to turn on debugging via the config interface but am not getting
anything in the log relating to the parsing error, do I have to restart
tomcat to see a change?

Thanks for any suggestions.

****************************************************************

<?xml version="1.0" encoding="UTF-8"?>
<wfs:WFS_Capabilities version="1.0.0" updateSequence="0"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-capabilities.xsd&quot;
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:emii="http://www.imos.org.au/emii&quot;
xmlns:gml="http://www.opengis.net/gml&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns="http://www.opengis.net/wfs&quot;&gt;
<Service>
<Name>MapServer WFS</Name>
<Title>xxx
        </Title>
<Abstract>
xxx
        </Abstract>
<Keywords>
xxx
        </Keywords>

<OnlineResource>http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&lt;/OnlineResource&gt;
<Fees>NONE</Fees>
<AccessConstraints>
          variable; refer to layer abstract
        </AccessConstraints>
</Service>
<Capability>
<Request>
<GetCapabilities>
<DCPType>
<HTTP>
<Get
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>

<DCPType>
<HTTP>
<Post
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>
</GetCapabilities>
<DescribeFeatureType>
<SchemaDescriptionLanguage>
<XMLSCHEMA/>
</SchemaDescriptionLanguage>
<DCPType>
<HTTP>
<Get
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>
<DCPType>
<HTTP>

<Post
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>
</DescribeFeatureType>
<GetFeature>
<ResultFormat>
<GML2/>
</ResultFormat>
<DCPType>
<HTTP>
<Get
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post
onlineResource="http://silver-bluenet.zoo.utas.edu.au:8080/DataTurbineWeb2/faimms?&quot;/&gt;
</HTTP>

</DCPType>
</GetFeature>
</Request>
</Capability>
<FeatureTypeList>
<Operations>
<Query/>
</Operations>
<FeatureType>
<Name>sensor</Name>
<Title>Sensors</Title>
<Abstract>Sensors</Abstract>
<Keywords>Blah Blah</Keywords>

<SRS>EPSG:4283</SRS>
<LatLongBoundingBox minx="-180.00" miny="-90.0" maxx="180.0" maxy="90.0"/>
</FeatureType>
</FeatureTypeList>
<ogc:Filter_Capabilities>
<ogc:Spatial_Capabilities>
<ogc:Spatial_Operators>
<ogc:BBOX/>
</ogc:Spatial_Operators>
</ogc:Spatial_Capabilities>
<ogc:Scalar_Capabilities/>
</ogc:Filter_Capabilities>
</wfs:WFS_Capabilities>

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.