2 Replies Latest reply on Apr 26, 2007 2:28 AM by Blue_Pixel

    Call Webservice method

    Blue_Pixel
      Hello,
      I'm using in my Flex 2 project an webservice:
      <mx:WebService id="WStest" wsdl=" http://192.xxx.x.xx/Service.asmx?WSDL" showBusyCursor="true"
      <mx:operation name="Test_me" result="test()">
      <mx:request>
      <int>0</int>
      </mx:request>
      </mx:operation>
      <mx:operation name="OperatorExists" fault="faultHandler(event)" resultFormat="xml">
      <mx:request>
      <name>aaa</name>
      <password>aaa</password>
      </mx:request>
      </mx:operation>
      </mx:WebService>
      "Test_me()" method works if I write" WStest.Test_me.send(0)". I want to know how should I call "OperatorExists" method with 2 parameters? I've tried with WStest.OperatorExists.send('aa',aaa') , WStest.OperatorExists.send(aaa,aaa), and WStest.OperatorExists.send(name:"aaa",password:'aaa') but still no result. This method should return "true" if the username and password are good and "false" if not.
      Pleas help me if you can.
      Thank you,
      Tudor