cancel
Showing results for 
Search instead for 
Did you mean: 

When would I want scripting without web services?

nathand
Proven Zealot

When would I want scripting without web services?

Just a curiousity question for 8.6.  The default Web Server configuration (clicking "Reset to Defaults") includes Scripting but does not include Web Services.  When would you want to use Scripting without Web Services?
1 REPLY 1
NI Employee (retired)

Re: When would I want scripting without web services?

Message contains a hyperlink

Good question! Actually that sounds like a bug. Smiley Happy

 

The new web server supports a text based scripting language called Embedded Server Pages or ESP. This scripting language is based on JavaScript but with intentionally sparse functionality.We integrated web services with this language to provide another mechanism for writing a presentation layer.

 

It is possible to use the ESP scripting language without the web services integration so we made it possible in tools->options but that is not the use case we anticipate being the most useful.

 

If you haven't seen it here is a document about scripting with web services- it includes a description of the ESP syntax:

Web services scripting