Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66626

Web service in LV2013: Change answer for "Bad Request", "Access Error"...

$
0
0

Hi there,

 

I am building a large application in LabVIEW 2013. I use a Web Service Server in LabVIEW to communicate to other systems. All in all the new Web Service functions in LV2013 work pretty fine and Web Services are easy to implement. In case any Web Service is unknown or parameters (in the URL) are wrong, it returnsto the client a default error message (like: "Access Error: 404 -- Not Found" or "Access Error: 400 -- Bad Request"). Is there a possibility to change this default messages and its format (all answers in my application are in JSON, but errors appear in HTML)? I really need this feature.

 

I spent a lot of time in the internet for finding an answer - but it seems that I am the first who need this feature. Thank you very much for any ideas.


Viewing all articles
Browse latest Browse all 66626

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>