My crossdomain.xml file is in $TOMCAT_HOME/webapps/ROOT folder. I am
able to access it using the url: https://localhost:8443/crossdomain.xml
My two applications are in the webapps folder of different tomcats:
Project FlexApp is being hosted in tomcat port 8080, testApp contains
upload.jsp, is being hosted in tomcat port 8443.
>From my Flex application which is being hosted on 
>http://localhost:8080/FlexApp/index.html,
I am using HttpService to call url: https://localhost:8443/testApp/upload.jsp.
Here I get the security exception.
I have also tried putting crossdomain.xml file in bin directory of
tomcat, testApp directory, but still the same problem. I am having
Flash player 9 on my machine

Thanks,
Premasis

On May 12, 10:07 am, HISSAM <hissam.sher...@gmail.com> wrote:
> 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 <prema...@gmail.com> 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 <prema...@gmail.com> wrote:
>
> > > Thanks, but I am still not able to fix this problem
>
> > > On May 9, 11:29 pm, HISSAM <hissam.sher...@gmail.com> 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 <prema...@gmail.com> wrote:
>
> > > > > Need to know the solution urgently. Any help please?
>
> > > > > On May 9, 1:21 pm, prem <prema...@gmail.com> wrote:
> > > > > > Hi,
> > > > > > I am trying to communicate to server from my Flex application 
> > > > > > running
> > > > > > onhttp://localhost:8080/FlexApptoanotherserverwhichis 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 flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to