| 1 |
To run the encoding samples, you must do the following: |
| 2 |
1. Set up your CLASSPATH. |
| 3 |
2. Start a server. |
| 4 |
3. Deploy the service. |
| 5 |
4. Run the sample. |
| 6 |
|
| 7 |
1. Set up your CLASSPATH. |
| 8 |
The CLASSPATH must contain: an XML parser (ie., Xerces), JUnit |
| 9 |
(www.junit.org), all the jars in the lib directory, and the directory |
| 10 |
containing the samples subdirectory. |
| 11 |
|
| 12 |
2. Start a server. |
| 13 |
To run the sample, you will first need to run a server. To run a very |
| 14 |
simple server you could run, in a separate window: |
| 15 |
java org.apache.axis.transport.http.SimpleAxisServer -p 8080 |
| 16 |
|
| 17 |
3. Deploy the service. |
| 18 |
To deploy the service, run: |
| 19 |
java org.apache.axis.client.AdminClient deploy.wsdd |
| 20 |
|
| 21 |
4. Run the sample. |
| 22 |
Finally, to run the client, run: |
| 23 |
java samples.message.TestMsg |