cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

JSONP support in web services?

Hi,

I wanted to write a JavaScript web UI that loads data from the NI Citadel web services and plot them using a nice JavaScript graph library.

The Citadel web service runs in the system web server, while the UI has to be published as an application web service, listening to a different port. So, when I try to load the data using e.g. jQuery I have to go around the same-origin-policy of most browsers with JSONP, which is, according to this, supported by LabVIEW.

However, the data returned by the Citadel web service is not according to JSONP (the encapsulating callback-function is missing), which also explains several other questions posted in this forum:


So: is JSONP supported by LabVIEW web services or not?

Or is it at least possible to publish the UI as static content to the LabVIEW system web server?

 

Thanks,

Peneloper

0 Kudos
Mensagem 1 de 2
2.961Exibições

Hi Peneloper,

 

Json is not officially supported by LabVIEW Webservices.

Regards,

Frank

0 Kudos
Mensagem 2 de 2
2.847Exibições