Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9149105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:25:55+00:00 2026-06-17T11:25:55+00:00

Once I run my Flex application, it successfully gets the SOAP response and populate

  • 0

Once I run my Flex application, it successfully gets the SOAP response and populate the values in dropdown box but they are empty, in other words, when I hover the mouse on my dropdown box I can see that it has three empty values.

my flex code

<fx:Script>

    <![CDATA[
        import mx.events.FlexEvent;

        protected function  
                    dropDownList_creationCompleteHandler(event:FlexEvent):void
        {
            myResults.token = myservice.myUsers();
        }

    ]]> 
</fx:Script>

    <fx:Declarations>

    <myservice:myservice id="myservice"/>

    <s:CallResponder id="myResults"/>

</fx:Declarations>

 <s:FormItem label="Label">
  <s:DropDownList id="dropDownList"
       creationComplete="dropDownList_creationCompleteHandler(event)"
       labelField="name">
       <s:AsyncListView list="{myResults.lastResult}"/>
  </s:DropDownList>
  </s:FormItem>

XML is

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope
  xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <soapenv:Body>
    <myusersResponse xmlns="http://Services.com">
      <myusersReturn>
        <name>Nicole</name>
        <age>50</age>
      </myusersReturn>
      <myusersReturn>
        <name>Jayne</name>
        <age>40</age>
      </myusersReturn>
       <myusersReturn>
        <name>Alex</name>
        <age>33</age>
      </myusersReturn>
    </myusersResponse>
  </soapenv:Body>
</soapenv:Envelope>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:25:56+00:00Added an answer on June 17, 2026 at 11:25 am

    Check xmlns namspace.

    the following code i wrote to emulate your problem works fine:

    <?xml version="1.0" encoding="utf-8"?>
    

        <![CDATA[
            import mx.collections.XMLListCollection;
            import mx.events.FlexEvent;
            import mx.messaging.messages.SOAPMessage;
            [Bindable]
            var _result:*;
    
            protected function  
                dropDownList_creationCompleteHandler(event:FlexEvent):void
            {
                var xml:XML = <Body>
                                <myusersResponse>
                                  <myusersReturn>
                                    <name>Nicole</name>
                                    <age>50</age>
                                  </myusersReturn>
                                  <myusersReturn>
                                    <name>Jayne</name>
                                    <age>40</age>
                                  </myusersReturn>
                                   <myusersReturn>
                                    <name>Alex</name>
                                    <age>33</age>
                                  </myusersReturn>
                                </myusersResponse>
                              </Body>;
    
            _result = new XMLListCollection(new XMLList(xml.myusersResponse.myusersReturn));
            }
    
        ]]> 
    </fx:Script>
    
    <fx:Declarations>
    
    </fx:Declarations>
    
    <s:FormItem label="Label">
        <s:DropDownList id="dropDownList"
                        creationComplete="dropDownList_creationCompleteHandler(event)"
                        labelField="name">
            <s:AsyncListView list="{_result}"/>
        </s:DropDownList>
    </s:FormItem>
    

    But if you add xmlns=”http://Services.com to myusersResponse tag it fails.

    EDIT:
    In case you need namespace workaround, I just answered Jack Moores question with namespace solution here My flex code does not parse the soap response properly

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a Flex application that will need run under two different deployment scenarios:
I need to install an application that will run once for any user that
I have to develop an application using C#.net that has to be run once
I tried to package a Twisted program with py2exe, but once I run the
I only want my JavaScript to run once, but I cannot control how many
Once I run search all using Ctrl + Shift + F then my search
Using VB 6 Once I run the project, How to display a previously selected
I have a php script that is run once a minute. The script runs
I have a .sql script file that I want to run once every 24
I have this command to go to every directory and once there run some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.