I've seen other posts on this but they don't seem to get me exactly where I need to be. I am wanting to display a secure wms layer in my Flex Viewer and I can't seem to get it configured correctly. There may be other underlying issues but I thought I would try here first to make sure I have the config right:
I have left out the password and username on purpose.
<layer type="wms" label="Valtus Imagery Services - VIEWS(TM)" url="http://www.valtus.com/wms/servlet/WMSServer" username="username" password="password" visible="true" visiblelayers="VCP_KS"/>
I've never really worked with a WMS service before so this is foreign to me. I saw other posts about the crossdomain needing adjustment but I think I ended up messing it up more than I helped it. The domain ip is my GIS server not the WMS layer.
Here is my latest version:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="70.167.59.150" />
<allow-http-request-headers-from domain="70.167.59.150" />
</cross-domain-policy>
Thanks. I've passed this on as others have reported some issues. I can view this service in ArcMap without any problems.
Josh,
Yep, ArcMap accesses the WMS in a completely different way.