Can't add feature or map service to ArcGIS Online Map

4104
6
04-21-2012 07:56 AM
JamesLabate
New Contributor II
Hi all,
Both a map and feature service being served from SDE geodatabase fail to load in ArcGIS online map. The services appear when I search to add content but when I attempt to add them as a layer I get an error saying "layer cannot be added to the map." However, the map does zoom to the location of the features - it just doesn't render them.

SDE services do work with ArcGIS Online right? You don't have to be serving from ArcGIS for Server exclusively do you?

Does it matter that the original source of the two feature classes I'm testing were just shp files? I imported them into a personal and file GDB.

Could some kind of firewall/security be interfering? These map and feature services reside on a county emergency services server (that I don't have access to.

Again, all appears to be well. I see the services in my Group Page. the services appear when searched for. The map zooms to the feature's proper location when the service is added. But it doesn't render either the points or the lines. And then it errors out.

Anyone have an SDE / ArcGIS for Server platform they can toss this on from? 

Thanks in advance,
Jim
Tags (2)
0 Kudos
6 Replies
MikeMinami
Esri Notable Contributor
Your map and feature services can access SDE data from ArcGIS Server. Essentially, ArcGIS Server sits between your web server and your database server. Can you provide the REST endpoint of your map service? I'm guessing that it's not publicly accessible and thus, ArcGIS Online can't see it. A simple test would be to take the URL and see if you can see it outside your organization, for example from home when not connected to your organization.

Thanks,

Mike
0 Kudos
JamesLabate
New Contributor II
Your map and feature services can access SDE data from ArcGIS Server. Essentially, ArcGIS Server sits between your web server and your database server. Can you provide the REST endpoint of your map service? I'm guessing that it's not publicly accessible and thus, ArcGIS Online can't see it. A simple test would be to take the URL and see if you can see it outside your organization, for example from home when not connected to your organization.

Thanks,

Mike


Mike thanks for feedback.
I can find the service when I search for it to add it to Online Map (partially public accessible?) My situation is I am viewing it from home and a colleague is loading File GDB on a county govt. server. (Could there be firewall issues?)

REST end point being this?
/rest/services/Jim/GravityMain_2/MapServer

full path as it appears in from the service in the Online Group I set up:
http://sdeserver/sdeserver/rest/services/Jim/GravityMain_2/MapServer

No - can't view full path from browser/ ArcGIS Explorer

Thanks,
Jim
0 Kudos
MikeMinami
Esri Notable Contributor
This looks like the internal URL to your server, which you can't see outside of your organization. You need to find out if your server is externally accessible. Typically the URL would have your domain in it, like this:

"http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer"

ArcGIS Online won't be able to see any internal servers.

Thanks,

Mike
0 Kudos
JamesLabate
New Contributor II
Mike,
Thanks for steering us in the right direction. Although judging by discussions on the forum of trying to make internal servers available there are still major hurdles to overcome (http://forums.arcgis.com/threads/52734-arcgis-explorer-online-cannot-access-arcgis-server-located-on... )

What I don't understand is if the service is coming off an internal server and is not visible why does it "partially" work i.e. show up in my group page as a thumbnail with a link to open that in fact does open and even zooms to the basemap location of the file, albeit without rendering features?

More important though is getting this service functioning and added to my web map. Instead of going the route of keeping the service internal and setting up a "clientaccesspolicy.xml" - something that we know nothing about - what's your advice for simply making this one service public? Is it an all or nothing scenario where either all you services are public or all internal?

Thanks,
Jim
0 Kudos
JohnLance
New Contributor
I keep getting various errors when uploading.  I have made sure the .ZIP file is formatted correctly.  The attached image is of one of the error messages.

[ATTACH=CONFIG]13760[/ATTACH]
0 Kudos
JamesLabate
New Contributor II
Appreciate you trying but that's a file geodatabase I attached. It will not upload to ArcGIS Online. I meant if you happen to have a server running ArcGIsSfor Server can you attempt pushing this little test file out over the web as a feature or map service so I can then attempt to add it to ArcGIS Online map.

Jim
0 Kudos