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/FlexApptoanotherserver which 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 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