Call flex remoteObject data in a loop

here is simple explanation,
I need to show some panel and some buttons in that panel.
consider we have 5 panels, so i use for loop for 1 to 5.
inside that panels Button name comes from java
using remoteObject and blazeds.
Now my problem is remote object method not returning any value since it has void return type.
Following example may give u better understanding.
for(var m:int=0;m<=4;m++)
var outerPanel:Panel= new Panel;
outerPanel.titile=m;
this.addElement(outerPanel);
// object of 2nd class which(Should fetch, but its not happening) fetch the value from remoteObject
  var rmObj:remoteObjectClass = new remoteObjectClass();
var arc:ArrayCollection= new ArrayCollection();
  arc=rmObj.getRemoteData(m);
for(var n:int=0;n<=arc.length;n++)
  var testBut:Button= new Button();
   testBut.name=arc[n];
outerPanel.addElement(testBut);
Now here is the functions in RemoteObjectClass
          public function  getObjective(m:Int):void   
            var  ro:RemoteObject= new mx.rpc.remoting.mxml.RemoteObject;   
            ro.destination="getEntity"; 
           // getobjectives(); is java method which return ArryList 
            ro.getobjectives(m);       
            ro.addEventListener(ResultEvent.RESULT,objectivesResultHandler);                     
        private function objectivesResultHandler(event:ResultEvent):ArrayCollection   
        {   var objectiveList:ArrayCollection= new ArrayCollection;   
            objectiveList=event.result as ArrayCollection;                 
            return objectiveList;   
Hope you understand my problem

Instead of   arc=rmObj.getRemoteData(m);
You have to access the objectiveList to get the button data. It is not better way to access the remote object class inside the loop.

Similar Messages

  • I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build.  The same call works fine when running on the device

    I have a production mobile Flex app that uses RemoteObject calls for all data access, and it's working well, except for a new remote call I just added that only fails when running with a release build. The same call works fine when running on the device (iPhone) using debug build. When running with a release build, the result handler is never called (nor is the fault handler called). Viewing the BlazeDS logs in debug mode, the call is received and send back with data. I've narrowed it down to what seems to be a data size issue.
    I have targeted one specific data call that returns in the String value a string length of 44kb, which fails in the release build (result or fault handler never called), but the result handler is called as expected in debug build. When I do not populate the String value (in server side Java code) on the object (just set it empty string), the result handler is then called, and the object is returned (release build).
    The custom object being returned in the call is a very a simple object, with getters/setters for simple types boolean, int, String, and one org.23c.dom.Document type. This same object type is used on other other RemoteObject calls (different data) and works fine (release and debug builds). I originally was returning as a Document, but, just to make sure this wasn't the problem, changed the value to be returned to a String, just to rule out XML/Dom issues in serialization.
    I don't understand 1) why the release build vs. debug build behavior is different for a RemoteObject call, 2) why the calls work in debug build when sending over a somewhat large (but, not unreasonable) amount of data in a String object, but not in release build.
    I have't tried to find out exactly where the failure point in size is, but, not sure that's even relevant, since 44kb isn't an unreasonable size to expect.
    By turning on the Debug mode in BlazeDS, I can see the object and it's attributes being serialized and everything looks good there. The calls are received and processed appropriately in BlazeDS for both debug and release build testing.
    Anyone have an idea on other things to try to debug/resolve this?
    Platform testing is BlazeDS 4, Flashbuilder 4.7, Websphere 8 server, iPhone (iOS 7.1.2). Tried using multiple Flex SDK's 4.12 to the latest 4.13, with no change in behavior.
    Thanks!

    After a week's worth of debugging, I found the issue.
    The Java type returned from the call was defined as ArrayList.  Changing it to List resolved the problem.
    I'm not sure why ArrayList isn't a valid return type, I've been looking at the Adobe docs, and still can't see why this isn't valid.  And, why it works in Debug mode and not in Release build is even stranger.  Maybe someone can shed some light on the logic here to me.

  • How to call Absence start date in absence Dff in SSHR.

    How to call Absence start date in absence Dff in SSHR.

    Did you try querying '%Absence%' in Flexfield Form Extension? You Should see 'Absence Descriptive Flex Field'.
    Thanks, Naveen G

  • Can not pass data after while loop

    Hello.
    I have created a VI for my experiment and am having problem passing data outside a while loop to save on an excel file. The VI needs to first move a probe radially, take data at 1mm increment, then move axially, take data radially at 1mm increment, then move to the next axial position and repeat. It would then export these data to an excel file. The VI is a little complicated but it's the only way I know how to make it for our experiment. I have tested it and all the motion works correctly, however I can not get it to pass the data after the last while loop on the far right of the VI where I have put the arrows (Please see the attached VI ). Is it because I'm using too many sequence, case, and while loops?  If so, what other ways can I use to make it export data to the excel file?
    Any help would be appreciated. 
    Thank you,
    Max
    Attachments:
    B.Dot.Probe.Exp.vi ‏66 KB

    Ummmm .... gee, I'm not even sure where to begin with this one. Your VI is well .... ummmm... You have straight wires! That's always nice to see. As for everything else. Well... Your fundamental problem is lack of understanding of dataflow programming. What you've created is a text program. It would look fantastic in C. In LabVIEW it makes my heart break. For a direct answer to your question: Data will not show up outside a while loop until the while loop has completed. This means your most likely problem is that the conditions to stop that specific loop are not being met. As for what the problem is, I don't even want to start debugging this code. Of course, one way to pass data outside of loops is with local variables, and hey, you seem to be having so much fun with those, what's one more?
    This may sound harsh, and perhaps be somewhat insulting, but the brutal truth is that what I would personally do is to throw it out and to start using a good architecture like a state machine. This kind of framework is easy to code, easy to modify, and easy to debug. All qualities that your code seems to lack.
    Message Edited by smercurio_fc on 08-17-2009 10:00 PM

  • After call commit sql , data can not flush to disk

    I use berkey db which support sql . It's version is db-5.1.19.
    1, Open a database.
    2. Create a table.
    3. exec "begin;" sql
    4. exec sql which is insert record into table
    5. exec "commit;" sql
    6. copy database file (SourceDB_912_1.db and SourceDB_912_1.db-journal) to Local Disk of D, then use a tool of dbsql to open the database.
    7. use select sql to check data, there is no record in table.
    1
    sqlite3 * m_pDB;
    int nRet = sqlite3_open_v2(strDBName.c_str(), & m_pDB,SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,NULL);
    2
    string strSQL="CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );";
    char * errors;
    nRet = sqlite3_exec(m_pDB, strSQL.c_str(), NULL, NULL, &errors);
    3
    nRet = sqlite3_exec(m_pDB, "begin;", NULL, NULL, &errors);
    4
    nRet = sqlite3_exec(m_pDB, "INSERT INTO TBLClientAccount (ClientId,AccountId) VALUES('dd','ddd'); ", NULL, NULL, &errors);
    5
    nRet = sqlite3_exec(m_pDB, "commit;", NULL, NULL, &errors);
    Edited by: 887973 on Sep 27, 2011 11:15 PM

    Hi,
    Here is a simple test case program I used based on your description:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include "sqlite3.h"
    int error_handler(sqlite3*);
    int main()
         sqlite3 *m_pDB;
         const char *strDBName = "C:/SRs/OTN Core 2290838 - after call commit sql , data can not flush to disk/SourceDB_912_1.db";
         char * errors;
         sqlite3_open_v2(strDBName, &m_pDB, SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE, NULL);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "begin;", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "INSERT INTO TBLClientAccount (ClientId,AccountId) VALUES('dd','ddd'); ", NULL, NULL, &errors);
         error_handler(m_pDB);
         sqlite3_exec(m_pDB, "commit;", NULL, NULL, &errors);
         error_handler(m_pDB);
         //sqlite3_close(m_pDB);
         //error_handler(m_pDB);
    int error_handler(sqlite3 *db)
         int err_code = sqlite3_errcode(db);
         switch(err_code) {
         case SQLITE_OK:
         case SQLITE_DONE:
         case SQLITE_ROW:
              break;
         default:
              fprintf(stderr, "ERROR: %s. ERRCODE: %d.\n", sqlite3_errmsg(db), err_code);
              exit(err_code);
         return err_code;
    }Than I copied the SourceDB_912_1.db database and the SourceDB_912_1.db-journal directory containing the environment files (region files, log files) to D:\, opened the database using the "dbsql" command line tool, and queried the table; the data is there:
    D:\bdbsql-dir>ls -al
    -rw-rw-rw-   1 acostach 0 32768 2011-10-12 12:51 SourceDB_912_1.db
    drw-rw-rw-   2 acostach 0     0 2011-10-12 12:51 SourceDB_912_1.db-journal
    D:\bdbsql-dir>C:\BerkeleyDB\db-5.1.19\build_windows\Win32\Debug\dbsql SourceDB_912_1.db
    Berkeley DB 11g Release 2, library version 11.2.5.1.19: (August 27, 2010)
    Enter ".help" for instructions
    Enter SQL statements terminated with a ";"
    dbsql> .tables
    TBLClientAccount
    dbsql> .schema TBLClientAccount
    CREATE TABLE [TBLClientAccount] ( [ClientId] CHAR (36), [AccountId] CHAR (36) );
    dbsql> select * from TBLClientAccount;
    dd|dddI do not see where the issue is. The data can be successfully retrieved, it is present in the database.
    Could you try putting in the sqlite3_close() call and see if you still get the error?
    Did you remove the __db.* files from the SourceDB_912_1.db-journal directory?
    Did you use PRAGMA synchronous, and if so, what is the value you set?
    If this is still an issue for you, please describe in more detail the exact steps needed to get this reproduced and provide a simple stand-alone test case program that reproduces it.
    Regards,
    Andrei

  • How to update flex field data on a human task?

    After entering a human task and assigning the data how do you then update flex field data whilst the task is still assigned. I'm using the task services to communicate with the task and applying filters based on the flex field data.
    I want to update the data when actions take place on the task e.g. suspend, aquire, release.
    Any ideas?

    You can fetch the task , change the flex attribute value and update the task. Find below the steps we do for updating one of the TextAttribute
    Task completeTask =  // get the task using task query service
    completeTask.getSystemMessageAttributes().setTextAttribute2(updatedfolderName);
    completeTask = // update the task using "updateTask" method

  • I changed my data plan from 6g to 8g while my daughter who attends college outside of the US at Toronto Canada (and we have on a international calling and international data plan) was on spring break at her grandparents house here in the US. I made the ch

    I changed my data plan from 6g to 8g while my daughter who attends college outside of the US at Toronto Canada (and we have on a international calling and international data plan) was on spring break at her grandparents house here in the US. I made the change online since I had been waiting on the phone for over 10 minutes for a customer service rep to come available. Well when I made the change online since that seems to be the thing that Verizon wants it's customers to do and I didn't see all the different plans available and just did the upgrade to 8g. Next bill had over $900 in roaming charges on her phone line. I called the 1-800 number and waiting for a service rep and after 20 minutes of waiting and being put on hold was told it was the customers mistake and there was nothing they could do.Thanks for nothing. I called back after thinking about it and wondered why changing a data plan for the phones in the US would change a international call plan. Waiting over 10 minutes again between waiting for a service rep and hold for one to answer the call. Gave her all the information about it and she said she would call back. Well, 4 days later over the weekend she had nevered called back. So on the phone again for the third time and after 20 plus minutes again was told that when I did it online I click the plan that didn't include international call only the data plan. Explained that I never saw the difference in the plan packages so put on hold again and was told that they could credit $100 to my bill. Wow, thanks alot !!! We have been Verizon customers for probably atleast 12 years and this is how you treat your long term customers?

    Verizon Wireless Customer Support wrote:
    AHARDY454,
    We definitely want to review options on what has happened. We are now connection, so you can hover over my username and send me a Direct Meesage so we can review your account information. We look forward to reviewing.
    Thank you,
    TonyG_VZW
    Follow us on Twitter @VZWSupport
    TonyG_VZW they can't exactly hover over your username unless you actually link it in your post. The generic username for all the reps just doesn't fly.

  • I still can't be on a phone call and use data without wifi on my Droid Turbo.  I thought this was going to be fixed by late November.

    I am so disappointed.  I am a long time Droid user and research the Droid Turbo for several months before purchasing.  I even read the reviews that indicated that there was a issue when attempting to use the phone calling feature and data at the same time.  I called Verizon and talked with a rep. who indicated that he had the new phone and assured me that this issue had been fixed.  Unfortunately, when I received the phone this was not the case.  Even an update shortly after purchase still did not fix this issue.  All of my Droids before this did not have this issue...how can a newer more improved phone?  I even called Motorola and the English of the representative was so bad that I could not overcome the language barrier therefore no solution was reached.  Wish I had my Razr HD back :{

    I can understand the concern CCONLEY.   Go to Settings>Advanced Calling> and select Activate Advanced Calling or contact Customer Service to get the features added. Once added Reboot device and go back to Setting>Advanced Calling>and ensure the Advanced Calling switch is set to On. Ensure you are in a 4G LTE service area and test again.  If there is still an issue, please let us know so we can forward your findings to the software team.    TamaraH_VZW Follow us on Twitter @VZWSupport If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • ODBC call SQLDriverConnect for data source Server name failed: [ . Notify Customer Support.

    Need help !
    While running DS job through designer we are getting below error:
    ODBC call <SQLDriverConnect> for data source <SErver name> failed: <[>. Notify Customer Support.
    Additional notes:
    1. Source and Target datastore are getting connected properly as i have imported table's definition using it.
    2. Source and target data store pointing to SQL server 2008 R2 express edition DB (64 bit).
    3. It seems like server machine has both 32bit and 64bit drivers installed on it. Please refer attached driverdetails.jpg file for more details.
    Thanks

    Hi did you referred this :
    ODBC call <SQLDriverConnect> for data source <MyComputer\SQLServer2008R2> failed: <[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.>. Notify Customer Support.

  • Is there a way to get my flex pitch data back?

    I finished flex pitching all my vocals so I went on the flex timing (mono). When I finished I went back to flex pitch and all my flex pitch data was gone.

    Look in your undo history. alt-cmd-Z.
    You cannot apply different flex modes on the same audio file.
    But...
    Flex Pitch can also be use to time flex, so there's no need to switch to monophonic.

  • Help in retreiving database data using a loop

    Hi, new here, please help me with my problem.
    In my database table, (SQL) I have 2 coloumns AgtName and Tier1.
    Within this table there are these data
    AgtName Tier1
    a b
    b c
    c d
    d NA
    e b
    My orginal plan was to use JSTL to retreive the data in a loop function. It will search the second coloumn and retreive data in a zigzag style. It would also stop when the data is NA
    An example is when the search paramater is 'a', it would retreive the data like this ' b c d NA'
    If it is 'e', it would be 'b c d NA'
    These are my codes
    <c:choose>
    <c:when test="${param.search!=null}">
    <sql:query var="result2" dataSource="${dataSource}">
    select * from testinzigzag
    where Name like ?
    <sql:param value="${param.search}" />
    </sql:query>
    <c:forEach var="row2" items="${result2.rows}">
    <c:choose>
    <c:when test="${row2.UpperTier!='NA'}">
    ${row2.UpperTier}
    <c:set var="loopVar" value="${row2.UpperTier}" />
    <!-- Start:You will have to start the coding part here -->
    <c:choose>
    <c:when test="${row2.UpperTier!='NA'}">
    <sql:query var="result3" dataSource="${dataSource}">
    select * from testinzigzag
    where Name like ?
    <sql:param value="${row2.UpperTier}" />
    </sql:query>
    <c:forEach var="row3" items="${result3.rows}">
    ${row3.UpperTier}
    <c:choose>
    <c:when test="${row3.UpperTier!='NA'}">
    <sql:query var="result4" dataSource="${dataSource}">
    select * from testinzigzag
    where Name like ?
    <sql:param value="${row3.UpperTier}" />
    </sql:query>
    <c:forEach var="row4" items="${result4.rows}">
    ${row4.UpperTier}
    <c:choose>
    <c:when test="${row4.UpperTier!='NA'}">
    <sql:query var="result5" dataSource="${dataSource}">
    select * from testinzigzag
    where Name like ?
    <sql:param value="${row4.UpperTier}" />
    </sql:query>
    <c:forEach var="row5" items="${result5.rows}">
    ${row5.UpperTier}
    </c:forEach>
    </c:when>
    </c:choose>
    </c:forEach>
    </c:when>
    </c:choose>
    </c:forEach>
    </c:when>
    </c:choose>
    <!-- End: You will have to end the coding part here -->
    </c:when>
    <c:when test="${row2.UpperTier=='NA'}">
    No Upper Tier
    </c:when>
    </c:choose>
    </c:forEach>
    </c:when>
    </c:choose>

    Sorry for the doublepost, continuing from the last post
    I can only code it in a way that it is not done in a loop. Assuming i have 50 tiers, I would not to do it 50 times. Is there a way that I can do it in a loop?

  • Function calling function passing data

    We have developed an MQSERIES utility that is a function that calls many related functions and its purpose is to perform a variety of MQSeries functions with minimal interaction required by the user. The user provides the message, an activity code (pd for puts, gd for gets, pr for putting requests for replies, etc.) and a couple other parameters. The user gets back the message, a return flag (good, bad, truncated, etc). . Our MQSERIES function is a function of the calling module. Our function has it's series of includes with classes, functions, etc. The calling program needs a couple includes (to define the passed data areas) and a function prototype of our function (void mqcmd090(typefilefdi &, typefilemsg &, typefilemdi &);) and after the user does string copies and so forth into the passed data areas they currently call the function (mqcmd090(currpassarea, currmessage, currquetable);) After our function is called these passed data areas are manipulated by the user's module. They inquire into the return code, they may do activity (with message ids, etc), they manipulate the message and may send it back (replies, etc). Our dilemma is this. The users want our module to be stand-alone. It should be compiled and linked by itself. Their module should be compiled and linked by itself. They don't mind having a couple includes for the common passed structures but our modules should not be a function in theirs.
    How can I compile our function (and how can they call it) so that we can keep the communications going both ways between modules? A system call can't do it because they can send us information but they can't receive information back. If our module needs an upgrade we should just be able to change and recompile ours and their next execution should get the changes.
    I am at a loss and would greatly appreciate any assistance on this matter.
    Thanks,
    Dennis Bartizal

    We have developed an MQSERIES utility that is a function that calls many related functions and its purpose is to perform a variety of MQSeries functions with minimal interaction required by the user. The user provides the message, an activity code (pd for puts, gd for gets, pr for putting requests for replies, etc.) and a couple other parameters. The user gets back the message, a return flag (good, bad, truncated, etc). . Our MQSERIES function is a function of the calling module. Our function has it's series of includes with classes, functions, etc. The calling program needs a couple includes (to define the passed data areas) and a function prototype of our function (void mqcmd090(typefilefdi &, typefilemsg &, typefilemdi &);) and after the user does string copies and so forth into the passed data areas they currently call the function (mqcmd090(currpassarea, currmessage, currquetable);) After our function is called these passed data areas are manipulated by the user's module. They inquire into the return code, they may do activity (with message ids, etc), they manipulate the message and may send it back (replies, etc). Our dilemma is this. The users want our module to be stand-alone. It should be compiled and linked by itself. Their module should be compiled and linked by itself. They don't mind having a couple includes for the common passed structures but our modules should not be a function in theirs.
    How can I compile our function (and how can they call it) so that we can keep the communications going both ways between modules? A system call can't do it because they can send us information but they can't receive information back. If our module needs an upgrade we should just be able to change and recompile ours and their next execution should get the changes.
    I am at a loss and would greatly appreciate any assistance on this matter.
    Thanks,
    Dennis Bartizal

  • HOT TO INTEGRATE, WCF flex 4 data services

    OK.  I am trying to build a simple HELLO WORLD WCF Sample and use FLEX 4 (new data servic
    es wizard to invoke it).
    I have the WCF Client
    Tested the WCF Client  (works great with JQUERY)
    Now I have a brand new flex project and was able
    to click the "DATA/SERVICES" and establish a good relationship to the wsdl
    http://llocalhost/service.svc?wsdl
    Flex 4 finds the service and the correct methods.
    WHEN IT TEST IT OUT using the "TEST OPERATION" panel..it fails with a very ugly error.
    a:InternalServiceFaultError in deserializing body of request message for
    operation 'HelloWorld'. OperationFormatter encountered an invalid Message
    body. Expected to find node type 'Element' with name 'HelloWorld' and
    namespace 'http://localhost'. Found node type 'Element' with name
    'q0:HelloWorld' and namespace 'http://tempuri.org/'OperationFormatter
    encountered an invalid Message body. Expected to find node type 'Element'
    with name 'HelloWorld' and namespace 'http://localhost'.  .........
    I also decided to try and test invoking it from a mxml file
    NOTHING HAPPENS AT ALL..OR IT GET NULL OR OTHER ERRORS
    <s:Application 
    xmlns:testWcFWebServices="services.service.*"
    protected function helloWorld():void
    //Alert.Show(ServiceTest.HelloWorld().result);
    HelloWorldResult.token = ServiceTest.HelloWorld();
    Alert.show(HelloWorldResult.lastResult);
     <fx:Declarations>
     <s:CallResponder id="HelloWorldResult"/>
     <testWcFWebServices:Service id="ServiceTest" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>  </fx:Declarations>
    </fx:Declarations>
    PLEASE HELP...this is very disturbing when trying to figure this out.
    search:
    flex 4 CallResponder wcf wsdl hello world
    flex 4  wcf wsdl data services
    flex 4  wcf wsdl data services 2010
    flex 4  wsdl data services wizard
    flex 4 web service hello world example
    flex 4 data services web service hello world example
    flex 4 data services hello world example
    flex 4 data services example
    flex4 wcf
    flex InternalServiceFaultError in deserializing body of request message for
    flex services InvocationTargetException

    Holy cow???? it finally came through....It really should not be that Hard.  I should be able to right click the "DATA/SERVICES" icon and it generate a MXML action script file on how to consume it...
    IF JUST WORKING WITH a simple Data Type:
    DO NOT NEED TO work with a
    <s:CallResponder id="myHelloWorldResult"/>
    JUST SIMPLE CREATE A RESULT EVENT IN THE DECLARATION:
      <testWcFWebServices:MyHelloWorld id="ServiceTest" result="ServiceTest_resultHandler(event)" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
    protected function ServiceTest_resultHandler(event:ResultEvent):void
    showResult(event.result.toString());
    private function showResult(reqResult:String):void {
    Alert.show(reqResult);
    TO NOTE: I DID USE THIS SAMPLE AS I GUIDE: Even though this guy used action script...and I wanted to use the DATA\SERVICES wizard.
    http://cookbooks.adobe.com/post_Connecting_Flex_4_with_WCF_Services-17006.html

  • Flex RemoteObject

    Hello All
    Who know How to use Flex Remoteobject element in Web Dynpro Java with Flash-Islands.thanks

    Hi,
    Have a look at the following thread:
    [Flash Islands] Flex communication, AMF (Action Message Format) ?
    Regards.
    Rajat

  • Flex datagrid data on datachange

    Hi all,
    I am using an extended datagrid which takes its height on the basis of measured height of items. Item renderer for datagrid is a canvas. Which holds one more canvas(header for item renderer) and a text area. The problem I am facing is with the header canvas in item renderer. Header canvas has one label which diaplay a name of user. On the basis of data provider for the current item visibility of this label in header canvas is set as true or false. issue is when it set to false it repaints(on data change event) all the previous header canvas label also to visible false. And just the last item has the data. Rather it should set its visiblity false only for the current item and rest items sholud behave as value set for them.
    Thanks in advance.

    Adobe Newsbot hopes that the following resources helps you.
    NewsBot is experimental and any feedback (reply to this post) on
    its utility will be appreciated:
    Flex 3 - Handling service results:
    Flex interprets the XML data that a web service or HTTP
    service returns to ..... a DataGrid control with DataTable data
    returned from a .NET web service.
    Link:
    http://livedocs.adobe.com/flex/3/html/data_access_6.html
    Flex cookbook beta - Building Flex Applications with SOAP Web
    Services:
    Mar 3, 2008 ... If you are using web services technologies
    then it is usually ... The DataGrid tag instanciates an instance of
    the DataGrid Flex control.
    Link:
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=2&postI d=7863
    Flex 3 - Using WebService components:
    The Flex web service API generally supports Simple Object
    Access Protocol (SOAP) ... property of a DataGrid control and
    displayed in the DataGrid control.
    Link:
    http://livedocs.adobe.com/flex/3/html/data_access_3.html
    Adobe - Flex General Discussion:
    Flex datagrid data column / webservice - justneed2know -
    08/27/2008 ... I use a web service to populate a datagrid and its
    columns (on of which is date).
    Link:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=60&catid=585&threadid =1388794&enterthread=y
    All Classes (Flex 3):
    mx.rpc.soap, AbstractWebService is an abstract base class for
    implementations that provide RPC access to SOAP-based web services.
    Link:
    http://livedocs.adobe.com/flex/3/langref/class-summary.html
    Adobe - Developer Center : Using Flex Builder to Create Web:
    Using Flex Builder to Create Web ServiceBased Flex
    Applications ... The web service result data needs to flow to the
    DataGrid. Select the 'Data will flow
    Link:
    http://www.adobe.com/devnet/flex/articles/flexbuilder_ws_04.html
    Disclaimer: This response is generated automatically by the
    Adobe NewsBot based on Adobe
    Community
    Engine.

Maybe you are looking for