JavaTM APIs for XML based RPC
Sample Application HelloWorld

 
This sample application uses wsdl as a starting point to generate client and server artifacts. The client for this example uses static stub to connect to the server.
 
Building And Running The Sample App Manually
For Solaris/Linux:
  1. %export JAVA_HOME=<your J2SE installation directory> 
  2. %export JWSDP_HOME=<your JWSDP installation directory>
  3. %export ANT_HOME=$JWSDP_HOME/apache-ant
  4. %export PATH =$ANT_HOME/bin:$JAVA_HOME/bin:$PATH
  5. %cd $JWSDP_HOME/jaxrpc/samples/HelloWorld
  6. %ant deploy-war ( This step is not required as long as the pre-packaged war is not changed )
  7. Restart jwsdp. 
  8. ant run-client

For WindowsNT/2000/XP
  1. > set JAVA_HOME=<your J2SE installation directory>
  2. > set JWSDP_HOME=<your JWSDP installation directory>
  3. > set ANT_HOME=%JWSDP_HOME%\apache-ant
  4. > set PATH =%ANT_HOME%/bin;%JAVA_HOME%/bin;%PATH%
  5. > cd %JWSDP_HOME%\jaxrpc\samples\HelloWorld
  6. > ant deploy-war    ( This step is not required as long as the pre-packaged war is not changed )
  7. Restart jwsdp. 
  8. > ant run-client