0 Replies Latest reply on Mar 14, 2007 10:21 AM by rwd1971

    Web Service response not working...

    rwd1971
      Hi, does anyone see anything wrong with this code? It executes the web service fine but the returned response it is not showing up in the text area...

      TIA

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">

      <mx:WebService id="foo" wsdl=" http://server01:8080/services/Login?wsdl">

      <mx:operation name="synchronousInvoke">
      <mx:request>
      <searchtype>2</searchtype>
      <searchvalue>arth</searchvalue>
      </mx:request>
      </mx:operation>
      </mx:WebService>

      <mx:Button label="Get Data" click="foo.synchronousInvoke.send()" x="261" y="405"/>

      <mx:TextArea text="{foo.synchronousInvoke.result}" x="261" y="46" width="565" height="339"/>

      </mx:Application>