Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 68796 invoked from network); 13 Jan 2006 11:01:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jan 2006 11:01:10 -0000 Received: (qmail 97121 invoked by uid 500); 13 Jan 2006 11:00:59 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 97101 invoked by uid 500); 13 Jan 2006 11:00:59 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 97090 invoked by uid 99); 13 Jan 2006 11:00:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2006 03:00:59 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [164.15.59.220] (HELO bonito.ulb.ac.be) (164.15.59.220) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2006 03:00:57 -0800 Received: from mach.vub.ac.be (maxi.ulb.ac.be [164.15.128.8]) by bonito.ulb.ac.be (Postfix) with ESMTP id 6972C453 for ; Fri, 13 Jan 2006 12:00:35 +0100 (CET) Received: by mach.vub.ac.be (Postfix, from userid 21099) id 224DC8D2E; Fri, 13 Jan 2006 12:00:35 +0100 (CET) Received: from [192.168.0.111] (starpc17.vub.ac.be [134.184.65.67]) by mach.vub.ac.be (Postfix) with ESMTP id 546EC8D2C for ; Fri, 13 Jan 2006 12:00:34 +0100 (CET) Subject: Re: WSDD file From: Stijn Christiaens To: axis-user@ws.apache.org In-Reply-To: References: <1137084494.30092.99.camel@starpc11> Content-Type: text/plain Date: Fri, 13 Jan 2006 12:02:06 +0100 Message-Id: <1137150127.9539.0.camel@starpc11> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4-3.1.102mdk Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: maxi.ulb.ac.be SA 2.63 (2004-01-11) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, hits=-0.0, level= X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hello Cyrille, thanks for the tip. I will try it at once. 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 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) : > > value="org.nanocontainer.nanowar.axis.NanoRPCProvider"/> > > > > > 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 > cleclerc@pobox.com > cyrille.leclerc@fr.ibm.com > > On 1/12/06, Stijn Christiaens 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 > > > > >