I'm working on a Silverlight app hosted on IIS 6 (Windows Server 2003), which talks to a web service on a JBoss app server (JBoss 4.2.2 also on Windows Server 2003). The Silverlight app is only used on the LAN, so it's addressed with a URL like so:
I created a crossdomain.xml file for the JBoss server (as required by Silverlight) in
...\server\default\deploy\jboss-web.deployer\ROOT.war with the following text:
<?xml version="1.0" ?> <cross-domain-policy> <site-control permitted-cross-domain-policies="master-only"/> <allow-access-from domain="machinename"/> <allow-http-request-headers-from domain="machinename" headers="*"/> </cross-domain-policy>
I get errors from Silverlight until I replace
"*". I also tried
"machinename:88" with the same results as without the port. How are you supposed to specify the domain, when the URL is just the machine name and a port?