0 Replies Latest reply on Feb 12, 2008 2:56 AM by ysharma

    How to execute a Flex WebService from JS using FABridge

    ysharma
      Hello,
      I have defined following WebService in my mxml :
      <mx:WebService id="xMIIData" wsdl=" http://localhost/Lighthammer/WSDLGen/Flex/L1OEE" fault="Alert.show('Error Occured..!')">
      <mx:operation name="Xacute">
      <mx:request>
      <XacuteRequest>
      </XacuteRequest>
      </mx:request>
      </mx:operation>
      </mx:WebService>

      Now i want to execute it from JS.
      I have written following code but it's not working.
      var flexApp = FABridge.sample.root();
      flexApp.getXMIIData().getXacute().send();

      Can anybody help me here??