Hi Guys I have used Web Service in REST in the past but this is my first attempt to call SOAP method from WSDL and for some reason it is failing, I have never called a single method through SOAP so please bear my beginner mistakes,Below is my MXML code and my WSDL has following schema, Anyone has any idea why it is failing ? Any guidance and help will be appreciated Thanks
/****************WSDL****************/ <wsdl:definitions targetNamespace="urn:schemas-pelco-com:service:UDIConfiguration:1"> â' <wsdl:types> â' <xsd:schema targetNamespace="urn:schemas-pelco-com:service:UDIConfiguration:1"> â' <xsd:complexType name="Channels"> â' <xsd:sequence> <xsd:element name="channelId" type="xsd:string"/> <xsd:element name="channelNumber" type="xsd:int"/> </xsd:sequence> </xsd:complexType>....... â' <xsd:element name="GetAvailableChannels"> <xsd:complexType/> </xsd:element> /********************MXML*****************/ <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:myService="generated.webservices.*" layout="absolute" creationComplete="start();" > <mx:Script> <![CDATA[ import mx.controls.Alert; import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import mx.rpc.soap.LoadEvent; import mx.rpc.soap.WebService; import generated.webservices.*; public var webServices:WebService = new WebService(); public function start():void { webServices.wsdl = "http://10.1.4.1:5000/WSDL/UDIConfigurationV1.wsdl"; webServices.loadWSDL(); webServices.addEventListener(LoadEvent.LOAD,wsdlLoaded); } public function wsdlLoaded(event:LoadEvent):void { webServices.GetAvailableChannels(); webServices.GetAvailableChannels.addEventListener(ResultEvent.RESULT,onNumerOfPlugins); webServices.GetAvailableChannels.addEventListener(FaultEvent.FAULT,onFault); } public function onNumerOfPlugins(event:ResultEvent):void { Alert.show(event.result.toString()); } public function onFault(event:FaultEvent):void { Alert.show("Error Loading Function"); } ]]> </mx:Script> </mx:WindowedApplication>

