My flex app calls webservices hosted on the same server that
hosts the .swf file of the application. Running the app in flex
builder or on the same machine works perfectly all business logic
is called using webservices. When running the application on
another system however a Channel.Security.Error is thrown when
calling the first webservice with following detail shown in IE:
[FaultEvent fault=[RPC Fault faultString="Security error accessing
url" faultCode="Channel.Security.Error" faultDetail="Destination:
type="fault" bubbles=false cancelable=true eventPhase=2]
I started out discovering a world new to me, the world of
flash security settings:
So I started out using a policy server (using the python
script that you can download in the first article link mentioned)
on the webservice server on port 843 that serves following file:
<!DOCTYPE cross-domain-policy SYSTEM "
But apparently the flex app on the other machine never makes
a request to this policy server. In the end I also added an
crossdomain.xml file with the same contents by an apache http
server in the root directory. All this without success...and this
problem is driving me bananas.
We are using the latest version of the flash player: "You
have version 9,0,124,0 installed"
Since we have to put a version of this application into
production at the end of this week all help, suggestions and
remarks are really appreciated.