<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---> The request failed with HTTP status 404: Service Not Found or Not Started.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
if (ArcGISDynamicMapServiceLayer(liveLayers).id != "Aerial Photography")
Jason, Open a web browser and test if the web service is doing what it is suppose to. So on the ArcGIS Server machine that you ran the setup on type "http://localhost/restLegend/restLegend.asmx" and then click on generateLegends and type in some default values like:soapUrl: http://services.arcgisonline.com/ArcGIS/services/Demographics/ESRI_Diversity_US_2D/MapServerdpi: 96pWidth: 20pHeight: 20serviceName: TestThat should return a XML result.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.