Hi Thiago, Can youtell me where to check the cross doamain file on server if v have username and password to connect to the server(webservices)? OR I can do as following but something is going wrong,It dose not retrive the incident list: <?xml version="1.0" encoding="utf-8"?> <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/ mxml" layout="absolute" xmlns:mob="openplug.elips.controls.*">
<mx:Script> <![CDATA[ import mx.rpc.events.FaultEvent; import mx.rpc.events.ResultEvent; import mx.rpc.soap.LoadEvent; import mx.rpc.soap.WebService; import mx.controls.Alert; private var userRequest:WebService = new WebService(); private var resultTest:String; private function onWSDLLoaded(event:LoadEvent):void { requestbtn.visible = true; resultTest = "onLoaded"; resultLoad.text = event.toString(); } private function onResult(event:ResultEvent):void { resultTest = "onResult"; resultResquest.text = event.result.toString(); } private function onFault(fault:FaultEvent):void { resultTest = "onFault"; } public function doLoadWSDL():void { userRequest.wsdl = "http://cmuicds.rutgers.edu/uicds/ core/ws/services/IncidentManagementService.wsdl"; userRequest.addEventListener(FaultEvent.FAULT, onFault); userRequest.addEventListener(LoadEvent.LOAD, onWSDLLoaded); userRequest.loadWSDL(); } public function doRequest():void { userRequest.addEventListener(ResultEvent.RESULT,onResult); //var options:Object = {"output-format": "plain- text"}; userRequest.GetIncidentList(); } ]]> </mx:Script> <mx:VBox width="100%"> <mx:Button label="Load Web Service" click="doLoadWSDL()"/> <mx:Text id="resultLoad" height="40" width="100%" fontSize="12"/> <mx:Button id="requestbtn" label="Execute request on web service" click="doRequest()" visible="false"/> <mx:Text id="resultResquest" height="150" width="100%" fontSize="12"/> </mx:VBox> </mx:WindowedApplication> On Aug 3, 10:59 pm, Thiago Cordeiro <thiagoguet...@gmail.com> wrote: > Hi, Your remote server must have a cossdomain file to get connection, google > 'flex crossdomain' to learn how it work > > Best Regards, > Thiago > > 2011/8/3 kanak3 <chaudhari.kanc...@gmail.com> > > > > > > > > > Hi Everybody, > > I am trying to connect to the remote server using SOAP and WSDL. I > > used the Data Services wizard to connect to a service, but i am > > getting an error: "An error occurred. The wizard cannot complete > > successfully." > > > Basically the requirement is that i should connect to the server using > > soap,I have been provided the WSDL URI.This document has a method > > named GetIncidentList().I need to extract all the Incidents in the > > Dropdown Box using Flex Combobox. > > > Can someone help me here? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps API For Flash" group. > > To post to this group, send email to > > google-maps-api-for-flash@googlegroups.com. > > To unsubscribe from this group, send email to > > google-maps-api-for-flash+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/google-maps-api-for-flash?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to google-maps-api-for-flash@googlegroups.com. To unsubscribe from this group, send email to google-maps-api-for-flash+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en.