2 Replies Latest reply on Aug 19, 2007 4:29 AM by flashbrain16

    HTTPSevice Vs FDS

    sivudu Level 1
      Hi All,

      Anybody explain the difference b/w HTTPService and FDS. I am little bit confusion which one I have to use in my proj. So this will be useful to other members those who are novice to flex. Hope share their suggestions.

      Thanks & Regards,
      Siva Kumar
        • 1. Re: HTTPSevice Vs FDS
          flexPro Level 1
          HTTPService is an object used to send and receive data using HTTP GET and POST (similar to the XMLHttpRequest object in javascript). FDS (Flex Data Services, now called LiveCycle Data Services) is a platform, so it is rather incomparable. That said, with LCDS you can use an object called RemoteObject to invoke methods on the server directly. With this latter object, requests and responses are encoded in the AMF3 binary format, so they are much more compact that with HTTPService.

          For the complete lowdown on rpc in Flex (including a 3rd RPC object, WebService), check out the following livedocs page:

          http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDo cs_Parts&file=00001123.html
          • 2. Re: HTTPSevice Vs FDS
            flashbrain16
            HTTPService and FDS both are use for send data from flex to middle ware
            like php, coldfusion, .net etc. HTTPService used HTTP Get and Post Methode.

            If you are using LiveCycle Data Services, you have the option of connecting to RPC services directly by specifying URLs in ActionScript or connecting to destinations defined in the services-config.xml file or a file that it includes by reference. A destination definition is a named service configuration that provides server-proxied access to an RPC service. A destination is the actual service or object that you want to call. A destination for a RemoteObject component is a Java object defined as a Remoting Service destination. A destination for an HTTPService component is a JSP page or another resource accessed over HTTP. A destination for a WebService component is a SOAP-compliant web service. You configure HTTP services and web services as Proxy Service destinations.

            or more detail you will be get from this link:

            http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/wwhelp/wwhimpl/common/html/ wwhelp.htm?context=LiveDocs_Parts&file=rpc_02.html