Hi Praveen,

Yes it is possible.  But we have to write to HttpService tags and try
to send in button click handler.


Example:

First service for .net

<mx:HTTPService id="netService"
                                                url="net service url"
                                                
result="netService_resultHandler(event)"
                                                
fault="netService_faultHandler(event)"
                                                resultFormat="e4x"
                                                />


Second service for PHP:


<mx:HTTPService id="phpService"
                                                url="php service url"
                                                
result="phpService_resultHandler(event)"
                                                
fault="phpService_faultHandler(event)"
                                                resultFormat="e4x"
                                                />


In button click hanlder try to send two service as below:

public function onButtonClickHandler():void{

  // Callilng Dot Net Service
   netService.send();

   // Calling PHP Service
   phpService.send();
}


For Both services result handlers are different so we can handle two
services at a time.


My suggestion is try to take separate file for all services i.e., put
all HttpServices into separate file.


Regards,
Narasimhulu Chary.


On Sat, Feb 26, 2011 at 5:05 AM, praveen Kumar
<[email protected]> wrote:
> Hi
>
> Friends ; I Have A Button ;When I Click The Button  I Want To
> Communicating  .net & .php servers   At a Time Is it Possible;
>
> is there Any Possible Way;
>
> --
> 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.
>
>

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

Reply via email to