callback functions and web service

2 posts, 0 answers
  1. Ethan
    Ethan avatar
    36 posts
    Member since:
    Jul 2010

    Posted 17 Oct 2010 Link to this post

    hi,
    im not sure this is the right place..
    anyway, i'm having some problems with callback function of a webservice..

    i'm calling the next webservice for example..
    Services.Action(param, onComplete)...

    function onComplete(res)
    {
    alert('success');
    }
    and for some reason the callback function doesnt always called...

    i try to change the web service so it wont accept a parameter...
    and called it like this: Services.Action(onComplete)...
    and this time the callback function was called..

    anyone got an idea, what the problem could be?
  2. Fiko
    Admin
    Fiko avatar
    1406 posts

    Posted 21 Oct 2010 Link to this post

    Hi Ethan,

    The problem that you experience is beyond of our support. This is a general programming task and I recommend you to search the net for a suitable solution.

    What can I suggest you, however, is to specify the CallBackError function (as shown in this article) of the WebService in order to check whether the service returns error. Then you can examine the returned error message, which will be of help for you in order to find the source of the problem.

    Sincerely yours,
    Fiko
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top