[Geoserver-devel] [jira] Created: (GEOS-946) WFS 1.1 sample requests not working

WFS 1.1 sample requests not working
-----------------------------------

                 Key: GEOS-946
                 URL: http://jira.codehaus.org/browse/GEOS-946
             Project: GeoServer
          Issue Type: Bug
          Components: WFS
    Affects Versions: 1.6.0-alpha2
            Reporter: Andrea Aime
         Assigned To: Justin Deoliveira
             Fix For: 1.6.0

Trying out sample requests on Geoserver trunk (in particular WFS_GetFeatureBBox1.1.xml)
I get the following:

java.lang.RuntimeException: Multiple responses: (class net.opengis.wfs.impl.FeatureCollectionTypeImpl)
  at org.geoserver.ows.Dispatcher.response(Dispatcher.java:546)
  at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:205)
  at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:139)
  at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684)
  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625)
  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:392)
  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:357)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:445)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1050)
  at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
  at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1041)
  at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:354)
  at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:226)
  at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:627)
  at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141)
  at org.mortbay.jetty.Server.handle(Server.java:269)
  at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:430)
  at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:701)
  at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:617)
  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:193)
  at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:339)
  at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:208)
  at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475)

The two responses I see debugging it are instances of GML2OutputFormat and GML3OutputFormat,
and they both bind to net.opengis.wfs.FeatureCollectionType.... this does not happen with wfs 1.0.

My environment is a little different, in that I have registered a wfsv service that extends wfs,
so I'm not sure this is reproducable with plain trunk but... I have no idea where to look to solve this.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira