Hi Fabien;
Please see my comments below;

Fabien Couble wrote:

> Hi all,
> I have checked that AXIS 2 don't support the persistence by default.

Yes , Axis2 does not support persistence.

> That's why, by surfing on the Web, I have found that to make a service
> persistent, we have to configure the service.xml file with the
> following line:

Thats wrong , there wont be any change even if you add something like
that . In addition to that this is not the way you specify parameter in
Axis2 , it should be smt like
<parameter name="foo">MyParaValue</parameter>

><parameter name="scope" value="/value/"/>
>
>I did that by replacing the word value by "application". Normally, that mean 
>that a service will be 
>
>intanciated for all the requests until the server Tomcat is shutdown. 
>Consequently, the service should be persistent...
>
>However, it doesn't work...
>
If you want to deploy your service in application scope then you need to
do add an attribute called "scope" into your services.xml as follows
<service name="foo" scope="application">

</service>

>Is it the good way to do this? HOw can I do that??
>
>Thx
>
>fabien
>
> This message contains information that may be privileged or
> confidential and is the property of the Capgemini Group. It is
> intended only for the person to whom it is addressed. If you are not
> the intended recipient, you are not authorized to read, print, retain,
> copy, disseminate, distribute, or use this message or any part
> thereof. If you receive this message in error, please notify the
> sender immediately and delete all copies of this message.
>

-- 
Thanks,
Deepal
................................................................
~Future is Open~ 




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

Reply via email to