RE: [flexcoders] Security error accessing url?
I avoid this by having a back-end, server-side tier for all of my apps, and proxy all data service calls through that. There are also simple, pass-through proxys out there. I just saw one for PHP. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Lewis Sent: Saturday, April 19, 2008 1:24 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Security error accessing url? 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/1622.html http://livedocs.adobe.com/flash/8/main/1622.html http://livedocs.adobe.com/flash/8/main/1622.html http://livedocs.adobe.com/flash/8/main/1622.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 mailto:flexcoders%40yahoogroups.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 mailto:flexcoders%40yahoogroups.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 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\WSDLL oader.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 http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractIn voker.as:175] at mx.rpc::AbstractInvoker/ http://www.adobe.com/2006/flex/mx/internal::faultHandler http://www.adobe.com/2006/flex/mx/internal::faultHandler ()[E:\dev\flex_3_beta3\sdk\frameworks\projects\rpc\src\mx\rpc\AbstractIn voker.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\AsyncReque st.as:110] at DirectHTTPMessageResponder/securityErrorHandler()[E:\dev\flex_3_beta3\sd k\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 http://www.nabble.com/Security-error-accessing-url--tp14959093p16747916 .html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] Security error accessing url?
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/1622.html http://livedocs.adobe.com/flash/8/main/1622.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.
Re: [flexcoders] Security error accessing url?
are you running the flex app on your local machine or a server On 1/18/08, Nate Pearson [EMAIL PROTECTED] 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()
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Carson HagerSent: 12 July 2006 23:26To: flexcoders@yahoogroups.comSubject: 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 HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sathish KSent: Wednesday, July 12, 2006 5:44 AMTo: flexcoders@yahoogroups.comSubject: [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 faultfaultstring="Security error accessing url"faultCode="Channel.Security.Error"faultDetails="Unable to load WSDL.If currentlyonline,please verify the URI and/or format ofthe 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. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ 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
RE: [flexcoders] Security error accessing url
The crossdomain.xml file should be placed in the root of the server that is hosting the web services. So, if you reference it via url, it should be at: http://{your domain}/crossdomain.xml _ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sathish K Sent: Thursday, July 13, 2006 2:00 AM To: flexcoders@yahoogroups.com 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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]On Behalf Of Carson Hager Sent: 12 July 2006 23:26 To: flexcoders@yahoogroups.com 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 Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sathish K Sent: Wednesday, July 12, 2006 5:44 AM To: flexcoders@yahoogroups.com 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
RE: [flexcoders] Security error accessing url
Sathish, You place this file at the root directory of the web server that hosts your web services. If you can't place it at the root, you can use flash.system.Security.loadPolicyFile() to load it from another location. Carson Carson HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sathish KSent: Thursday, July 13, 2006 12:40 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Security error accessing url Dear Carson, We are using mxmlc exe to get the swf for mxml file.webservice and swf are different host. I have acrossdomain.xml file.But i dont know where i have to place this xml file. our EAR file structure: --- --META_INF ; ; ; ;--Application.xml ; ;---MANIFEST.MF ; --Genarate.jar ; ' ;'---com ; ; ; ;;--ibm ; ;; ; ; ;; ;--ejs ; ;; ; ; ;; ;---container ; ;; ; ; ;; ;-- _EJSWrapper_Tie.class ; ;; ;-- _EJSWrapper_Stub.class ; ;; ; ;;--websphere ; ;; ; ; ; ; ;--csi ; ;; ; ; ;; ;-- _TransactionalObject_Stub.class ; ;; ;-- _CSIServant_Stub.class ; ;; ; ;; ; ;;--ramco ; ;; ; ;; ; ; -- business logic class ; ; ; ; ; ;---META-INF ; ; ; ; ;; ; ; ;---wsdl ; ; ; ; ; ; ; ;---Generate.wsdl ; ; ; ; ; ; ; ; ;---ibm_ejbext.properties ; ; ;---MANIFEST.MF ; ; ;---ibm-webservices-ext.xmi ; ; ;---ibm-webservices-bnd.xmi ; ; ;---ejb-jar.xml ; ; ;---Generate_mapping.xml ; ; ;--webservices.xml ; ; ; ;---org ; ; ; ;---omg ; ; ; ; ; --stub; ; ; ; ; ---java; ; ; ;--ejb ; ; ; ;-- _Handle_Stub.class ; ;-- _HomeHandle_Stub.class ; ;-- _EJBHome_Stub.class ; ;-- _EJBObject_Stub.class --Generate.war ; ;--Manifest.mf ;--ibm_web-bnd.xmi ;--ibm-web-ext.xmi ;--web.xml now, tell me where i have to put that crossdomain.xml file. and what is the url for access the crossdomain.xml. webservice url is http://servername:portnumber/generate/services/generate?wsdl Reg, K.Sathish -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Carson HagerSent: 12 July 2006 23:26To: flexcoders@yahoogroups.comSubject: 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 HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sathish KSent: Wednesday, July 12, 2006 5:44 AMTo: flexcoders@yahoogroups.comSubject: [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 faultfaultstring="Security error accessing url"faultCode="Channel.Security.Error"faultDetails="Unable to load WSDL.If currentlyonline,please verify the URI and/or format ofthe 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
RE: [flexcoders] Security error accessing url
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 HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sathish KSent: Thursday, July 13, 2006 1:00 AMTo: flexcoders@yahoogroups.comSubject: 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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Carson HagerSent: 12 July 2006 23:26To: flexcoders@yahoogroups.comSubject: 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 HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sathish KSent: Wednesday, July 12, 2006 5:44 AMTo: flexcoders@yahoogroups.comSubject: [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 faultfaultstring="Security error accessing url"faultCode="Channel.Security.Error"faultDetails="Unable to load WSDL.If currentlyonline,please verify the URI and/or format ofthe 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 con
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 HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sathish KSent: Wednesday, July 12, 2006 5:44 AMTo: flexcoders@yahoogroups.comSubject: [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 faultfaultstring="Security error accessing url"faultCode="Channel.Security.Error"faultDetails="Unable to load WSDL.If currentlyonline,please verify the URI and/or format ofthe 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. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
RE: [flexcoders] Security error accessing url
Dear Carson, We are using mxmlc exe to get the swf for mxml file.webservice and swf are different host. I have acrossdomain.xml file.But i dont know where i have to place this xml file. our EAR file structure: --- --META_INF ; ; ; ;--Application.xml ; ;---MANIFEST.MF ; --Genarate.jar ; ' ;'---com ; ; ; ;;--ibm ; ;; ; ; ;; ;--ejs ; ;; ; ; ;; ;---container ; ;; ; ; ;; ;-- _EJSWrapper_Tie.class ; ;; ;-- _EJSWrapper_Stub.class ; ;; ; ;;--websphere ; ;; ; ; ; ; ;--csi ; ;; ; ; ;; ;-- _TransactionalObject_Stub.class ; ;; ;-- _CSIServant_Stub.class ; ;; ; ;; ; ;;--ramco ; ;; ; ;; ; ; -- business logic class ; ; ; ; ; ;---META-INF ; ; ; ; ;; ; ; ;---wsdl ; ; ; ; ; ; ; ;---Generate.wsdl ; ; ; ; ; ; ; ; ;---ibm_ejbext.properties ; ; ;---MANIFEST.MF ; ; ;---ibm-webservices-ext.xmi ; ; ;---ibm-webservices-bnd.xmi ; ; ;---ejb-jar.xml ; ; ;---Generate_mapping.xml ; ; ;--webservices.xml ; ; ; ;---org ; ; ; ;---omg ; ; ; ; ; --stub; ; ; ; ; ---java; ; ; ;--ejb ; ; ; ;-- _Handle_Stub.class ; ;-- _HomeHandle_Stub.class ; ;-- _EJBHome_Stub.class ; ;-- _EJBObject_Stub.class --Generate.war ; ;--Manifest.mf ;--ibm_web-bnd.xmi ;--ibm-web-ext.xmi ;--web.xml now, tell me where i have to put that crossdomain.xml file. and what is the url for access the crossdomain.xml. webservice url is http://servername:portnumber/generate/services/generate?wsdl Reg, K.Sathish -Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Carson HagerSent: 12 July 2006 23:26To: flexcoders@yahoogroups.comSubject: 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 HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGYMobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sathish KSent: Wednesday, July 12, 2006 5:44 AMTo: flexcoders@yahoogroups.comSubject: [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 faultfaultstring="Security error accessing url"faultCode="Channel.Security.Error"faultDetails="Unable to load WSDL.If currentlyonline,please verify the URI and/or format ofthe 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. __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com