j.b.mapix

Beginner trying to get our map server to work

Discussion created by j.b.mapix on Sep 7, 2010
Latest reply on Sep 22, 2010 by j.b.mapix
I am following the guide
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jshelp/intro_firstmap.htm

That works, but as soon as I change the Map Server URL to our own map server, we start to get errors:
http://xxx:8399/arcgis/services/UK/MapServer?f=json&callback=dojo.io.script.jsonp_dojoIoScript1._jsonpCallback
throws an Apache Tomcat error, HTTP Status 405 - HTTP method GET is not supported by this URL

One thing I'm puzzled by is that our manager seems to be telling us the URL for our map service is actually:
http://xxx:8399/arcgis/services/UK/MapServer?wsdl
Why is the ?wsdl there but not in the sample? Is there a capability we have not turned on we need to?

If I try using that URL it still doesn't work - the call returns XML and nothing happens. I'm quessing from the GET parameters it was excepting some JSON wrapped in a JS function call.

Outcomes