Hi,

Please check with "concurrency" Property of Web services.

thanks,
Pankaj


On Sun, Feb 13, 2011 at 11:02 AM, bing flex <[email protected]> wrote:

> Hi Folks,
>
> I am having problems to call multiple operations from a single wsdl
> simultaneously.
>
> For example there are three operations in my Wsdl.
>
> 1)Sum
> 2)Multiply
> 3)Divide
>
> Please check my wsdl declaration below:
>
> I have to call operations simultaneously like the below sum and multiply
> one after another immediately.
>
>
> CalculationManagerWebService.Sum.send(a,b);
> CalculationManagerWebService.Multiply.send(a,b);
>
>
> To overcome Asyncronous problems, I am calling Multiply in
> the Sum_resultHandler function. But still I am seeing weird behaviour, the
> Sum Method is called twice and multiply is never called. I tried using
> different things but i am unable to solve this. Some times I have to call
> three methods simultaneously.
>
> Please Help me in solving this issue. I appreciate your help and let me
> know if any thing I can help you for the favour.
>
> Regards,
> Madhu
>
>
> <fx:Declarations>
> <!-- Place non-visual elements (e.g., services, value objects) here -->
> <s:WebService id="CalculationManagerWebService"
>   wsdl="
> http://172.20.20.18/Services.App/CalculationManagerWebService.asmx?wsdl/";>
>
> <s:operation name="Sum"
>  resultFormat="object"
>  result="Sum_resultHandler(event)"
>  fault="CalculationManagerWebService_faultHandler(event)" />//-->
>  <s:operation name="Multiply"
>  resultFormat="object"
>  result="Multiply_resultHandler(event)"
>  fault="CalculationManagerWebService_faultHandler(event)"
>  />
>                         <s:operation name="Divide"
>  resultFormat="object"
>   result="Divide_resultHandler(event)"
>  fault="CalculationManagerWebService_faultHandler(event)"
>   />
>          </s:WebService>
>
> </fx:Declarations>
>
>
>  --
> 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.
>



-- 
Thanks ~ Pankaj

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