Hello! Thank you for your help, now we are one step further. After correcting the capabilities, we can see now a DescribeFeatureType beeing sent to the remote wfs. But after that it seem that there is a new problem:
2020-02-26 15:02:26,943 DEBUG [org.geotools.data.wfs.internal] - Using WFS Strategy: org.geotools.data.wfs.internal.v2_0.StrictWFS_2_0_Strategy 2020-02-26 15:02:26,944 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for LIST_STORED_QUERIES/POST 2020-02-26 15:02:26,944 DEBUG [org.geotools.data.wfs.internal] - No operation URI found for LIST_STORED_QUERIES/POST 2020-02-26 15:02:26,944 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for LIST_STORED_QUERIES/GET 2020-02-26 15:02:26,944 DEBUG [org.geotools.data.wfs.internal] - No operation URI found for LIST_STORED_QUERIES/GET 2020-02-26 15:02:28,627 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for TRANSACTION/POST 2020-02-26 15:02:28,627 DEBUG [org.geotools.data.wfs.internal] - No operation URI found for TRANSACTION/POST 2020-02-26 15:02:28,628 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for DESCRIBE_FEATURETYPE/GET 2020-02-26 15:02:28,629 DEBUG [org.geotools.data.wfs.internal] - Returning operation URI for DESCRIBE_FEATURETYPE/GET: http://192.168.1.125:8000/wfs? 2020-02-26 15:02:28,629 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for DESCRIBE_FEATURETYPE/POST 2020-02-26 15:02:28,629 DEBUG [org.geotools.data.wfs.internal] - Returning operation URI for DESCRIBE_FEATURETYPE/POST: http://192.168.1.125:8000/wfs? 2020-02-26 15:02:28,629 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for DESCRIBE_FEATURETYPE/POST 2020-02-26 15:02:28,629 DEBUG [org.geotools.data.wfs.internal] - Returning operation URI for DESCRIBE_FEATURETYPE/POST: http://192.168.1.125:8000/wfs? 2020-02-26 15:02:28,629 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for DESCRIBE_FEATURETYPE/GET 2020-02-26 15:02:28,630 DEBUG [org.geotools.data.wfs.internal] - Returning operation URI for DESCRIBE_FEATURETYPE/GET: http://192.168.1.125:8000/wfs? 2020-02-26 15:02:28,630 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for DESCRIBE_FEATURETYPE/GET 2020-02-26 15:02:28,630 DEBUG [org.geotools.data.wfs.internal] - Returning operation URI for DESCRIBE_FEATURETYPE/GET: http://192.168.1.125:8000/wfs? 2020-02-26 15:02:28,630 TRACE [org.geotools.data.wfs.internal] - Built GET request for DESCRIBE_FEATURETYPE: http://192.168.1.125:8000/wfs?NAMESPACE=xmlns%28ibk%3Dhttp%3A%2F%2Fyyyyy.de%29&TYPENAME=ibk%3Arecordings&REQUEST=DescribeFeatureType&VERSION=2.0.0&SERVICE=WFS 2020-02-26 15:02:28,630 TRACE [org.geotools.data.wfs.internal] - Sending DFT request to http://192.168.1.125:8000/wfs?NAMESPACE=xmlns%28ibk%3Dhttp%3A%2F%2Fyyyyy.de%29&TYPENAME=ibk%3Arecordings&REQUEST=DescribeFeatureType&VERSION=2.0.0&SERVICE=WFS 2020-02-26 15:02:28,630 TRACE [org.geotools.data.wfs.internal] - Looking operation URI for DESCRIBE_FEATURETYPE/GET 2020-02-26 15:02:28,630 DEBUG [org.geotools.data.wfs.internal] - Returning operation URI for DESCRIBE_FEATURETYPE/GET: http://192.168.1.125:8000/wfs? 2020-02-26 15:02:28,630 TRACE [org.geotools.data.wfs.internal] - Built GET request for DESCRIBE_FEATURETYPE: http://192.168.1.125:8000/wfs?NAMESPACE=xmlns%28ibk%3Dhttp%3A%2F%2Fyyyyyy.de%29&TYPENAME=ibk%3Arecordings&REQUEST=DescribeFeatureType&VERSION=2.0.0&SERVICE=WFS 2020-02-26 15:02:28,694 DEBUG [org.geotools.xsd] - looking up schema for http://www.opengis.net/gml 2020-02-26 15:02:28,694 DEBUG [org.geotools.xsd] - schema location: jar:file:/srv/tomcat/webapps/geoserver/WEB-INF/lib/gt-xsd-gml3-21.1.jar!/org/geotools/gml3/gml.xsd 2020-02-26 15:02:28,694 DEBUG [org.geotools.xsd] - looking up schema for http://www.w3.org/2001/XMLSchema 2020-02-26 15:02:28,694 DEBUG [org.geotools.xsd] - schema location: jar:file:/srv/tomcat/webapps/geoserver/WEB-INF/lib/gt-xsd-core-21.1.jar!/org/geotools/xs/XMLSchema.xsd 2020-02-26 15:02:28,694 DEBUG [org.geotools.xsd] - looking up schema for http://www.w3.org/2001/SMIL20/Language 2020-02-26 15:02:28,695 DEBUG [org.geotools.xsd] - schema location: jar:file:/srv/tomcat/webapps/geoserver/WEB-INF/lib/gt-xsd-gml3-21.1.jar!/org/geotools/gml3/smil/smil20-language.xsd 2020-02-26 15:02:28,695 DEBUG [org.geotools.xsd] - looking up schema for http://www.w3.org/1999/xlink 2020-02-26 15:02:28,695 DEBUG [org.geotools.xsd] - schema location: jar:file:/srv/tomcat/webapps/geoserver/WEB-INF/lib/gt-xsd-core-21.1.jar!/org/geotools/xlink/xlinks.xsd 2020-02-26 15:02:28,695 DEBUG [org.geotools.xsd] - looking up schema for http://www.w3.org/2001/SMIL20/ 2020-02-26 15:02:28,695 DEBUG [org.geotools.xsd] - schema location: jar:file:/srv/tomcat/webapps/geoserver/WEB-INF/lib/gt-xsd-gml3-21.1.jar!/org/geotools/gml3/smil/smil20.xsd 2020-02-26 15:02:28,695 DEBUG [org.geotools.xsd] - looking up schema for http://yyyyy.de 2020-02-26 15:02:28,695 DEBUG [org.geotools.xsd] - schema location: file:/var/cache/tomcat/temp/recordings5838872091302171551.xsd 2020-02-26 15:02:28,695 DEBUG [org.geotools.xsd] - building schema for schema: http://yyyyy.de 2020-02-26 15:02:28,702 ERROR [org.geotools.data.ows] - Failed to execute request http://192.168.1.125:8000/wfs?NAMESPACE=xmlns%28ibk%3Dhttp%3A%2F%2Fyyyyy.de%29&TYPENAME=ibk%3Arecordings&REQUEST=DescribeFeatureType&VERSION=2.0.0&SERVICE=WFS A first request is beeing sent at 2020-02-26 15:02:28,630, a further at 2020-02-26 15:02:28,702 does not work, the cached file does not exist. Maybe you hav a hint what is going wrong here? Thank you in advance Uwe Seher Am Mi., 26. Feb. 2020 um 11:41 Uhr schrieb mark <[email protected]>: > On 2020-02-26 09:08, Uwe Seher wrote: > > Thank you! As i do not have any java skills it is maybe better not to > provide a patch ;) > > At the moment we are trying to fix the capabilities document. Additional i > tried to change the wfs strategy to 'unstrict' via the web-formular, which > i thougth matches maybe better then 'strict'. > > 2020-02-26 08:56:36,161 DEBUG [org.geotools.data.ows] - Executed request > to URL: > http://192.168.1.125:8000/wfs?REQUEST=GetCapabilities&VERSION=2.0.2&SERVICE=WFS > 2020-02-26 08:56:36,161 WARN [org.geotools.data.wfs.internal] - Could not > handle wfs strategy override nonstrict proceeding with autodetection > 2020-02-26 08:56:36,161 DEBUG [org.geotools.data.wfs.internal] - Using WFS > Strategy: org.geotools.data.wfs.internal.v2_0.StrictWFS_2_0_Strategy > > Why is it not possible to change this? it always ends with autodetection, > which uses at the end the default strategy. Is it possible to change this > default setting? > > There is no other WFS 2 strategy in the code (at least not in GeoTools > 21.1). see: > https://github.com/geotools/geotools/tree/21.1/modules/unsupported/wfs-ng/src/main/java/org/geotools/data/wfs/internal/v2_0 > > You can compare that to WFS 1.x: > https://github.com/geotools/geotools/tree/21.1/modules/unsupported/wfs-ng/src/main/java/org/geotools/data/wfs/internal/v1_x > > Strategies are always assigned/detected from within geotools, eg. > characteristics of the capabilities document, a characteristic url etc. > from within WFSclient: > > > https://github.com/geotools/geotools/blob/5df58c1ab9b9585655b2fc132e8f2b15c8bf5dae/modules/unsupported/wfs-ng/src/main/java/org/geotools/data/wfs/internal/WFSClient.java#L138-L161 > > > Mark > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
