hi,
u simply need to pass the XML as a parameter in the function call
of the WEBsERVICE...
On Dec 3, 8:47 am, "Ganesh r" <[EMAIL PROTECTED]> wrote:
> Hi
>
> I want to sent field value to web service as a xml format. here i can
> see result event. how to generate xml input fields and pass to web
> serivce. is there any sample code.
>
> regards
> ganesh
>
> On 12/2/08, Flexian_NGL ,@Bangalore <[EMAIL PROTECTED]> wrote:
>
> > hi,
>
> > Check this code..
>
> > public var prjRegService:WebService;
>
> > public function initService()
> > {
> > prjRegService = new mx.rpc.soap.WebService();
> > prjRegService.wsdl = 'http:XXXXXXXXXX';
>
> > }
>
> > var arrcol:ArrayCollection = new ArrayCollection();
>
> > public function ComboLoad():void
> > {
> > initService();
> > prjRegService.loadWSDL();
> > prjRegService.loadcentres();
> > prjRegService.loadcentres.addEventListener("result",
> > loadCombo);
> > }
> > var prjcombosource:XML=new XML();
> > public function loadCombo(event:ResultEvent):void
> > {
> > prjcombosource=XML(event.result);
>
> > mx.core.Application.application.Prj_Reg_GeneralCentreCombo_Write.dataProvider=prjcentrecombosource..ENT_SHORT_NAME;
>
> > }
>
> > this works for me fine check it..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" 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/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---