-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TestName : Test wfs:wfs-1.1.0-Basic-GetFeature-tc5 #54
Comments
|
Following function returns an empty result "gfExt:findFeatureTypeAndPropertyName". Can you please provide a test server or an example capabilities document so that we can analyse the problem more in detail? |
|
Is the issue still urgent? Can you please provide the capabilities document leading to the described failure? |
|
Sorry for the delay. |
|
Ok, as we can see in the Capabilities only one feature type tows:worldboundaries is provided by the WFS. Can you provide the DescribeFeatureType response, so we can get further information about the structure of the data? If possible it would be also helpful to take a look at the full GetRecords Response. |
|
DescribeFeatureType response : GetFeature response : |
|
Well, your FeatureType is named tows:worldboundaries in the Capabilities, but tows:world_boundaries in the DescribeFeatureType-Response and GetFeature-Response. The names must match exactly, as the test looks for data based on the notation in the Capabilities. Does the GetFeature request with typename=tows:worldboundarie really return features from world_boundaries? |
|
Earlier I have this tows:worldboundaries in my setup but now the setup has changed to tows:world_boundaries but both layers are same. I can share shape file, If you want. You can consider tows:world_boundaries same as tows:worldboundaries. |
|
OK, so the capabilities in on of the previous command are outdated and contains the feature type tows:world_boundaries instead of tows:worldboundaries? |
|
Yes. |
|
I cannot reproduce the error with the responses you provided (after changing the feature type name in the capabilities). Lets take a look what the test and the precondition step of the test respectively does:
The failure "WFS does not provide data to use in this test" says, that there are not features (or no features with the expected properties) are available, maybe because the GetFeature-Response is empty. I've tested locally with a mock service and reduced the number of features returned from GetFeature-Response to 6. It could be that some features cannot be parsed and therefore an exception is thrown. Do you see any exception in the log? You could also provide the log files downloaded from the testsuite session. Furthermore the GetFeature response is not valid xml. The URL of the DescribeFeatureType-Request in the schemaLocation should be escaped (& instead of &), correct would be: http://www.aaaa.com/ http://localhost:19090/WFS?service=WFS&version=1.1.0&request=DescribeFeatureType&Typename=tows:world_boundaries |
|
Please download the log files from the session and attach them here. |
|
@Vinni0803, can you please provide the log files or an example test server for us to further inspect this issue. Thank you! |
|
@Vinni0803, is this issue still occurring? If it is the case, can you please provide more information? Otherwise, the issue can be closed. |
|
May I ask what the solution for the problem was? Because I ran into the same situation with this test failing. |
|
We did not do any fix as we could not reproduce the error. Otherwise, @jeanmichelfischer , can you please provide a test service we can use to reproduce the error? Also, the log output and error message could be helpful for us. |
|
@dstenger here is a service you can use: https://services.interactive-instruments.de/ogc-reference/simple/wfs?request=getcapabilities&service=wfs (for 2 or 3 weeks it will be the same content, after that I would like to enable WFS 2.0.0 on it again.) (It is called simple, because there is no chance to pass the tests with more complex application schemas) The Log is: Assertion: XPath 1.0 shall be used to address parts of an XML representation using ogc:PropertyName. Support for Message d155e8905_1: Result: Failed |
|
Thank you for providing further information. The log of TEAM Engine itself does not provide any additional information which are not already mentioned in this issue. However, the logging of the Java code provides following information: The problems occur from the DescribeFeatureType and GetFeature output which cannot be parsed correctly. When trying to validate the GetFeature output of "River" against WFS 1.1.0 and DescribeFeatureType schema, following error occurs: Also, several schema locations are not reachable. |
|
Thank you for your answer. The Java-Log says it all, but is unfortunately not visible for the testers. I'll investigate this after my holidays (end of August). |
|
@dstenger Thanks again for your investigation. After correcting the unaccessible schema file the error was gone. |


I.m using tinyows server for WFS. Here is the configuration file for tinyows server :
Here is the map file:
Test case info : http://cite.opengeospatial.org/teamengine/about/wfs/1.1.0/site/ats-wfs11-basic-cc/GetFeature/GET/BasicGetFeature-GET-tc5.html
Log of test case :
Message d149e8734_1:
And I'm sending this request it returns correct result :
So I don't no why this test case is getting failed. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: