I was unable to get your attached snippet to work to get more information on what you're trying to accomplish. I would strongly recommend checking NI's Examples under WebService; the AddressBook example should help you.
Labview's webservice seems to have two separate examples: in one, the Web Service is launched with pre-made html pages for the UI, and Labview vis work only as backend programming.
In another version, called weather monitor, the content of the vi is converted to an image and imported into a web page that way.
You can also enable vi front panel publishing using the following help guide here.