THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
That's straightforward enough. We see "get", we map it to a GET operation. Then people is extracted from the operation name and turned into a simple URI. Accessing http://server/people would result in a document like so:
Code Block | ||||
---|---|---|---|---|
| ||||
<getPeople>
<Person>...</Person>
<Person>...</Person>
</getPeople>
|
2: Person getPerson(id) is mapped to an HTTP GET on /people/{id}.
...