Its really not bad at all, and understanding how things really work
will pay off down the road. Here is a sample.

<mx:WebService id="ws" wsdl="http://www.site.com/MyWebService.asmx?WSDL";
   useProxy="false"
   fault="getTrendsFault(event)" result="getTrendsResult(event)">
   <mx:operation name="GetTrends" resultFormat="e4x">
       <mx:request>
           <EnterpriseId>5555</EnterpriseId>
           <DocumentType>RPR-EBD</DocumentType>
           <ContainersToRetrieve>IndustryTrends</ContainersToRetrieve>
       </mx:request>
   </mx:operation>
</mx:WebService>
//
ws.GetTrends.send();
//
private function getTrendsResult(event:ResultEvent):void
{
        var resultXml:XML = new XML(event.result);
}
//
private function getTrendsFault(event:FaultEvent):void
{
        trace("fault: " + event.fault.faultString);
}

HTH,
Ben
http://www.returnundefined.com/


--- In [email protected], "[sami]" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> anyone made / seen a webservice connector component like in Flash 8 for
> Flex?
> Writing queries against WSDL by hand and catching their replys is a
pain, or
> maybe I understood something very wrong...
>







--
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