08-18-2016 03:58 AM
Hello,
This may seem very basic but can you make the click of a button on a html page, execute a web service vi?
How can this be done?
Thanks
08-18-2016
06:41 AM
- last edited on
01-13-2025
08:58 AM
by
Content Cleaner
Hello!
Have you followed this instructions to run web service vi? https://www.ni.com/docs/en-US/bundle/labview/page/tutorial-creating-and-publishing-a-labview-web-ser...
If so you can find there a section Testing and Debugging the Web Service. The point 5 says:
Paste the URL from step 5 into a standard web browser and replace the {value} variables with numeric values, such as: http://127.0.0.1:8001/TutorialService/Add?b=2&a=3.
I don't have the example right now, but I suppose if you run the service and put this address http://127.0.0.1:8001/TutorialService/Add?b=2&a=3 in a HTML button it should work 🙂
Let me know, if this has helped!
Marcin