yes i do get list of methods with the method i need to call.

On Aug 24, 5:35 pm, Daniel <[email protected]> wrote:
> This may sound stupid and u don't know what, if any, response you would get
> if you are calling a method that doesn't exist in the web service.
>
> When you set up the service with the wizard did you get a list of all the
> methods and the return types?
> On Aug 18, 2011 11:21 AM, "kanak3" <[email protected]> wrote:
>
>
>
>
>
>
>
> > I have written a code that should connects to a web server and call a
> > method.But when i run it its does not give me any response not even
> > Fault.
> > Can someone help me?
> > Below is the code:
>
> > <?xml version="1.0" encoding="utf-8"?>
> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> > layout="absolute">
> > <mx:WebService id="DirectoryService"
> > wsdl="http://cmuicds.rutgers.edu/uicds/core/ws/services/
> > DirectoryService.wsdl"
> > useProxy="false"
> > showBusyCursor="true"
> > result="onResult(event)"
> > fault="onFault(event)">
> > </mx:WebService>
>
> > <mx:ApplicationControlBar dock="true">
> > <mx:Button id="button"
> > label="get incidents from web service"
> > click="button_click()"/>
> > <mx:ComboBox id="cmb" dataProvider="{zipfls}" labelField="name"
> > width="241" height="24"/>
> > </mx:ApplicationControlBar>
>
> > <mx:Script>
> > <![CDATA[
> > import mx.controls.Alert;
> > import mx.rpc.events.ResultEvent;
> > import mx.rpc.events.FaultEvent;
> > import mx.utils.ObjectUtil;
> > import mx.collections.ArrayCollection;
>
> > [Bindable] private var zipfls:ArrayCollection;
> > private var flag:Boolean;
>
> > private function button_click():void
> > {
> > DirectoryService.GetIncidentList();
> > flag = DirectoryService.canLoadWSDL();
> > Alert.show("Testing....." + flag);
> > //Alert.show("Description " +DirectoryService.operations);
>
> > }
>
> > private function onResult(evt:ResultEvent):void
> > {
> > zipfls = new ArrayCollection();
> > //textArea.text = ObjectUtil.toString(evt.result);
> > zipfls = evt.result as ArrayCollection;
> > Alert.show("Is data comming in?" + zipfls.length);
> > }
>
> > private function onFault(evt:FaultEvent):void
> > {
> > Alert.show(evt.type);
>
> > }
>
> > ]]>
> > </mx:Script>
>
> > </mx:Application>
>
> > --
> > 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
>
> [email protected].> To unsubscribe from this group, 
> send email to
>
> [email protected].> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to