JSON Server Example 3

Complex JSON-WSP 1.0 calls

This example demonstrates a number of complex JSON-WSP 1.0 calls to a person list management JSON service.

The service is implemented in the PersonService class in the example3.php and implements the IPersonService interface which represents the contract. Arguments are passed by value (as an array).

jQuery is used to call the service but you can use whatever you like as long as the request is formatted according to any of the supported protocols.

Metadata of the service can be found as a Service Metadata Description or a JSON-WSP Description.

Name Gender Birthday E-mail Delete
Add a Person