You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Fred Brunton <fb...@lumina.com> on 2015/02/12 08:44:00 UTC
web service call failures/timeouts
Hi,
I have a flex app in a browser. I make Web Service Calls (soap) using the
code generated by Flash Builder's Data/Services wizard.
I have a user that wants to make calls that can take several minutes. I
found in some browsers, the calls worked fine. In other cases, the call
would not work. When it doesn't work, I do not get a result or fault
message callback. Since my app blocks user inputs during these calls, my
app gets hung.
I tried on various computers, various flash releases, and various browser
(IE, FF and Chrome), and sometimes it works and sometimes not. I can't
even pinpoint where the problem might lie.
Any ideas would be greatly appreciated.
Cheers,
Fred
Re: web service call failures/timeouts
Posted by Fred Brunton <fb...@lumina.com>.
@Tomislav - That's a great idea for a workaround to my problem. If I can't
solve the issue I will try your idea.
@Seth - Your right, I should try sniffing the network traffic for clues.
I got lucky so far, because even though I have seen this faultless web
service failure on several browsers, my client has not been experiencing
it. So I have a little breathing room to sort this out. Thanks again!
On Fri, Feb 13, 2015 at 1:04 AM, Seth. <po...@gmail.com> wrote:
> You need to trace the call, and server response in case of fault. You can
> use fiddler or firebug for tracking which part of web services is giving
> problem and then optimism accordingly
>
> Regards
> Seth
>
> On Thursday, February 12, 2015, Fred Brunton <fb...@lumina.com> wrote:
>
> > Hi,
> >
> > I have a flex app in a browser. I make Web Service Calls (soap) using
> the
> > code generated by Flash Builder's Data/Services wizard.
> >
> > I have a user that wants to make calls that can take several minutes. I
> > found in some browsers, the calls worked fine. In other cases, the call
> > would not work. When it doesn't work, I do not get a result or fault
> > message callback. Since my app blocks user inputs during these calls, my
> > app gets hung.
> >
> > I tried on various computers, various flash releases, and various browser
> > (IE, FF and Chrome), and sometimes it works and sometimes not. I can't
> > even pinpoint where the problem might lie.
> >
> > Any ideas would be greatly appreciated.
> >
> > Cheers,
> > Fred
> >
>
>
> --
> Sent from Gmail iPhone App
>
Re: web service call failures/timeouts
Posted by "Seth." <po...@gmail.com>.
You need to trace the call, and server response in case of fault. You can
use fiddler or firebug for tracking which part of web services is giving
problem and then optimism accordingly
Regards
Seth
On Thursday, February 12, 2015, Fred Brunton <fb...@lumina.com> wrote:
> Hi,
>
> I have a flex app in a browser. I make Web Service Calls (soap) using the
> code generated by Flash Builder's Data/Services wizard.
>
> I have a user that wants to make calls that can take several minutes. I
> found in some browsers, the calls worked fine. In other cases, the call
> would not work. When it doesn't work, I do not get a result or fault
> message callback. Since my app blocks user inputs during these calls, my
> app gets hung.
>
> I tried on various computers, various flash releases, and various browser
> (IE, FF and Chrome), and sometimes it works and sometimes not. I can't
> even pinpoint where the problem might lie.
>
> Any ideas would be greatly appreciated.
>
> Cheers,
> Fred
>
--
Sent from Gmail iPhone App
Re: web service call failures/timeouts
Posted by Tomislav Pokrajcic <to...@svemir.net>.
Hi Fred,
can you redesign the workflow to avoid such long waiting times?
1) do the call that returns instantly
2) server is processing the task in the background
3) check for task status by polling (or server push as a more advanced
option)
4) retrieve the result when ready
Cheers,
Tomislav
On 12.2.2015. 8:44, Fred Brunton wrote:
> Hi,
>
> I have a flex app in a browser. I make Web Service Calls (soap) using the
> code generated by Flash Builder's Data/Services wizard.
>
> I have a user that wants to make calls that can take several minutes. I
> found in some browsers, the calls worked fine. In other cases, the call
> would not work. When it doesn't work, I do not get a result or fault
> message callback. Since my app blocks user inputs during these calls, my
> app gets hung.
>
> I tried on various computers, various flash releases, and various browser
> (IE, FF and Chrome), and sometimes it works and sometimes not. I can't
> even pinpoint where the problem might lie.
>
> Any ideas would be greatly appreciated.
>
> Cheers,
> Fred
>
---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com