Using net.opengis.wfs.GetFeatureType won't work if the request is a WFS 2.0 one. Look at the GetFeature code and see how to use the wrappers that make it possible for the code to work against the various GS versions. Add a test using WFS 2.0 to make sure it works.