Axis, Avalon, and WSDD

A long time back, a patch was filed by Marcus Crafter for Axis that has been incorporated into Ivory (with some modification) to allow Avalon services to be used as an Axis service with ease. It requires two things:

  1. You use the Axis component provided that embeds axis. This is because currently it is in charge of registerring the AvalonProvider with Axis. There are better ways to do this - patches are accepted.
  2. Adding the Avalon Provider to your WSDD configuration. See below.
NOTE: Unlike the original patch, this patch uses the ServiceManager instead of Component Manager.

WSDD Configuration

To use the Avalon provider, just register your service in your WSDD:

<deployment ...>
  <handler name="AvalonDispatcher" type="java:org.codehaus.axis.provider.AvalonProvider"/>
   .
   .
  <service name="YourService" provider="java:Avalon">
   .
   .
   .
  </service>
</deployment>

Don't forget to specify your WSDD file in the Ivory component configuration.