cheenath.com
- Home
- Search
- About Me
- AJAX Tools
- WLS Tutorial
  - Setup
  - Introduction
  - Contact
  - FAQ
  - Useful Links
- AutoBuild
- SOAP Router


Routing

This example shows how to use Handlers for Routing Web Service invokes. Note: Due to CR100807, in WLS 8.1 "default" method is not be called if there are no matching methods in the DD file.

Steps involved in writing this example:

  1. Write Server side routing handler - RouterHandler.java
  2. Write the router DD file web-services.xml
  3. Write ant build file to compile and build the service. build.xml
    1. compile RouterHandler.java to output/WEB-INF/classes
    2. copy web-services.xml DD file in output/WEB-INF/ directory
    3. jar up output directory as a war file
    4. run clientgen on the WSDL file to generate the client jar
    5. compile the client side code Main.java and
    6. deploy the applicaiton by copying the war file into the applications directory of the server
  4. Follow the instructions here to build, run and test the service.

Browse files online:

Download :

[ This page was last updated April 19 2003 07:31:05. ]

      

©2006 Manoj Cheenath