Select to view content in your preferred language

Custom SOE in ArcGIS Server 10 - REST API - InValid URL

5408
11
06-05-2011 02:15 PM
GovindarajanThillaividankan
Deactivated User
Hi

I am working on developing a Custom SOE using ArcGIS Server 10  SP 2 and .Net 3.5 Framework. This SOE is for performing Network Analysis on a Utility Network.

Issue: Clicking on the Custom SOE listed in the supported extensions in the services directory (in IE) displays Invalid URL

Description: I have developed the SOE using ESRI .Net REST Template in VS 2008 and registered it as per the instructions. The SOE has been enabled on a map service and the custom property page implemented for ArcCatalog using which I am able to assign the parameters. The values are properly getting stored in the MapService .cfg file. The SOE is also recorded in ServerTypesExt.dat file in the ArcGIS Server home server/system folder

But when i access the service URL in IE

http://127.0.0.1/ArcGIS/rest/services/CWTrace/MapServer/exts/TracingSOE_CleanWater

I get a message InValid URL.

After many attempts, I found this to be a bug identified in ArcGIS 10 pre-release i.e. 9.4 Beta 2.

ESRI Wikis - ArcGIS Server 10 PreRelease known issues:
NIM052845  Supported Extensions link in Services Directory should be shown only for Custom Server Object Extensions. Currently clicking on this link will return an "Invalid URL" error message.
Issue in:   9.4 Beta 2
But the status of this bug according to ESRI is closed as on Jan 2010.

Is anyone experiencing similar problems? pls let me know.

Secondly I used a simple .Net application to access the SOE using IServerObjectManager and i am able to access the SOE. This was used with IRESTRequestHandler interface to invoke the  GetSchema method which returns the values properly.

Inspite of these the problem continues and left clueless where it is going wrong.

Regards

Govindarajan
GIS Consultant
0 Kudos
11 Replies
nicogis
MVP Alum
I'm on confusion , now I have understand you mean work with Geometric Network:
see my soe how start up (source code):
http://resources.arcgis.com/Resources2010/gallery/file/arcobjects-net-api/details?entryID=0F09D031-1...


" rel="nofollow" target="_blank">http://www.youtube.com/watch?v=b3D0G68waL8[/video]


http://nicogis.blogspot.it/2012/05/geometric-network.html
0 Kudos
AhadKheirabadi
Emerging Contributor
Thank you Domenico for your help.

I wrote some code for doing the geometric network but my problem is accessing to UtilityNetworkAnalysisExt. Finally I found that it is not available in ArcGIS Server!!! And this is the ArcObject Library Reference for that:  http://edndoc.esri.com/arcobjects/9.2/ComponentHelp/esriEditorExt/UtilityNetworkAnalysisExt.htm

Anyway, Thanks for your time.
0 Kudos