I believe there is a solution to this problem. It requires the import of
flash.system.security so that you can use loadPolicyFile. This allows you to
direct your application to one or more policy files giving them access to
that location or files below it. 

Here is the adobe article I found concerning this topic:

http://livedocs.adobe.com/flash/8/main/00001622.html
http://livedocs.adobe.com/flash/8/main/00001622.html 

I hope this helps.

Josh Lewis



Nate Pearson-2 wrote:
> 
> You're right, I DO hate this error.
> 
> There's about 0% chance that I can get the security guys to let me put
> a crossdomain.xml file in the root of our corporate intranet.  
> 
> Wow, can someone please help me with this?  I want to break my keyboard. 
> 
> --- In flexcoders@yahoogroups.com, "Dominique Bessette - Halsema"
> <[EMAIL PROTECTED]> wrote:
>>
>> I'm not an expert, but i had this problem, and everyone was saying i
> need a
>> crossdomain.xml file and if you have one if the protocal is https
> then make
>> sure the secure attribute is false.
>> 
>> my problem actually ended up being a timing issue that my wsdl was
> uploading
>> before the file did.
>> 
>> flex 3 might be more fickle with xml and making sure it's valid.
>> 
>> i really dont know i personally hate this error with a passion it
> took me a
>> long time to debug it.  hopefully some person will have more of an
>> insightful answer for you.
>> 
>> 
>> On 1/18/08, Nate Pearson <[EMAIL PROTECTED]> wrote:
>> >
>> >   Local machine. I'm trying to debug. Webservice is on the corporate
>> > intranet.
>> >
>> > I've never had this problem before...
>> >
>> > --- In flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>,
>> > "Dominique Bessette - Halsema"
>> > <dbhalsema@> wrote:
>> > >
>> > > are you running the flex app on your local machine or a server
>> > >
>> > > On 1/18/08, Nate Pearson <napearson99@> wrote:
>> > > >
>> > > > I'm using Flex Builder 3 Beta 3. I can't seem to create any new
>> > > > projects that can connect to webservices! I'll copy the exact same
>> > > > code from an old project into a new Flex Builder 3 Beta 3
> project and
>> > > > I get the error below. Anyone know why?
>> > > >
>> > > > This is really frustrating!
>> > > >
>> > > > [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.mywebaddress.com/roadmap/systemsRM.asmx?WSDL)"]
>> > > > at
>> > > > mx.rpc.wsdl::WSDLLoader/faultHandler
>> > > >
>> >
>> >
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\wsdl\WSDLLoader.as:105]
>> > > > at flash.events::EventDispatcher/dispatchEventFunction()
>> > > > at flash.events::EventDispatcher/dispatchEvent()
>> > > > at
>> > > > mx.rpc::AbstractInvoker/
>> > > > http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent
>> > > >
>> >
>> >
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:175]
>> > > > at
>> > > > mx.rpc::AbstractInvoker/
>> > > > http://www.adobe.com/2006/flex/mx/internal::faultHandler
>> > > >
>> >
>> >
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:227]
>> > > > at
>> > > > mx.rpc::Responder/fault
>> > > >
>> >
>> >
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\Responder.as:56]
>> > > > at
>> > > > mx.rpc::AsyncRequest/fault
>> > > >
>> >
>> >
> ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:110]
>> > > > at
>> > > >
>> > > >
>> >
>> >
> DirectHTTPMessageResponder/securityErrorHandler()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\messaging\channels\DirectHTTPChannel.as:374]
>> > > > at flash.events::EventDispatcher/dispatchEventFunction()
>> > > > at flash.events::EventDispatcher/dispatchEvent()
>> > > > at flash.net::URLLoader/redirectEvent()
>> > > >
>> > > >
>> > > >
>> > >
>> >
>> > 
>> >
>>
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Security-error-accessing-url--tp14959093p16747916.html
Sent from the FlexCoders mailing list archive at Nabble.com.

Reply via email to