Sun Java System Web Server 7.0 Update 4 Developer's Guide to Java Web Applications

Web Services Samples

The fromwsdl-soap1 application features a simple web service that is implemented by a Java Servlet endpoint. The service endpoint interface defines a single operation, addNumbers, which takes two positive integers, and returns an integer that is the sum of the two input integers.

The fromwsdl-soap12 sample application demonstrates how to use the WS-Security functionality to secure an existing Web Services application. The instructions helps you to enable the WS-Security functionality of the Web Server so that it is used to secure the fromwsdl-soap12 application.

The fromwsdl-soap12 sample application is installed in the install_dir/samples/java/webapps/webservices/security/fromwsdl-soap12/ directory.