7 Replies Latest reply on Jan 18, 2010 8:59 PM by Radhakrishna Bhat

    Flex 4 - Web Services

    dwelford

      Hi All,

      I am working with a web services WSDL: http://www.nims.nl/soap/oms.wsdl

       

      Everything with the exception of the oms.OMS_ReceiveMessage_simple(UserName,Password);

       

      Only the ReceiveMessages is not returning the correct data, is this something to do with the Flex 4 IDE or WSDL wizard?

       

      private function getMessages():void
         {
          OMS_ReceiveMessage_simpleResult.addEventListener(ResultEvent.RESULT,recMsgHandler);
          OMS_ReceiveMessage_simpleResult.token = oms.OMS_ReceiveMessage_simple(sUserName,sUserPwd);
         }

       

       

      protected function recMsgHandler(event:ResultEvent):void
         {
          
          if(blnLogin)
          {
          
          txtArea.Text=OMS_ReceiveMessage_simpleResult.lastResult;
            }
         
         }

       

      Thanks

      David..........