One more thing. You can write your own proxy. Depending on which server
language you are using, and whether you need to deal with authentication
or not, it can be as simple as two lines of code.

Please see:

http://labs.macromedia.com/wiki/index.php/Flex:Accessing_Data

-Sho 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Tuesday, October 25, 2005 8:44 AM
To: [email protected]
Subject: [flexcoders] Re: Web-services giving hell to implement

The model actually hasnt changed.  In Flex 1.5 you could also use 
the crossdomain.xml solution to allow the player to connect to a web 
service on a different host then it was downloaded from.  

Now in Flex1.5 you had the flexproxy servlet which would act as a 
proxy and redirect those calls tot he third party.  You wouldnt need 
crossdomain.xml then.  However, you could bypass the proxy and then 
use crossdomain.xml.  All youre choice.

In Flex2 you will need the enterprise data services to have access 
to the proxy.  So to do what you want, and not rely on 
crossdomain.xml in Flex2 you need the more expensive (in line with 
Flex 1.5) version. 

The difference is for the much lower price you can skip needing the 
proxy *if* you own the service and can use crossdomain.xml.  If you 
dont, you need the enterprise version.

Make sense?


-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY x85

- In [email protected], knly browne <[EMAIL PROTECTED]> 
wrote:
>
> Good day awll...
> 
> I have a little quirk with connecting to web-services in Flex 2.0. 
In flex
> 1.x you simply configured the service file that resides on the 
server and
> then you add you web-service object to you applications configure 
the wsdl
> and you good to go..
> 
> For flex 2.0 i see that the model had changed dramatically...now 
there is
> the advent of the crossdomain.xml that must be placed in the root 
directory
> of the server that you are trying to get the service from, so the 
Question
> now becomes if the server resides half way around the world..how 
in gods
> name do i place a config file on that server...
> now the server that give me the web-service is implemented using 
rem-objects
> for delphi.. so its not a java server its a delphi program..how do 
i install
> a crossdomain.xml file on that appication..
> 
> Flex 2.0 doesn't come with any web-services example...
> As of present i have no idea of how to use web-services in Flex 2.0
> can anyone out there assist me..?
> Thanks
> 
> --
> Kenlie Browne
> Software Developer
>







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



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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