please provide your tomcat webapp folder structure also specify where have placed the 2 applications in the webapps or somewhere else ie whether there's a reference from eclipse?? also provide your web.xml file
On May 11, 7:22 pm, prem <[email protected]> wrote: > My crossdomain.xml file is in the ROOT folder of Webapps directory of > tomcat: Following is my crossdomain file: > <!DOCTYPE cross-domain-policy SYSTEM "cross-domain-policy.dtd"> > <cross-domain-policy> > <allow-access-from domain="*" to-ports="*" secure="false"/> > <site-control permitted-cross-domain-policies="all"/> > <allow-http-request-headers-from domain="*" headers="*" to-ports="*" > secure="false"/> > </cross-domain-policy> > > I am using HttpService to access the server with the > url:https://localhost:8443/testApplication/upload.html > > var srvHS:HttpService = new HTTPService(); > srvHS.method = "POST"; > srvHS.url = > "https://localhost:8443/testApplication/upload.html" > srvHS.useProxy = false; > srvHS.addEventListener(ResultEvent.RESULT , > imageSavedResult); > srvHS.addEventListener(FaultEvent.FAULT, > imageSavedFault); > srvHS.send(obj); > > My error String is : > [RPC Fault faultString="Security error accessing url" > faultCode="Channel.Security.Error" faultDetail="Destination: > DefaultHTTP"] > > On May 11, 7:04 pm, prem <[email protected]> wrote: > > > Thanks, but I am still not able to fix this problem > > > On May 9, 11:29 pm, HISSAM <[email protected]> wrote: > > > >http://forums.alfresco.com/en/viewtopic.php?f=36&t=15831 > > > > This link might solve your problem > > > Please know me status after u implement it > > > > Waiting for your reply > > > > On Sat, May 9, 2009 at 2:57 AM, prem <[email protected]> wrote: > > > > > Need to know the solution urgently. Any help please? > > > > > On May 9, 1:21 pm, prem <[email protected]> wrote: > > > > > Hi, > > > > > I am trying to communicate to server from my Flex application running > > > > > onhttp://localhost:8080/FlexApptoanotherserverwhich is running > > > > onhttps://localhost://8400/testAppusingHttpService. I have added the > > > > > crossdomain xml file in my tomcat running on port 8400 in all possible > > > > > places i.e. bin directory , testApp directory. Problem I get is: [RPC > > > > > Fault faultString="Security error accessing url" > > > > > faultCode="Channel.Security.Error" faultDetail="Destination: > > > > > DefaultHTTPS"] > > > > > > My crossdomain.xml file looks like this : > > > > > <?xml version="1.0"?> > > > > > <!DOCTYPE cross-domain-policy SYSTEM "cross-domain-policy.dtd"> > > > > > <cross-domain-policy> > > > > > <allow-access-from domain="*" secure="false"/> > > > > > <site-control permitted-cross-domain-policies="all"/> > > > > > <allow-http-request-headers-from domain="*" to-ports="*" > > > > headers="*" > > > > > secure="false"/> > > > > > </cross-domain-policy> > > > > > > cross-domain-policy.dtd file I downloaded, is in the same directory as > > > > > the xml file. > > > > > > I am still not able to know the fix of this problem. Any suggestion > > > > > would be really helpful > > > > > > Thanks, > > > > > Prem > > > > -- > > > ----------------------------- > > > Regards, > > > HISSAM, > > > ------------------------------ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

