This is not a question but an experience.
In LV2013 web service I have a vi that sends XML to the client. As LV adds <terminal name>= in front of the output when using the terminal text output, I changed to streaming output.
Everything goes well when typing the URL in the browser, but when doing the same from js, you get an error that has to do with CORS:
Access-Control-Allow-Origin is not allowed. In some other post Chris Larson explained the solutions and the most practical for me was to send the appropriate header to the client.
This was working for the terminal output, but not for the streaming output, the error did not go away. It appeared LV created an error -67305 (LabVIEW Web Services: Function not available for service VIs configured for headerless mode. The function attempted by the Web service method is not available for Web service methods configured for headerless mode.) and was not sending the header.
The "Send Headers" option in the output properties did not make any difference, but the "Use Buffer" option does! I selected it, added the Flush Buffer vi and everything worked.
Somebody in the programming department seems to have been messing with the options.
hi! which forum Chris Larson explained the solutions and the most practical for you was to send the appropriate header to the client, about CORS?
Can you put a link?
Old topic, but I found this very same error in my LabView 2014. Was the CAR ever filled?
When using the "Stream" output option in the HTTT Method VI Settings, the "Buffered" checkbox shouldn't affect to whether the headers are sent or not.