Issue with connecting to more than one map service using single SOE

1891
2
01-22-2016 03:51 AM
ABHISHEKSINDAL1
New Contributor II

Scenario

We have created a SOE and attached it to a MapService in ArcGIS server. If we want to get object of that MapService then Iserverobject allows us to get the complete information regarding the map service.

Now we want to access another mapservice which is also present in the same server.

How can we connect to the second map service using same SOE?.

2 Replies
AbhishekRathi1
Occasional Contributor

Dear Abhishek,

First stop your server and try to install your SOE in server machine, restart the server and then configure the SOE with your map services. It will solve your purpose.

Thanks and Regards,

Abhishek Rathi

0 Kudos
AbhishekRathi1
Occasional Contributor

Dear Abhishek,

For accessing another mapservice which is also present in the same server try cascading service.

Kindly follow below procedure

Four main combinations have been identified.

  • Change all map services to use a map cache.
  • Change all map services to be dynamic map services (non-cached).
  • Change the primary map resource in the Web application to the dynamic map service.

Cascading services are not generally recommended, as service stability cannot be guaranteed. This workaround should only be implemented if the above workarounds are absolutely unusable and understood that service reliability might be less than 100%.

1. Create a map service, publish to ArcGIS Server, and create the cache.
2. Create a new MXD and add the cached ArcGIS Server map service and the dynamic data (shapefiles, feature classes, etc.).
3. Save the MXD and publish this combination MXD to ArcGIS Server.
4. Use the cascading map service as input to the Web application.

For more light on this topic please refer

Knowledge Base - Technical Articles(34552)

{34552 - Effectively combine cached and dynamic map services in a .NET Web Mapping Application }

Kindly refer this article also

{35903 - Should I cascade or embed one service within another? }

Thanks and Regards,

Abhishek Rathi