I'm having troubles adding a WFS layer, published through Geomedia WebMap, to an ArcGIS Online map. It recognizes the url and the layer of the features, but doesn't show any features in the map (or in the attribute table) and doesn't recognize correctly the available fields (it only shows the first one).
In QGIS, I am able to add the data as a WFS data source with no problem.
Bellow I send the results of a query to the service returning only one feature:
<?xml version="1.0" encoding="utf-8"?> <gmgml:FeatureCollection numberOfFeatures="1" xmlns="http://www.intergraph.com/geomedia/gml" xmlns:gmgml="http://www.intergraph.com/geomedia/gml" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.intergraph.com/geomedia/gml http://myorganizationserver/Cadastro-WFS/service.svc/get?request=DescribeFeatureType&version=1.1.0&TypeName=VETROCOCOLECTORMUN&OutputFormat=text/xml;subtype=gml/3.1.1&service=wfs"> <gml:boundedBy> <gml:Envelope srsName="EPSG:3857"> <gml:lowerCorner>-1025452.67332012 4677949.3337205</gml:lowerCorner> <gml:upperCorner>-1025324.26923474 4677964.86696932</gml:upperCorner> </gml:Envelope> </gml:boundedBy> <gml:featureMember> <gmgml:VETROCOCOLECTORMUN gml:id="VETROCOCOLECTORMUN.132"> <gmgml:IPID>1022398</gmgml:IPID> <gmgml:DATA_DE_ACTUALIZACAO>2016-03-16</gmgml:DATA_DE_ACTUALIZACAO> <gmgml:GEOMETRY> <gml:LineString srsName="EPSG:3857"> <gml:posList srsDimension="2">-1025452.67332012 4677949.3337205 -1025324.26923474 4677964.86696932 </gml:posList> </gml:LineString> </gmgml:GEOMETRY> </gmgml:VETROCOCOLECTORMUN> </gml:featureMember> </gmgml:FeatureCollection>
I've noticed two strange things that I don't know if they can be the origin of the problem:
I'm seeing a lot of HTTP references in the xml - do you see any mixed content warnings if you open up Dev Tools? If you add the WFS layer over HTTPS do the features display?
Hope that helps,
-Peter
Hello, Peter Klingman,
Thanks for your contact!
I was not able to use the service at the time (back in february), so I had to access the data through other means. At this time I don't even have access to the mentioned WFS service, so I cannot debug the problem further.
Best regards,
Carlos