07-23-2012
02:25 AM
- last edited on
10-31-2024
12:10 PM
by
Content Cleaner
I deployed a web service in client pc, which writes the posted Text data locally (ie. to a local text file). I was able to successfully post messages via LabVIEW Web UI Builder. But when i try to post it using "LabVIEWhttpclient.lvlib:Post.vi", i get 67202 error. Here in "https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/errors/web-services-error-codes.html" the error description is given as No post data available for the given request id. I also tried posting data through html but it doesnt work.
I deployed the same service in different stations and found that it works fine in some station. What am i doing wrong? Why it is not working in some stations? I can access get methods in all stations without any issues. Only in the post data method i am facing the issues.
My questions are:
1. Why post method works only in some stations?
2. How if i use LabVIEW web UI builder, it works in all stations?
Can anyone help me on this?
07-25-2012
05:21 AM
- last edited on
10-31-2024
12:10 PM
by
Content Cleaner
A lot of firewalls/proxies/routers block the less-often used HTTP methods, either for security reasons or ignorance. Check the firewall settings for stations in which the POST command doesnt work. Also, LabVIEW Web UI Builder is firewall friendly, which could be the reason why you could successfully post messages using the LabVIEW WebUI Builder.
For your reference: https://www.ni.com/docs/en-US/bundle/labview/page/designing-user-interfaces.html
07-26-2012
03:02 AM
- last edited on
10-31-2024
12:11 PM
by
Content Cleaner
A lot of firewalls/proxies/routers block the less-often used HTTP methods, either for security reasons or ignorance. Check the firewall settings for stations in which the POST command doesnt work. Also, LabVIEW Web UI Builder is firewall friendly, which could be the reason why you could successfully post messages using the LabVIEW WebUI Builder.
For your reference: https://www.ni.com/docs/en-US/bundle/labview/page/designing-user-interfaces.html
In firewall enabled stations, i am not able to access even get methods.
For your information, i tried turning off firewall in the station(where i can access only GET methods) with no success. If firewall is the barrier for web services, then how GET methods alone can respond in this case?