I want to develop a WFS Server. When a client request read a layer, What the response of format should be?

Note: The language of this project is java servlet.

1 Answer 1


Why are creating your own WFS implementation? Can't you just use geoserver? WFS is a complex type of service, this won't be easy.

Anyway the response for WFS-GetFeature should include GML and optionally any other format you want. Geotools can provide you with the right JAVA API's to do this.

Just look at the documentation of geoserver for WFS if you want examples.

  • I can use geoserver, but there is no way to work with the users of geoserver with API in my Application. Commented Mar 10, 2015 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.