Hi All,

        Hope everyone has a nice weekend.
        
        Just an FYI. Over the weekend I wrote an AvalonProvider class for
        Axis, which essentially allows you to publish your Avalon Components as
        Axis based SOAP web services.
        
        The provider source is currently available in Axis Bugzilla, #12903.
        (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12903).

        Here's an example Axis deployment descriptor showing how an
        Avalon based service can be published:
        
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
            
  <service name="Excalibur-Store" provider="java:Avalon">
    <parameter name="role" value="org.apache.excalibur.store.Store/TRANSIENT_STORE"/>
    <parameter name="className" value="org.apache.excalibur.store.Store"/>
    <parameter name="allowedMethods" value="clear size"/>
  </service>
  
</deployment>
        
        The parameters 'role' and 'allowedMethods' specify the Avalon ROLE to
        lookup inside the ComponentManager, and the methods that are
        allowed to be invoked on that component.
        
        That's all you need to do, those methods can then be invoked by a
        SOAP client - Axis will lookup the component, call the method and
        send any results back to the client as a SOAP response automatically.
        
        Releasing of the component back to the component manager is done
        depending on the scope of the webservice (which can be of request,
        session, or application type).
        
        Anyway, just thought I'd let you all know - perhaps it's of use for
        someone else other than me :)
        
        Cheers,
        
        Marcus
        
-- 
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'
          &&&&.
    &&&&&&&:

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to