I have a webservice developped with Python, that is made available via Ladon.
I use the jsonwspclient.js and json2.js provided by the JSON example from ladon http://ladonize.org/index.php/Python_Example.
I am now in the need to do some cross script call to this webservice, so if I understand well the difference, I need to switch to some JSONP behaviour.
To do so, I have read that I need to add some callback function or something like that BTW I do not understand where this addiction should be made, and also if it can still be compatible with the description to load via JSON-WSP (is some kind of JSONP-WSP possible ?)
(also, should I switch to something like jquery for ths Javasript JSON part?)
My first tries ends with :
SyntaxError: JSON.parse: unexpected end of data
I think that this is due to some cross domain JS limitation (doing it not cross domain works well and does not end with this error)
another way, would be : how to convert a JSON-WSP descritpion and call it from a simple JSON way like the one described here ? Because calling client.loadDescription(muURL)
to get description cannot be done cross domain.