I have a CFC with access="remote" that returns the follownig
XML :
<section id="Main">
<field>
<fquestion>Named Insured</fquestion>
<id>s36</id>
<ftype>text</ftype>
<flabel>ABC Daycare</flabel>
</field>
<field>
<fquestion>Insured Address</fquestion>
<id>12</id>
<ftype>text</ftype>
<flabel>123 Main Street</flabel>
</field>
</section>
I have ServiceCapture running and can verify that the XML is
being generated.
In my Flex app I create the WS :
<mx:WebService wsdl="
http://www.thomcoins.com/Services/appData.cfc?wsdl"id="fXML" showBusyCursor="true">
<mx:operation name="getXML">
<mx:request xmlns="">
<section>{textData.text}
</section>
</mx:request>
</mx:operation>
</mx:WebService>
But when I try to set the results into a text area :
xmlTextNew.text = fXML.getXML.lastResult;
nothing displays at all.
If I change it to fXML.getXML.lastResult.section;
I get the error TypeError: Error #1009: Cannot access a
property or method of a null object reference.
What am I missing?
Thanks,