Select to view content in your preferred language

Using HTTP feeds in ArcGIS for Portal

1689
4
08-30-2017 12:43 AM
michelleoldfield2
Emerging Contributor

Hi there,

We have a Portal instance set up in Azure and I want to be able to use WMS & WFS feeds from the web in our maps.  I am able to add HTTPS services such as below, but when I try to add a HTTP service I get the error that the "It is either not available or you have entered an invalid URL for the type of layer you want to reference." I am able to add both services to AGOL without any problems.

The security in our Portal looks as though it should be able to receive HTTP (see attached image) but is there something else I need to do to ensure that the mixed content will work or am I barking up the wrong tree?

https://map.bgs.ac.uk/arcgis/services/GeoIndex_Onshore/boreholes/MapServer/WmsServer 

This feed works fine

Environment Data WMS Service 

Error message received in Portal: "It is either not available or you have entered an invalid URL for the type of layer you want to reference."

I have also tried adding the Environment data to a map that has a British National Grid basemap in case it is the projections that is preventing it from loading, although I would have thought that I would have received a different error message??

Any help would be much appreciated.

Many thanks

0 Kudos
4 Replies
JonathanQuinn
Esri Notable Contributor

How are you accessing the web map viewer?  Over http or https?  If you're reaching it over https, open the map viewer over http and try to add the http WMS/WFS feed.  You can also take a look at the Dev tools within Chrome to see what the problem is.  Fiddler could also work but the dev tools will give you console output as well, which may help a bit more than just looking at the HTTP traffic.

0 Kudos
michelleoldfield2
Emerging Contributor

Hi Jonathan,

Thanks for your reply.

We use HTTPS by default, but I opened the web map viewer in HTTP and still received the same error.  I am not too familiar with the Dev tools in Chrome, but noticed that I was getting the following warnings.  I am unable to add this particular feed to AGOL together either so there may be something going on with their Server?

However, I was able to add this wms feed to AGOL and not our Portal (over HTTP web map) and received the same error message and the following:

http://www.geostore.com/OGC/OGCInterface?INTERFACE=ENVIRONMENT&UID=UDATAGOV2011&PASSWORD=datagov2011

Thanks again for your help.

0 Kudos
JonathanQuinn
Esri Notable Contributor

I was able to get the WMS service working in AGOL:

In regards to the errors in your Portal, when you see a request go through the sharing proxy, (https://<machine>.<domain>.com/arcgis/sharing/proxy?<url>), that means the request is actually being made from the Portal machine itself.  Does your Portal machine have access to that resource?  An easy way to test this is to sign onto the machine as the user running the Portal Windows service or the install user on Linux and try to reach the WMS URL in a browser.  If you can't as that user, then you'll need to speak with your IT staff about allowing outbound access to external resources.

0 Kudos
michelleoldfield2
Emerging Contributor

Thanks again Jonathan,

We have resolved this issue by establishing a trust relationship with the providing server, through the security tab in our Portal.

Cheers,

Michelle