This is actually a pretty tricky issue as modifications are not limited to
the crossdomain file alone. implementing 'meta-policies' may also be needed.

 

http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403030
<http://kb.adobe.com/selfservice/viewContent.do?externalId=kb403030&sliceId=
2> &sliceId=2

 

http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_02.html

 

http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_03.html

 

 

Rick Winscot

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Freiman
Sent: Tuesday, June 03, 2008 12:00 PM
To: [email protected]
Subject: Re: [flexcoders] Re: Calling a REST webservice from Flex

 

As I understand it cross-domain files also need "site-control" and
"allow-http-request-headers-from" tags with the newest version of the
player.

- Daniel Freiman

On Mon, Jun 2, 2008 at 7:15 AM, javed786pk <[EMAIL PROTECTED]> wrote:

J,
I already have place crossdomain.xml is my root directory. Here are
conents of crossdomain.xml

<?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>

but i am still getting the error.Any clue?
-Muhammad


--- In [email protected] <mailto:flexcoders%40yahoogroups.com> ,
"Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> If you get a security exception, it usually means you need a
crossdomain.xml
> file in the root directory of your server. Google knows all about
this :)
> 

> On Mon, Jun 2, 2008 at 7:05 PM, javed786pk <[EMAIL PROTECTED]> wrote:
> 
> > J,
> > Can you Kindly some sample Code(Flex3)that can call the webserivce.
> > Actually i tried to use the <mx:Webservice> but i am getting security
> > exceptions . Is there any configuration that needs to be made @ flex
> > side to overcome these security issues?
> >
> >

> > --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
<flexcoders%40yahoogroups.com>,
"Josh
> > McDonald" <dznuts@> wrote:
> > >
> > > We use SOAP all the time from flex 3. You won't have a problem
> > because SOAP
> > > over http is always GET and POST
> > >
> > > Look at <mx:Webservice> for more info.
> > >
> > > -J
> > >
> > > On Mon, Jun 2, 2008 at 5:42 PM, javed786pk <javed786pk@> wrote:
> > >
> > > > Did anyone try calling a simple SOAP service from Flex3? I will
> > > > appreciate if some can share the code.My SOAP web service is
deployed
> > > > on my Local IIS server. Do we need any Flex configuration to
run the
> > > > service successfully?
> > > >
> > > >
> > > > -Muhammad
> > > >
> > > > --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> 

<flexcoders%40yahoogroups.com><flexcoders%


> > 40yahoogroups.com>,
> > "Josh
> > > > McDonald" <dznuts@> wrote:
> > > > >
> > > > > Well the idea is you run a proxy on your server, make
non-rest calls
> > > > to it
> > > > > with GET and POST, or Data Services, and the proxy is the
one that
> > > > makes the
> > > > > GET / POST / PUT / DELETE rest calls and then returns the result
> > to your
> > > > > Flex program. I think LCDS / BlazeDS has some stuff in it to
help
> > > > with that,
> > > > > but I don't use it because we don't use rest so I don't know the
> > > > details.
> > > > >
> > > > > -J
> > > > >
> > > > > On Mon, Jun 2, 2008 at 4:47 PM, javed786pk <javed786pk@> wrote:
> > > > >
> > > > > > J,
> > > > > > I am sorry but i did not understand the proxy part of your
> > > > > > response.Can you kindly elaborate it for me a little more?
> > > > > >
> > > > > > -Muhammad
> > > > > >
> > > > > > --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> 
<flexcoders%40yahoogroups.com>
> > <flexcoders%40yahoogroups.com><flexcoders%
> >
> > > > 40yahoogroups.com>,
> > > > "Josh
> > > > > > McDonald" <dznuts@> wrote:
> > > > > > >
> > > > > > > It's a limitation of the browser plugin API
unfortunately. You
> > > > can proxy
> > > > > > > GET/POST requests via a server that makes the correct
requests
> > > > on your
> > > > > > > behalf, but that's about it.
> > > > > > >
> > > > > > > -J
> > > > > > >
> > > > > > > On Mon, Jun 2, 2008 at 4:32 PM, javed786pk <javed786pk@>
wrote:
> > > > > > >
> > > > > > > > thanks for quick response. Is there any workaround to make
> > PUT and
> > > > > > > > DELETE Requests or its simply limitations of Flex3?
> > > > > > > >
> > > > > > > > Muhammad Javed
> > > > > > > >
> > > > > > > > --- In
[email protected] <mailto:flexcoders%40yahoogroups.com>
<flexcoders%40yahoogroups.com>
> > <flexcoders%40yahoogroups.com>
> > > > <flexcoders%40yahoogroups.com><flexcoders%
> > > >
> > > > > > 40yahoogroups.com>,
> > > > > > "Josh
> > > > > > > > McDonald" <dznuts@> wrote:
> > > > > > > > >
> > > > > > > > > You can only make GET and POST requests from Flex.
> > > > > > > > >
> > > > > > > > > -J
> > > > > > > > >
> > > > > > > > > On Mon, Jun 2, 2008 at 4:21 PM, javed786pk <javed786pk@>
> > wrote:
> > > > > > > > >
> > > > > > > > > > I have developed a REST web service in WCF (Windows
> > > > communication
> > > > > > > > > > Foundation. .NET Technology). I want to use that web
> > service
> > > > > > in Flex
> > > > > > > > > > 3. Can someone let me know is REST calls in supported
> > in FLex3
> > > > > > or not?
> > > > > > > > > >
> > > > > > > > > > Muhammad
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > "Therefore, send not to know For whom the bell tolls. It
> > > > tolls for
> > > > > > > > thee."
> > > > > > > > >
> > > > > > > > > :: Josh 'G-Funk' McDonald
> > > > > > > > > :: 0437 221 380 :: josh@
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > "Therefore, send not to know For whom the bell tolls. It
> > tolls for
> > > > > > thee."
> > > > > > >
> > > > > > > :: Josh 'G-Funk' McDonald
> > > > > > > :: 0437 221 380 :: josh@
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > "Therefore, send not to know For whom the bell tolls. It
tolls for
> > > > thee."
> > > > >
> > > > > :: Josh 'G-Funk' McDonald
> > > > > :: 0437 221 380 :: josh@
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > "Therefore, send not to know For whom the bell tolls. It tolls for
> > thee."
> > >
> > > :: Josh 'G-Funk' McDonald
> > > :: 0437 221 380 :: josh@
> > >
> >
> > 
> >
> 
> 
> 
> -- 
> "Therefore, send not to know For whom the bell tolls. It tolls for
thee."
> 
> :: Josh 'G-Funk' McDonald

> :: 0437 221 380 :: [EMAIL PROTECTED]
>

 

 

Reply via email to