Re: [flexcoders] HELP! - Can not access Web Service!

2009-02-22 Thread Nate Beck
Try removing the "http://";
Use YouTube's cross domain as a reference (
http://www.youtube.com/crossdomain.xml):



http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

  
  





On Sun, Feb 22, 2009 at 8:28 AM, Craig  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
>
> 
>  "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> 
> http://velocitytrading.net"/>
> http://www.velocitytrading.net"/>
> 
> 
>
>  
>



-- 

Cheers,
Nate

http://blog.natebeck.net


[flexcoders] HELP! - Can not access Web Service!

2009-02-22 Thread Craig
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


http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

http://velocitytrading.net"/>
http://www.velocitytrading.net"/>