<compilation debug="true" strict="false" explicit="true"> <assemblies> <add assembly="ESRI.ArcGIS.ADF.ArcGISServer, Version=9.3.1.1850, Culture=neutral, PublicKeyToken=8FC3CC631E44AD86"/></assemblies></compilation>
Nathan,
Look here.
http://forums.arcgis.com/threads/10343-Dynamic-Rest-Legend-in-ArcGIS-Server-10-and-Flex-API-1.3?high...
(mx.messaging.messages::ErrorMessage)#0 body = "" clientId = "DirectHTTPChannel0" correlationId = "4A41E22A-78F1-C30F-ABAF-2CFE8F8D6BFC" destination = "" extendedData = (null) faultCode = "Server.Error.Request" faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://www.mapservices.ca/restLegend/restLegend.asmx"]. URL: http://www.mapservices.ca/restLegend/restLegend.asmx" faultString = "HTTP request error" headers = (Object)#1 DSStatusCode = 400 messageId = "795EED4A-5341-9A14-E87E-2CFE8FAC0E88" rootCause = (flash.events::IOErrorEvent)#2 bubbles = false cancelable = false currentTarget = (flash.net::URLLoader)#3 bytesLoaded = 0 bytesTotal = 0 data = "" dataFormat = "text" errorID = 0 eventPhase = 2 target = (flash.net::URLLoader)#3 text = "Error #2032: Stream Error. URL: http://www.mapservices.ca/restLegend/restLegend.asmx" type = "ioError" timestamp = 0 timeToLive = 0