axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabien Couble" <fabien.couble.exte...@capgemini.com>
Subject Re: [AXIS2] persistence
Date Tue, 08 Aug 2006 07:41:14 GMT

Hi Deepal

Thx for your response... but actually I'd like to know how I can implement 
persistence in Axis. I mean I need to use an object which must be 
persitent!!
Can you advise me on some ways to do that??

This is the description of what I need to do:
I'm implementing a protocol in which I have to manage an array of resources. 
Indeed, I have to add, get or delete resources from that array.
Actually, when a web service receives a request from a client, depending on 
the request, the web service has to get, add or delete the resource in the 
array.

Please, could you help me??

Fabien


----- Original Message ----- 
From: "Deepal Jayasinghe" <deepal@opensource.lk>
To: <axis-user@ws.apache.org>
Sent: Monday, August 07, 2006 6:07 PM
Subject: Re: [AXIS2] persistence


> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org 


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.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message