You could contribute to the Hivemind-Axis integration :-) Cyrille
-- Cyrille Le Clerc [EMAIL PROTECTED] [EMAIL PROTECTED] On 1/13/06, Stijn Christiaens <[EMAIL PROTECTED]> wrote: > Hello again Cyrille, > > your advice worked like a charm. Although I did not use the > pico/nanocontainer as this is a Tapestry project and thus also a > Hivemind one. > > Thanks! > > Ciao, > > Stijn > > On Thu, 2006-01-12 at 18:38 +0100, Cyrille Le Clerc wrote: > > Hello Stijn, > > > > I is not a special trick, Axis has been designed to plug other > > services factories. > > > > * modify the wsdd : > > -> set the "provider" attribute to "Handler" > > -> add a child element <parameter name="handlerClass" > > value="com.mycompany.MyRPCProvider"/> > > * code your own factory (ie "MyRPCProvider.java"). You should subclass > > RPCProvider. > > > > Sample of wsdd (extracted from nanowar's AXIS-README.txt, see > > paragraph below) : > > <service name="MyService" provider="Handler"> > > <parameter name="handlerClass" > > value="org.nanocontainer.nanowar.axis.NanoRPCProvider"/> > > <parameter name="className" value="com.company.MyService"/> > > <parameter name="allowedMethods" value="*"/> > > </service> > > > > PicoContainer can be used to instantiate your services thanks to the > > NanoWar project. This gives a good sample to plug your own factory if > > PicoContainer does not fit your needs. > > - how to modify your wsdd : > > http://svn.picocontainer.codehaus.org/java/nanocontainer-nanowar/trunk/nanowar/AXIS-README.txt?rev=1993&view=markup > > - how to code your axis services factory : > > http://svn.picocontainer.codehaus.org/java/nanocontainer-nanowar/trunk/nanowar/src/java/org/nanocontainer/nanowar/axis/NanoRPCProvider.java?rev=1993&view=markup > > > > Hope this helps, > > > > Cyrille > > > > -- > > Cyrille Le Clerc > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > > > On 1/12/06, Stijn Christiaens <[EMAIL PROTECTED]> wrote: > > > Hello everybody, > > > > > > is there any way to do a special trick and let Axis not instantiate a > > > webservice object through the no-argument constructor but for instance > > > through a Factory or factory method? > > > > > > Thanks in advance, > > > > > > Ciao, > > > > > > Stijn > > > > > > > > > >