Closed zssai closed 3 years ago
Thank you for reporting.
@keshav-nangare Can you please analyze the reported behavior?
@dstenger
The reported request is submitted for basic:basic-polygons-sanity-check
test and layers are extracted from the service using
//wms:Layer[wms:Title = 'cite:BasicPolygons']/wms:Name
XPath. It fails to get value as the given service contains the layer title in the CDATA
element as you can see below.
Is it a valid way to define and please guide me on this?
@keshav-nangare Can you please check if wms:Name
can be used to identify the layer instead as the name must not be CDATA
?
If this is possible, please create a fix and pull request.
@dstenger
I have updated XPath to identify layer using wms:Name
and tested these changes successfully on my machine. Please find the changes in #78 PR.
I publish a WMS service, and test it with the online Team Engine, however, I can't get the image. By checking the requests, I find that the parameter LAYERS passed to the getMap operation is empty. you can test it with the service: https://ags.geoq.cn/arcgis/services/test/CiteWMS/MapServer/WMSServer?request=GetCapabilities&service=WMS&version=1.3.0 Why the value of the LAYERS is empty?