On Sat, May 7, 2011 at 20:39, dabd <[email protected]> wrote:

> One more question: the web service I want to consume does not support JSONP
> but it returns JSON.  Since this is a cross domain call the only way I can
> use the service is to make a "wrapper" web service that invokes the
> original
> web service but provides the JSONP.  Is there any other solution?
>
> If I implement the wrapper such that it accepts a callback it must call
> this
> function qx.io.remote.transport.Script._requestFinished(id, returnValue) as
> described in the post below?
>
>
> http://qooxdoo.678.n2.nabble.com/Using-the-script-transport-implementation-for-Ajax-remote-calls-td2726734.html#a2726803
>
> If this is the case the documentation
> http://demo.qooxdoo.org/devel/apiviewer/#qx.io.remote.transport.Scriptdoes
> not show that method and I am not sure how to use it.
>

It's documented in the package documentation,
http://demo.qooxdoo.org/devel/apiviewer/#qx.io.remote, rather than in the
Script transport documentation.

It's similar to a JSONP request without an explicit parameter indicating
what the server should do with the return... and requiring both the id and
the return value in the string containing the function call that is
returned.

Derrell
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to