2 Replies Latest reply on Aug 11, 2006 11:45 AM by DrPennybags

    Web services and .Net

      I have a simple web service that returns xml data. I have a WebService control that is processing the service. I can output the data to a TextArea and everything looks right. When I attempt to read the XML data into a control, it doesn't work.

      So I create a web page that outputs the XML. I then created a HTTPService that reads the XML and populates a control with the data. It works like a charm.

      <mx:WebService id="LinkService" wsdl="" useProxy="false">
      <mx:operation name="GetLinks" resultFormat="e4x" fault="Alert.show(event.fault.message)">
      <mx:TextArea width="400" height="190" wordWrap="false" text="{XML(LinkService.GetLinks.lastResult).toString()}" />
      <mx:DataGrid x="30" y="75" id="dgLinks2" width="400" dataProvider="{XML(LinkService.GetLinks.lastResult).links.link}">
      <mx:DataGridColumn headerText="Links" dataField="url"/>

      Where am I going wrong?