Franck, this is exactly what I was looking for - thank you!!

-Ryan

--- In [email protected], "Franck de Bruijn"
<[EMAIL PROTECTED]> wrote:
>
> Webservices are indeed never meant to be hard and if they work it's
totally
> simple. If they don't work ... you're in for trouble: check the
posts ... :)
> Unfortunately, my feeling tells me that Flex has more problems
communicating
> with .Net webservices than Java (AXIS based) webservices.
> 
>  
> 
> For the problem mentioned originally by Scott, the following:
> 
>  
> 
> You cannot access the webservices behind a firewall directly from
the Flex
> application. The Flex application will be served to the client, but
in the
> end it does not matter. The Flex application will run locally. And
if the
> local machine cannot reach behind the firewall you're out of luck.
Even if
> the webservices are not behind the webservices you probably will have a
> problem accessing them, since Flash only allows you to address URLs
with the
> base identical to the URL you have downloaded your app from. Since
you are
> talking about two different machines, these base addresses will not
match
> and you'll have a security issue.
> 
>  
> 
> To solve this you have to the 'proxy' way, which gives you 2 directions:
> 
> *     On the machine where you host your Flex application, set-up a server
> hosting your own webservices. These webservices can be called from
the Flex
> app. The implementation behind these webservices can then forward
the Flex
> requests to the real server.
> *     On the machine where you host your Flex application, set-up FDS. But
> here my experience lacks, so I cannot give you guidelines how to
accomplish
> that.
> 
>  
> 
> Good luck!
> 
> Franck
> 
>  
> 
>   _____  
> 
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Samuel D. Colak
> Sent: Tuesday, August 15, 2006 6:48 PM
> To: [email protected]
> Subject: Re: [flexcoders] Flex Data Services
> 
>  
> 
> You can use Flex alone with its webservice support.
> Im not sure what all the fuss is with FDS but webservices were never
meant
> to be that hard in general.
> 
> 
> On 15/8/06 08:10, "scott.kinder" <[EMAIL PROTECTED]> wrote:
> 
> 
>  
>  
> 
> Hi All,
> 
> I'm new to Flex 2 and Flex Data Services. I have a problem and I need
> to find out if I need Flex 2 Data Services. I have an external server
> serving up a SWF, and then a server behind the firewall that contains
> .NET web services. If I want my users to be able to browse to the SWF,
> and then communicate with the .NET services behind the firewall, do I
> need to use Flex Data Services or can I use regular Flex 2?
> 
> Cheers
> 
> Scott Kinder
>







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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to