Dynamic Legend widget loads blank w/ Flex 2.1, ArcGIS 10.0

2024
15
08-02-2011 08:15 AM
AshleyOwens
Emerging Contributor
I downloaded and installed "Dynamic Legend Widget For Flex Viewer 2.4", hoping it would work for Flex 2.1.
To avoid error "Error #1069: Property version not found...", I had to comment 2 "if" statements: "if(layer.version >= 10.01)".
Now the widget loads, but is blank (see attached screenshot).
Tags (2)
0 Kudos
15 Replies
GaryBushek
Deactivated User
Robert,
    Thats odd because I never installed any asp web service.  I have the widget that has the "generated\webservices\SoapLegendService" classes and from my code I specify the soap url which is the map service url without "rest".  Has seemed to work in all the projects i've used it in (with the exception of the sporadic issues this project is having).  And yes, it does work most the time. IE seems to have no issues with it, just firefox.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Gary,

  Ahh... That is not my code then. No wonder I was scratching my head on this... Sorry I can't be much help to you as I don't have any experience using that code.
0 Kudos
GaryBushek
Deactivated User
Robert,
    ok, I thought you helped me once before with it but that must have been a different widget. None-the-less, you brought up a good point about the service packs as they are way behind. We'll give that a go and see if it helps.

thanks for your help
0 Kudos
DeepLakhanpal
Deactivated User
Hi,
I am having a problem with the Dynamic Legend.

As per the functionality it works fine with our network, but when I try to access the application outside of our network its display HTML output in Legend Window.

Though internal network Dynamic legend request generate legend images within proxyoutput directory. But when I access the application outside out network, map request gets successful and a temp image generate in proxyoutput, but not legend images.

I have configured CrossDomain.xml please find below the contents.

<?xml version="1.0"?><!DOCTYPE cross-domain-policySYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="*" />
<allow-access-from domain="*.esri.com" />
<allow-access-from domain="*.arcgisonline.com" />
<allow-access-from domain="*" to-ports="*" />
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>


Thanks & Regards
Deep
0 Kudos
DeepLakhanpal
Deactivated User
Hi,
I have this issue in our environment.

User request is been full fill through ISA proxy server. As per the current configuration Flex portal request redirect to port 80 for ArcGIS Server (Which is standard) but for Portal which is access through a tab in a sharepoint portal, request is redirected through a different port. Does these ports need to be same (same as ArcGIS Server standard porta 80).


Thanks & Regards
Deep
0 Kudos
DeepLakhanpal
Deactivated User
Hi Everyone,
Can some explain about the below mention error which appears in log of Dynamic legend web service. I believe the issue can be due to ISA proxy server setting as this same service works well when we try t access the portal within TSL network.


#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2012-04-04 09:29:59
#Fields: date time s-sitename s-computername s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) cs-host sc-status sc-substatus sc-win32-status sc-bytes cs-bytes time-taken
2012-04-04 09:29:58 W3SVC1996500661 <SERVER NAME> 10.1.12.101 POST /DynamicLegend/restLegend.asmx - 8083 - 10.1.18.10 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506.2152;+.NET+CLR+3.5.30729) - http://crnappstst.servicesfields.com...cntr/index.swf crnappstst.servicesfields.com 200 0 0 16835 1148 3109


Thanks & Regrads
0 Kudos