I left all the other settings as default, so I'm fairly sure the gml level
stayed as 0.
Ian
On 11 Feb 2016 19:13, "Ben Caradoc-Davies" <[email protected]> wrote:
> Ian,
>
> this is the complex feature WFS client in gt-wfs-ng!
>
> https://github.com/geotools/geotools/wiki/ComplexFeature-Parsing-and-Building-Support
>
> Did you set your WFSDataStoreFactory:GML_COMPLIANCE_LEVEL to something
> greater than 0?
>
> This is the AFAIK the OGC Simple Features Profile compliance level. SF-0
> means simple features, and SF-1 or or SF-2 means complex features. Anything
> greater than zero should cause the simple feature client to be ignored.
>
> Setting WFSDataStoreFactory:GML_COMPLIANCE_LEVEL to 0 seemed to allow me
> to add this service as a data store (but I did not try to publish anything).
>
> Kind regards,
> Ben.
>
> On 12/02/16 06:04, Ian Turton wrote:
>
>> I've been trying to write the section on WFS cascading in my training
>> course today but I'm unable to get any WFS (including a local GeoServer on
>> another port) to work, Has anyone else seen this? When ever I try to
>> create
>> a layer it bombs out with
>> a root cause of
>>
>> Caused by: java.lang.RuntimeException: Failed to resolve
>>
>> http://giswebservices.massgis.state.ma.us/geoserver/wfs?NAMESPACE=xmlns%28massgis%3Dhttp%3A%2F%2Fmassgis.state.ma.us%2Ffeaturetype%29&TYPENAME=massgis%3AAFREEMAN.AUDUBON_BIRD_S_V&REQUEST=DescribeFeatureType&VERSION=2.0.0&SERVICE=WFS
>> at
>> org.geotools.xml.resolver.SchemaResolver.resolve(SchemaResolver.java:207)
>> at
>>
>> org.geotools.data.complex.config.EmfComplexFeatureReader.findSchemaNamespace(EmfComplexFeatureReader.java:138)
>> at
>>
>> org.geotools.data.complex.config.EmfComplexFeatureReader.parse(EmfComplexFeatureReader.java:120)
>> at
>>
>> org.geotools.data.wfs.impl.WFSContentDataAccess.getSchema(WFSContentDataAccess.java:197)
>> at
>>
>> org.geotools.data.wfs.impl.WFSContentComplexFeatureSource.getSchema(WFSContentComplexFeatureSource.java:211)
>> at
>>
>> org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:347)
>> at
>>
>> org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:329)
>> at
>>
>> org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:349)
>>
>> If you paste that URL into a browser it works fine, so I'm not sure what
>> the issue is, though I seem to recall a discussion about schemas a while
>> back.
>>
>> Anyone got some idea before I raise an issue and start digging?
>>
>> cheers
>>
>> Ian
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>> Monitor end-to-end web transactions and take corrective actions now
>> Troubleshoot faster and improve end-user experience. Signup Now!
>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>>
>>
>>
>> _______________________________________________
>> Geoserver-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>>
>>
> --
> Ben Caradoc-Davies <[email protected]>
> Director
> Transient Software Limited <http://transient.nz/>
> New Zealand
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel