Issue with accessing WFS Service in Portal

339
2
11-22-2023 02:58 AM
Labels (2)
Govindarajan
New Contributor II

Hello All,

We are using ArcGIS Enterprise 10.8.1 on Windows VMs. 

Problem: WFS services that work with ArcGIS Online are not working when accessed from Enterprise Portal maps.

Description:

We are making use of a federated setup where we have GIS servers and Hosting servers federated to Portal 10.8.1. We have some set of WFS services published by DEFRA UK hosted at the https://environment.data.gov.uk site.

In ArcGIS Online I am able to access the WFS services using the Add Layer option. However, the same is not accessible from ArcGIS Enterprise Portal Maps.

Upon examining the HTTP requests, I found that ArcGIS Online to be sending HTTP GET Requests to the WFS endpoint and is successfully executing the GetCapabilities, DescribeFeatureType and GetFeature requests.

However, ArcGIS Enterprise uses HTTP GET for GetCapabilities,  DescribeFeatureType and  HTTP POST with a GML payload for GetFeature Request. While the site successfully responds to the GetCapabilities and DescribeFeatureType requests, it throws a HTTP 404 error message for the HTTP POST GetFeature Request.

Is anyone else facing similar issues?

While this could be attributed to the end source not honoring a HTTP POST request, is it possible to switch from HTTP POST to HTTP GET for a GetFeature request in ArcGIS Enterprise?

Pls refer to attached image.

Not sure why two different approaches have been adopted here.

Thanks for your time. Will summarize.

Regards

Govind

0 Kudos
2 Replies
Scott_Tansley
MVP Regular Contributor

The issue is that AGOL may have used a POST back when 10.8.1 was released.  It's getting quite an old version now.  I don't think this will work, but you could try adding the defra URL to the Trusted Servers:

https://enterprise.arcgis.com/en/portal/10.8/administer/windows/configure-security.htm#ESRI_SECTION1...

You can use either https://environment.data.gov.uk or just environment.data.gov.uk as the parameter.  I really don't think the trusted server thing will work, but it's got me out of jail a couple of times... 

Scott Tansley
Consulting Architect (ArcGIS Enterprise)
https://www.linkedin.com/in/scotttansley/
0 Kudos
thillaisoft
New Contributor

Hi Scott

Thanks for your response. I added the domain environment.data.gov.uk but that didnt work for me.

Regards

Govind

 

0 Kudos