I just started using geotools, and am trying to
understand some of the basics. I've configured
geoServer to use a legacy mysql table as a datastore.
I believe the server side is configured properly. The
geoServer (getCapabilities) demo returns the feature
IDs (rows), and attributes (columns) of a legacy dB
table associated with my datastore.
I have a small Java test application, which seems to
work. I can see the attributes for the "topp:states"
and "topp:bc_roads" features, but not the new
datastore. When I try to get a feature reader for the
new data store, using the associated query:
FeatureReader ftReader =
I get an exception
org.xml.sax.SAXException: Could not find element
handler for http://localhost:8080/myNS : description
as a child of legacyDBTable_Type
When I call wfs.getSchema("myNS:legacyDBTable") the
schema looks OK. And snooping the connection I can
see the attributes being returned to the client during
the call to "wfs.getFeatureReader". So at this point
I'm not sure how to configure the feature reader to
work with this particular datastore. I'm guessing it
has to do with the name space or description???
Rekindle the Rivalries. Sign up for Fantasy Football