RE: [flexcoders] Re: Web-services giving hell to implement

2005-10-25 Thread Sho Kuwamoto
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Wolf
Sent: Tuesday, October 25, 2005 8:44 AM
To: flexcoders@yahoogroups.com
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 flexcoders@yahoogroups.com, 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/
 




RE: [flexcoders] Re: Web-services giving hell to implement

2005-10-25 Thread Matt Chotin










Just to add a little color to this about
creating a proxy in two lines J



The proxy that Flex 1.5 provides (and Flex
Enterprise Services will provide) is not a simple straightforward re-direction
to the site of your choice. We also make sure that things like cookies are
transferred correctly, protect the proxy from being used in DOS attacks,
capture header errors that the Player is unable to process and convert them for
use by the ActionScript, etc. There are a number of elements that need to be
considered when writing a true proxy for Flex apps, but with that said if you
are simply trying to access an XML file on a server or do something where no authentication
and no cookies will be needed you may be able to write a simple proxy in the
language of your choice, and that link on the labs site is a good place to get
started.



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sho Kuwamoto
Sent: Tuesday, October 25, 2005
9:01 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Web-services giving hell to implement





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: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
Behalf Of Dave Wolf
Sent: Tuesday, October 25, 2005 8:44 AM
To: flexcoders@yahoogroups.com
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 flexcoders@yahoogroups.com,
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














--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.