Carson, I have placed a cross domain file in my localhost. I try to access a web service (running on port 80) from the path http://localhost:8700/fdstraining2/lesson17/lesson17.html. If I do not use the proxy, I get what I believe is a sandbox error:
[FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032: Stream Error. URL: http://localhost/flexGrocer/cfcs/aggregate.cfc"]. URL: http://localhost/flexGrocer/cfcs/aggregate.cfc"] messageId="49F14C3A-11DF-D7CA-B938-01D649512641" type="fault" bubbles=false cancelable=true eventPhase=2] I placed the cross domain file in my local host root directory and I set it up to allow all connections. You can see the cross domain file below: <?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="*" /> </cross-domain-policy> If I have placed the cross domain file in the right spot at http://localhost/crossdomain.xml, what might be the problem? --- In [email protected], "Carson Hager" <[EMAIL PROTECTED]> wrote: > > These files act on the server level. There is no more granularity than > that. Take a look at my last message. You should be in good shape. > > > Carson > ____________________________________________ > > Carson Hager > Cynergy Systems, Inc. > http://www.cynergysystems.com <http://www.cynergysystems.com/> > > Email: [EMAIL PROTECTED] > Office: 866-CYNERGY > Mobile: 1.703.489.6466 > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Sathish K > Sent: Thursday, July 13, 2006 1:00 AM > To: [email protected] > Subject: RE: [flexcoders] Security error accessing url > > > > Dear Carson, > Is it possible to place the crossdomain.xml file at > server level, to access the all webservices that are availbale in the > server. > > This is our IBM websphere server folder structure. > > > d:\was6.0\AppServer\profiles\default\installedApps\ramcobl104Node01Cell\ > application.ear > > Reg, > K.Sathish > > > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] Behalf Of Carson Hager > Sent: 12 July 2006 23:26 > To: [email protected] > Subject: RE: [flexcoders] Security error accessing url > > > > > Sathish, > > What URL are you using to download the SWF? > > What is the URL for your web service? > > Even if the swf and web service are on the same host but the > host names do not match perfectly, you will get this kind of failure. If > the web service is on a different host, you will need to place a > crossdomain.xml file at the root of the web server where the web > services are located. > > > Carson > ____________________________________________ > > Carson Hager > Cynergy Systems, Inc. > http://www.cynergysystems.com <http://www.cynergysystems.com/> > > Email: [EMAIL PROTECTED] > Office: 866-CYNERGY > Mobile: 1.703.489.6466 > > > > ________________________________ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of Sathish K > Sent: Wednesday, July 12, 2006 5:44 AM > To: [email protected] > Subject: [flexcoders] Security error accessing url > > > > > Hi, > I have a webservice (EAR file) that is deployed in the IBM > Websphere 6.0 server.When we access the > webservice from a SWF application(sandbox)built using Flex 2.0 > it gives a security error.How to resolve this security issue. > > The Error Message: > > [FaultEvent fault=[Rpc fault > faultstring="Security error accessing url" > faultCode="Channel.Security.Error" > faultDetails="Unable to load WSDL.If currently > online,please verify the URI and/or format of > the WSDL > (webservice url)]messageId=null type="fault" > bubbles=false cancelable=true eventPhase=2] > > We have read in many articles which says we need to place the > crossdomain.xml file in the server root directory.But we dont know > exactly what is the correct location for placing this file. > We have tried placing in many subfolders under the root folder > where Websphere is installed. > > It would be of great help if you can help us sort out this > issue. > > > regards > sathish > > > DISCLAIMER: > > Information transmitted by this e-mail may be proprietary to Ramco > Systems Ltd., and / or the authors of the information and is intended > for use only by the individual or entity to which it is addressed, and > may contain confidential or legally privileged information. If you are > not the intended recipient or it appears that this mail has been > forwarded to you without proper authority, you are not authorised to > access, read, disclose, copy, use or otherwise deal with it and any such > actions are prohibited and may be unlawful. > > Internet communications cannot be guaranteed to be secure or error-free > as information could be intercepted, corrupted, lost, arrive late or > contain viruses. Ramco Systems Limited therefore does not accept > liability for any errors, omissions, viruses or computer problems > experienced as a result of this transmission. > > If you have received this e-mail in error, please notify us immediately > at mail to: [EMAIL PROTECTED] and delete this mail from your > records. Notice is hereby given that no representation, contract or > other binding obligation shall be created by this e-mail. > > > > > > > DISCLAIMER: > > Information transmitted by this e-mail may be proprietary to Ramco > Systems Ltd., and / or the authors of the information and is intended > for use only by the individual or entity to which it is addressed, and > may contain confidential or legally privileged information. If you are > not the intended recipient or it appears that this mail has been > forwarded to you without proper authority, you are not authorised to > access, read, disclose, copy, use or otherwise deal with it and any such > actions are prohibited and may be unlawful. > > Internet communications cannot be guaranteed to be secure or error-free > as information could be intercepted, corrupted, lost, arrive late or > contain viruses. Ramco Systems Limited therefore does not accept > liability for any errors, omissions, viruses or computer problems > experienced as a result of this transmission. > > If you have received this e-mail in error, please notify us immediately > at mail to: [EMAIL PROTECTED] and delete this mail from your > records. Notice is hereby given that no representation, contract or > other binding obligation shall be created by this e-mail. >

