Try removing the "http://" Use YouTube's cross domain as a reference ( http://www.youtube.com/crossdomain.xml):
<?xml version="1.0"?> <!-- http://www.youtube.com/crossdomain.xml --> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="*.youtube.com" /> <allow-access-from domain="*.ytimg.com" /> </cross-domain-policy> On Sun, Feb 22, 2009 at 8:28 AM, Craig <[email protected]> wrote: > 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> > > > -- Cheers, Nate ---------------------------------------- http://blog.natebeck.net

