Publishing a web-service Add comment to Wiki View in Wiki Edit Wiki page Printable Version

The Server

You can develop your web service using a groovy script and/or a groovy class. Imagine, we want to publish a web service performing simple arithmetics. First, we have to write the business class implementing the basic operations. In our example, we chose to just implement simple add and square operations. Note that this class is quite generic and could be use locally.

Then we have to publish this service. In order to do so, we use WSServer and create one so called node linking our class with a URL.

That's all !



Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified