To be clear, the crossdomain.xml file must go on the server that is
serving the *WebService*.  Is that the case?

 

And hmm, you may be missing the most important part of the crossdomain
file, let mw look.... Yes, you need a line like this:

<allow-access-from domain="*" to-ports="*" secure="true" />

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of shameer.forflex
Sent: Thursday, July 03, 2008 3:13 AM
To: [email protected]
Subject: [flexcoders] WebService Issue

 

My flex application is calling a webservice. It runs fine locally.
When put on the server, I am getting an error.

The fault string looks like

message faultCode:Channel.Security.Error
faultString:'Security error accessing url'
faultDetail:'Unable to load WSDL. If currently online, please verify
the URI and/or format of the WSDL (http://myshec103077d:8080/Check/
<http://myshec103077d:8080/Check/> 
addint?wsdl)'

I tried putting crossdomain.xml in the root of the application server
and I am able to access the cross domain file by typing
http://myshec103077d:8080/crossdomain.xml
<http://myshec103077d:8080/crossdomain.xml> 

The cross domain file which I had put is of the form

<?xml version="1.0" ?>
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all" />
<allow-http-request-headers-from domain="*" headers="SOAPAction"
secure="false" />
</cross-domain-policy>

Still I am getting the same error, when I run the flex app on the
server.
Any pointers will be appreciated.

Thanks,
Shameer. 

 

Reply via email to