Getting started with Flex - Help wanted

 As I continue my journey through the "Getting Started with Flex 2" I've now finished the example where I should be able to pull down the most popular posts from MXNA. It compiles without error, and the layout looks ok in the browser. But there is no data pulled in. In the browsers status bar (or what it is called) I get "Waiting for weblogs.macromedia.com..."

I was wondering if anybody else who have gone trough this still has the code and can check if they get the same result. If not then obviously there must be something wrong in my code.

Here's the code I have:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="wsBlogAggr.getMostPopularPosts.send()">
    <mx:WebService id="wsBlogAggr" wsdl="http://weblogs.macromedia.com/mxna/webservices/mxna2.cfc?wsdl" useProxy="false">
        <mx:operation name="getMostPopularPosts">
            <mx:request>
                <daysBack>30</daysBack>
                <limit>{cbxNumPosts.value}</limit>
            </mx:request>
        </mx:operation>
    </mx:WebService>
    <mx:Label x="49" y="64" text="Most Popular Posts"/>
    <mx:ComboBox x="49" y="106" id="cbxNumPosts" change="wsBlogAggr.getMostPopularPosts.send()">
        <mx:Object label="Top 5" value="5"/>
        <mx:Object label="Top 10" value="10"/>
        <mx:Object label="Top 15" value="15"/>
    </mx:ComboBox>
    <mx:DataGrid x="49" y="156" id="dgTopPosts" width="400" dataProvider="{wsBlogAggr.getMostPopularPosts.lastResult}">
        <mx:columns>
            <mx:DataGridColumn headerText="Top Posts" dataField="postTitle"/>
            <mx:DataGridColumn headerText="Clicks" dataField="clicks" width="75"/>
        </mx:columns>
    </mx:DataGrid>
    <mx:LinkButton x="49" y="326" label="Select an item and click here for full post" click="navigateToURL(new URLRequest(dgTopPosts.selectedItem.postLink));"/>
    
</mx:Application>

Comments
What are the results from the wsdl when you look at the network view for what was sent and received? If you don't have that view, get fiddler from MS and install it. It will let you use it as a proxy and see what is being transfered. You may also want to narrow the scope of your data when testing to just 1 day.
# Posted By Reuben | 5/24/06 10:12 AM
Your problem is in what you think you're passing to the web service. The ComboBox.value property returns an Object and the web service expects a double. But wait, there's more! ComboBox.value returns the value of the selected item - which in your case is "Top 5". This most certainly isn't a double (smile). If you replace the ".value" with ".selectedItem.value" in your binding you'll be on your way.
# Posted By Kevin Hoyt | 5/24/06 10:36 AM
Thank you for the Fiddler tip Reuben, and for the full solution Kevin. Somehow my blog seems to fail in sending me e-mail warnings when someone responds - so I did not see your replies before now.
# Posted By Trond Ulseth | 6/5/06 7:41 AM