Results 1 to 6 of 6

Thread: Security between flex+air and webservice

  1. #1
    Join Date
    Apr 2010
    Posts
    79

    Security between flex+air and webservice

    I do realize some stats for my site, and the components of Flex are pretty cool. I managed to set up a system webService but I do not understand how to send complex objects flex. A PieChart apparently need an ArrayCollection as dataProvider. I have to sent a string from my webService and rebuild ArrayCollection thereafter or is there another way? It is security beneficial. Please suggest. Thanks in advance.

  2. #2
    Join Date
    Feb 2008
    Posts
    1,852

    Re: Security between flex+air and webservice

    Flex applications can interact with a web service simply by using a URL to a WSDL document. These queries and answers will be formatted messages (SOAP Simple Object Access Protocol) or transported by http. The use of the web service in flex is simple, just type a URL:
    Creating and consuming a Web service (or Web Service) is done in 2 stages:
    1. Create the object with the WebService URL
    2. Call the desired method

  3. #3
    Join Date
    May 2008
    Posts
    2,297

    Re: Security between flex+air and webservice

    You can use
    Code:
    monWebServiceId.maMethode ()
    This method can be called either by a system event (at a creationComplete) by a user event (click on a button for example). It retrieve results (XML data) with the property "lastResult. If your XML is well constructed, associate a datagrid to the results and you get a nice picture with well formatted.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: Security between flex+air and webservice

    You can use the Local Connections to provide two SWF files even when run on two different instances of Flash Player. In addition, you allow LocalConnection to communicate between Flash 9 content (Flex applications for example) and older content (Flash 8 and lower). Flex applications can load any kind of SWF, it is edited by Flex or the Flash IDE. However, since Flash 9 applications use a different virtual machine compared to older Flash content, it is not possible for an application to communicate directly with a published SWF from Flash 8 or lower. If an application loads a Flash 9 SWF Flash 9, they may communicate directly.

  5. #5
    Join Date
    Nov 2005
    Posts
    1,323

    Re: Security between flex+air and webservice

    Communication with remote data is done at runtime. It does not lie strictly on the client, but requires a communication network to send and receive data between the client and the server. Flex applications support a number of remote communication technologies based on standards. There are three major categories of communication with remote data (remote data communication) for Flex RIA applications:
    Code:
    Communication by request / response HTTP

  6. #6
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Security between flex+air and webservice

    You need to Flex module based on a binary protocol, the load test Flex applications require dedicated support of this protocol.
    The Flex module NeoLoad can:
    * Save AMF traffic replay (Module not necessary to save the traffic text or XML).
    * Extract / Inject data in the AMF test to variabilization calls (presentation of data as XML in the scenario).
    * Automatically manage session IDs used by AMF.
    * Manage Channels streaming (requires module "Push").

Similar Threads

  1. Flex 3 or Flex 4 Training
    By Sindu in forum Portable Devices
    Replies: 6
    Last Post: 10-07-2010, 02:58 AM
  2. Flex 3.4 SDK in Flex Builder 3 plug-in
    By Vivan in forum Software Development
    Replies: 5
    Last Post: 09-07-2010, 11:59 PM
  3. Need a small webservice for my website.
    By Sarah Rogger in forum Technology & Internet
    Replies: 4
    Last Post: 15-06-2010, 12:21 AM
  4. Parsing XML WebService
    By Efigenio in forum Software Development
    Replies: 4
    Last Post: 03-03-2010, 03:55 AM
  5. Enable SOAP to webservice
    By Harshini in forum Software Development
    Replies: 1
    Last Post: 22-04-2009, 11:53 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,812,243.20356 seconds with 17 queries