2 Replies Latest reply on Nov 2, 2010 3:24 AM by selvakumar p

    Reading data from a webservice

    jay81j

      Hi all

       

        i have a webservice which which will return the square of the number.


      < s0:ZJK_FLEX_TEST.Response xmlns:s0 = 
      "urn:sap-com:document:sap:rfc:functions" 
      xmlns:SOAP - ENC = 
      "http://schemas.xmlsoap.org/soap/encoding/"
      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
        
      <DATA1>0000016</DATA1>
      </s0:ZJK_FLEX_TEST.Response>
      
      

       

      the data1 contains the value.


      but i am not able to set that value to the text field in the flex.

       

      function(){return A.apply(null,[this].concat($A(arguments)))}

      public function result_getAll(event:ResultEvent):void

       

      Alert.show(event.result.toString());

      // here i want to set the value to the text field.

       

      }