1 Reply Latest reply on Sep 29, 2010 5:26 PM by FlexualHealing

    asp.net webservice is not giving value back to controls

    FlexTeamInd Level 1

      Hi

       

      I have used asp.net webservice with flex.

       

      The following code is working fine . but i can't receive any values from the web service to the controls.

       

       

       

      <?

       

       

      xml version="1.0" encoding="utf-8"?>

      <

       

      mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="600" height="450">

       

       

      <mx:WebService id="EchoStuff" wsdl="http://localhost:1455/Service1.asmx?WSDL" showBusyCursor="true" >

       

       

      <mx:operation name="HelloWorld">

       

      <mx:request>

       

       

      <strMessage>{name1.text}</strMessage>

       

       

      </mx:request>

       

       

      </mx:operation>

      </

       

      mx:WebService>

      <

       

      mx:VBox>

      <

       

      mx:TextInput id="name1"></mx:TextInput>

      <

       

       

      mx:Button click="EchoStuff.SayHello.send()"></mx:Button>

      <

       

      mx:Label text="{EchoStuff.SayHello.result}"></mx:Label>

      </

       

      mx:VBox>

      </

       

      mx:Application>

       

      Thanks

       

      FlexTeamInd