Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Data is not transmitting in webservice


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.*">
            import generated.webservices.*;
            private var number1:String;
               private var number2:String;
               private function f1():void

<myValidationService:ValidationService id="myValidationService">
       <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"/>


0 Replies