3 Replies Latest reply on Jul 14, 2006 6:37 AM by p_watson

    Web Service Output

    CKLThomco Level 1
      I have a CFC with access="remote" that returns the follownig XML :
      <section id="Main">
      <fquestion>Named Insured</fquestion>
      <flabel>ABC Daycare</flabel>
      <fquestion>Insured Address</fquestion>
      <flabel>123 Main Street</flabel>

      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="">

      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?