Sample REST Hello World Version 1

Parameters

Name Description
Action The HTTP method (also referred to as verb) to use for submitting the request.
Name An optional name to greet. If this value is blank, the world will be greeted.

Sample Configuration

Name Description
Action GET
Name William Robert

Results

Name Description
Method The HTTP method that was used to submit the request.
Result The result of calling the RESTful EchoService using the specified 'Action' with the specified 'Name' parameter.

Changelog

SampleRESTHelloWorld_V1 (2011-02-17)

  • Initial version. See README for details.


Related Handlers

Sample Database Count
This is a sample handler that shows you how to count the amount of records are returned in a query to your database using JDBC. The handler will return an xml string containing the amount of records that were counted.
Sample Database Insert
This is a sample handler that shows you how to insert a record into your database using JDBC.
Sample Database Retrieve
This is a sample handler that shows you how to retrieve a record from your database using JDBC. The handler will return an xml string containing data from all of the columns that the record returned.
Sample Java Hello World
Calls into a simple Java "application" via an exposed Class and class method. The application returns a 'Message' result that represents a simple greeting.
Sample SOAP Hello World
Calls the SOAP based 'EchoService' web service, passing the desired greeting and target and returns the resulting message. If the 'name' parameter is present, that person will be greeted. Otherwise, the world will be greeted.