0 Replies Latest reply on Jul 15, 2007 11:34 PM by Thenmalar

    how to use loop inside <mx:webservice> tag

    Thenmalar
      Hi to all,
      I'm using some webservices. i just want to pass XMLChildren to the request element of webservice tag.
      for that,
      <mx:WebService id="WES3" destination="applicantws" useProxy="true" fault="Alert.show(event.fault.faultString) , 'Error'" >
      <mx:operation name="ZhrFunApplicantCreate" result="onResult2(event)" resultFormat="e4x" >
      <mx:request>
      <education>
      { samplexml.children() }
      </education>
      </mx:request>
      </mx:operation>
      </mx:WebService>

      but the problem is samplexml contains many children when i embed that samplexml inside websrvice it is taking only the firstchild of that samplexml.so i need to loop through the samplexml inorder to fetch & bind all the childs of that samplexml.
      How do i do that??
      can anyone please please please bring me the solution...

      Thanks in advance..

      regards,
      Thenmalar. v