1 Reply Latest reply on Jul 10, 2009 9:37 AM by Barticula

    Module HTTPService partial data

    Barticula

      I recently broke a scope-creeping app into modules, and now the HTTPServices in those modules do not return complete data from server-side scripts outputting XML the first time they are run. It appears as though the result handlers can only see three layers deep into the XML. Any subsequent runs of the HTTPService work properly.

       

      The only thing that has changed with the code is moving the HTTPServices parent components into Modules. The debugger shows the exact same thing as the result handlers - they don't see any children below the third level. Is there a limit on how deep Modules can see data?

       

      For example, the XML output from the server looks like:

       

      <Companies>
        <Company>
          <CompanyName>COMP1</CompanyName>
            <EBF4s>
              <Roster>
                  <Time>08-JUL-2009 10:59</Time>           
                  <Shift>9X</Shift>

                  <Persons>
                    <Person>
                         <ID>1234</ID>
                         <FirstName>Joe</FirstName>
                         <LastName>Blow</LastName>
                    </Person>
                 </Persons>
               </Roster>
             </EBF4s>
          </Company>
        <Company>
      </Companies>

       

       

      But the result handler produces this:

       

      <Companies>
        <Company>
          <CompanyName>COMP1</CompanyName>

            <EBF4s>

             </EBF4s>
          </Company>
        <Company>
      </Companies>