I get error below if webservice asmx and URL of domain do not match...
they both have to have http://www  or no 'www' in order to run...
otherwise I get the following error below BUT my cross domain is at
the root of the webserver!!  what am I doing wrong???:


[RPC Fault faultString="Security error accessing url"
faultCode="Channel.Security.Error" faultDetail="Unable to 

load WSDL. If currently online, please verify the URI and/or format of
the WSDL 

(http://www.velocitytrading.net/VTOrdEnt.asmx?WSDL)"]
        at mx.rpc.wsdl::WSDLLoader/faultHandler()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
        at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
        at mx.rpc::Responder/fault()
        at mx.rpc::AsyncRequest/fault()
        at DirectHTTPMessageResponder/securityErrorHandler()
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at flash.net::URLLoader/redirectEvent()


CROSS DOMAIN

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM
"http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
<cross-domain-policy>
        <allow-access-from domain="http://velocitytrading.net"/>
        <allow-access-from domain="http://www.velocitytrading.net"/>
        <allow-access-from domain="*.*"/>
</cross-domain-policy>




Reply via email to