sidhant

ArcGis Explorer Desktop cannot identify local server

Discussion created by sidhant on May 25, 2012
Hello all,
I am trying to connect to a local server (running on Arduino) which is offering GeoServices REST API from ArcGis Explorer Desktop.

It is able to make connection to the server but the Explorer is showing error message "Failed to connect to http://192.168.1.177/arcgis/rest/services (which is my catalog service URL)" probably because there is some error in the way I am replying back the JSON script to the explorer client.
Although I am able to make a successful connection from my Browser.

First of all, server was looking for GET requests from the Explorer but later got to know that it rather sends POST requests to the server.

To go in more detail, Explorer sent the following POST request to the server:
POST /arcgis/rest/services HTTP/1.1

POST /arcgis/rest/services HTTP/1.1

POST /arcgis/rest/services HTTP/1.1

POST /arcgis/services HTTP/1.1


and each time server responded by
HTTP/1.1 200 OK
Content-Type: text/plain
{my JSON response}


which according to the GeoServices REST specification is the correct reponse but as I mentioned, Explorer client is not able to identify its services.
Looking for your all help regarding this. Thanks in advance. (I think there is some problem in my response)

Outcomes