<mx:WebService id="PersonService" destination="wsDest"
useProxy="false"        
wsdl="http://localhost:8080/myHelloWorld/ServletWS?WSDL";>
    <mx:operation name="getAllPerson"
        fault="showError(event);"
        result="log(event);">
    </mx:operation>
</mx:WebService>

<mx:Button id="allPerson" label="Get AllPerson"
    click="try{
              PersonService.getAllPerson.send();
          }catch(e:Error){
              Alert.show("Send: " + e.message);
          }"/>

<mx:Script>
        <![CDATA[
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import mx.controls.Alert;
                
                public function log(event:ResultEvent) {
                // function implementation
                        trace("Result from WS: " +                   
event.result.toString());
                }
                public function showErrorDialog(error:FaultEvent) {
                // function implementation
                        Alert.show("Error : " + error.fault);
                }
        ]]>
        </mx:Script>
          

There are my Web Service all flex application. It has call from WSDL
Send: Element http://www.ourtest.org:/getAllPerson not resolvable
error had come out.

How to fix it this error!


FlexHtoo






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to