We are trying to generate GML 3.X for (1) an entire shapefile and its attribute table and (2) a geometry collection + minimal attributes returned from logic written in the ArcSDE API for Java. For case 1 the Deegree project has a simple converter for Shape2GMLv2. But we'd like to target the latest spec.
Does anyone know if there is way to get geoserver to act as a simple GML factory for these use cases?