This example illustrates:
You should have J2SE v1.4.x SDK, Apache Tomcat and Apache Axis installed. For testing, Tomcat-4.1.18 and Axis-1.1RC2 was used. Also, set the encironment variables TOMCAT_HOME to Tomcat installation directory and AXIS_HOME to the Axis installation directory.
c:\ch11\ex1>set TOMCAT_HOME=c:\apache\jakarta-tomcat-4.1.18-LE-jdk14 c:\ch11\ex1>set AXIS_HOME=c:\apache\axis-1_1RC2
File |
Description |
| StringEchoService1.java | A simple class to be deployed as a Web service. |
| EchoClient.java | Client program to invoke the Web service. |
| EchoClient1.java | Client program modified to use a username and password. |
| EchoClient2.java | Client program modifies to invoke the Web service over HTTPS. |
| DisplayUserInfo.java | A class to display current user information from an Axis Web service. |
| deploy.wsdd | Deployment descriptor for the Web service. |
| undeploy.wsdd | Undeployment descriptor for the Web service. |
| web.xml | Axis deployment descriptor statements for enforcing user authentication. |
| axisadm.bat | A simple script to deploy, undeploy and list Web services. |
| tcpmon.bat | A simple script to launch tcpmon utility. |
| cpappend.bat | An utility script to build the CLASSPATH. Used by other scripts. |
| setenv.bat | A simple script to set the CLASSPATH. |
| cleanup.bat | A simple script to delete non-source files. |
Refer to the book J2EE Security for Servlets, EJBs and Web Services.