| 1 |
To run the DynamicInvoker sample, you must do the following: |
| 2 |
1. Set up your CLASSPATH. |
| 3 |
2. Compile the code. |
| 4 |
3. Run the sample. |
| 5 |
|
| 6 |
1. Set up your CLASSPATH. |
| 7 |
The CLASSPATH must contain: an XML parser (ie., Xerces), JUnit |
| 8 |
(www.junit.org), all the jars in the lib directory, and the directory |
| 9 |
containing the samples subdirectory. |
| 10 |
|
| 11 |
2. Compile the code. |
| 12 |
a. Now you can change directory to samples/client |
| 13 |
b. And compile the sample: javac *.java |
| 14 |
|
| 15 |
3. Run the sample. |
| 16 |
Finally, to run the client, run: |
| 17 |
java samples.client.DynamicInvoker http://mssoapinterop.org/asmx/xsd/round4XSD.wsdl echoString "Hello World!!!" |
| 18 |
java samples.client.DynamicInvoker http://samples.gotdotnet.com/quickstart/aspplus/samples/services/MathService/VB/MathService.asmx?WSDL Add 3 4 |
| 19 |
http://api.google.com/GoogleSearch.wsdl doGoogleSearch 00000000000000000000000000000000 davanum 0 10 false "" false "" latin1 latin1 |
| 20 |
[NOTE: Replace the 00000 with your google api key] |