Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

Data is not transmitting in webservice

Avatar

Level 1

I have connected a webservices from another machine to flex.No error as occurred.But the data entered in flex page s not transmited to the the webservice which is in another machine. i have attached my flex code below.please help.thanks in advance.

/*

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:myValidationService="generated.webservices.*">
    <mx:Script>
        <![CDATA[
            import generated.webservices.*;
            private var number1:String;
               private var number2:String;
               private function f1():void
               {
            number1=(String)(txt_name.text);
            number2=(String)(txt_pass.text);
               }
 
        ]]>
    </mx:Script>

<myValidationService:ValidationService id="myValidationService">
    <myValidationService:check1_request_var>
            <myValidationService:Check1_request/>
    </myValidationService:check1_request_var>
</myValidationService:ValidationService>
       <mx:Panel width="376" height="312" layout="absolute" verticalCenter="-10" horizontalCenter="0" title="LOGIN FORM">
            <mx:TextInput x="159" y="36" id="txt_name" maxChars="5" change="f1()"/>
            <mx:TextInput x="159" y="97" id="txt_pass" displayAsPassword="true" maxChars="5" change="f1()"/>
            <mx:Label x="51" y="38" text="Enter Name"/>
            <mx:Label x="51" y="101" text="Enter Password"/>
            <mx:Button x="126" y="156" label="Submit" click="myValidationService.check1(number1,number2)" />
              <mx:Label id="result" text="myValidationService:check1_lastResult" width="150" enabled="true" horizontalCenter="-103"/>
      </mx:Panel>
</mx:Application>

*/

0 Replies