GWS demos and examples

Demos and examples are provided for both SOAP and RESTful Web services.

Demos

Web Services demos are located in FGLDIR/demo/WebServices. Each demo sits in its own folder, and includes the code for both the client and the server. A readme.txt file provides details about the demo.

For SOAP demos, the description in the readme.txt file will indicate a Web service such as: an RPC style Web service demonstration, a Document Style Web service demonstration, RPC encoded Web service demonstration, Stateful Web service demonstration, or Doc Literal Web service demonstration with XML-Security.

For RESTful demos, the description in the readme.txt file will indicate a Web service such as: a REST service demonstration, or a low-level Web service demonstration.

Tutorials and Examples

Examples are provided within this manual.

For an tutorial-style example of a SOAP Web service, start with Writing a Web Services client application and Writing a Web Services server application.

For a tutorial-style example of a RESTful Web service, start with Writing a Web services client application and Writing a Web Services server application. The full application code can be viewed at The RESTful calculator demo source.