Re: [Axis2]Add clone method to axis2_property

2006-11-29 Thread Damitha Kumarage
Samisa Abeysinghe wrote: Damitha Kumarage wrote: Samisa Abeysinghe wrote: Dinesh Premalal wrote: Hi, Damitha Kumarage <[EMAIL PROTECTED]> writes: Hi, We copy properties from one ctx to another ctx often(in sandesha2 also) This lead to problems in Sandesha2. To avoid this would like

Re: [Axis2]Add clone method to axis2_property

2006-11-24 Thread Samisa Abeysinghe
Damitha Kumarage wrote: Samisa Abeysinghe wrote: Dinesh Premalal wrote: Hi, Damitha Kumarage <[EMAIL PROTECTED]> writes: Hi, We copy properties from one ctx to another ctx often(in sandesha2 also) This lead to problems in Sandesha2. To avoid this would like to add a clone function ot

Re: [Axis2]Add clone method to axis2_property

2006-11-23 Thread Damitha Kumarage
Samisa Abeysinghe wrote: Dinesh Premalal wrote: Hi, Damitha Kumarage <[EMAIL PROTECTED]> writes: Hi, We copy properties from one ctx to another ctx often(in sandesha2 also) This lead to problems in Sandesha2. To avoid this would like to add a clone function ot axis2_property like we have

Re: [Axis2]Add clone method to axis2_property

2006-11-22 Thread Damitha Kumarage
Samisa Abeysinghe wrote: Damitha Kumarage wrote: Hi, We copy properties from one ctx to another ctx often(in sandesha2 also) Would the old context be using the property after it being copied to the new context? If so please provide an example. For example application msg context is used t

Re: [Axis2]Add clone method to axis2_property

2006-11-22 Thread Samisa Abeysinghe
Damitha Kumarage wrote: Hi, We copy properties from one ctx to another ctx often(in sandesha2 also) Would the old context be using the property after it being copied to the new context? If so please provide an example. If not, you can re-set the property in the old context to NULL, after copyin

Re: [Axis2]Add clone method to axis2_property

2006-11-22 Thread Samisa Abeysinghe
Dinesh Premalal wrote: Hi, Damitha Kumarage <[EMAIL PROTECTED]> writes: Hi, We copy properties from one ctx to another ctx often(in sandesha2 also) This lead to problems in Sandesha2. To avoid this would like to add a clone function ot axis2_property like we have done in aixs2_qname.

Re: [Axis2]Add clone method to axis2_property

2006-11-22 Thread Samisa Abeysinghe
Damitha Kumarage wrote: Hi, We copy properties from one ctx to another ctx often(in sandesha2 also) This lead to problems in Sandesha2. To avoid this would like to add a clone function ot axis2_property like we have done in aixs2_qname. The problem is how to clone the value, which is a void po

Re: [Axis2]Add clone method to axis2_property

2006-11-22 Thread Damitha Kumarage
Nandika Jayawardana wrote: hi, In addtion to a clone method, if we can change the property create function to accept other arguments as well, it would be lot more convenient to use properties, Instead of AXIS2_EXTERN axis2_property_t * AXIS2_CALL axis2_property_create(const axis2_env_t *en

Re: [Axis2]Add clone method to axis2_property

2006-11-22 Thread Nandika Jayawardana
hi, In addtion to a clone method, if we can change the property create function to accept other arguments as well, it would be lot more convenient to use properties, Instead of AXIS2_EXTERN axis2_property_t * AXIS2_CALL axis2_property_create(const axis2_env_t *env); have AXIS2_EXTERN axis2_pr

Re: [Axis2]Add clone method to axis2_property

2006-11-22 Thread Dinesh Premalal
Hi, Damitha Kumarage <[EMAIL PROTECTED]> writes: > Hi, > We copy properties from one ctx to another ctx often(in sandesha2 also) > This lead to problems in Sandesha2. > To avoid this would like to add a clone function ot axis2_property > like we have done in > aixs2_qname. If we can maintain a re

[Axis2]Add clone method to axis2_property

2006-11-22 Thread Damitha Kumarage
Hi, We copy properties from one ctx to another ctx often(in sandesha2 also) This lead to problems in Sandesha2. To avoid this would like to add a clone function ot axis2_property like we have done in aixs2_qname. Damitha - To