You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Srinath Perera (JIRA)" <ji...@apache.org> on 2005/06/23 08:13:13 UTC

[jira] Created: (AXIS2-42) Message Context Serialization Support

Message Context Serialization Support
-------------------------------------

         Key: AXIS2-42
         URL: http://issues.apache.org/jira/browse/AXIS2-42
     Project: Apache Axis 2.0 (Axis2)
        Type: New Feature
  Components: core  
    Reporter: Srinath Perera
    Priority: Minor


Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS2-42) Message Context Serialization Support

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]

Eran Chinthaka reassigned AXIS2-42:
-----------------------------------

    Assign To: Deepal Jayasinghe  (was: Jaliya Ekanayake)

> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Deepal Jayasinghe
>     Priority: Minor

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS2-42) Message Context Serialization Support

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]

Eran Chinthaka reassigned AXIS2-42:
-----------------------------------

    Assign To: Chamikara Jayalath  (was: Deepal Jayasinghe)

Chamikara I know you have done the work. Please update the JIRA explaining the stuff and the extent you have done this. Hope you will be having some good test cases too. :)

> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Chamikara Jayalath
>     Priority: Critical

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Updated: (AXIS2-42) Message Context Serialization Support

Posted by Davanum Srinivas <da...@gmail.com>.
Sanjiva,

Isn't this useful in WSRX scenarios as well?

-- dims

On 8/21/05, Sanjiva Weerawarana <sa...@opensource.lk> wrote:
> Guillaume, is this useful for you without JAX-RPC support too? We have
> not accepted JAX-RPC support as being a requirement for 1.0, hence the
> question.
> 
> Sanjiva.
> 
> On Sat, 2005-08-20 at 23:06 +0600, Eran Chinthaka wrote:
> > Hi Guillaume,
> >
> > I know for sure that we need this. I was just asking whether we need
> > this for 1.0. And you Seems its required, so let's have it. No problem
> > ;).
> >
> > I was just wandering why the minor issue became critical all of a sudden :).
> >
> >
> >
> > On 8/19/05, Guillaume Sauthier <Gu...@objectweb.org> wrote:
> > > Hi Chinthaka
> > >
> > > Imagine a J2EE environment where the HTTP transport servlet is running
> > > in a different JVM than the Session Bean exposed as webservice.
> > > We must propagate the Message Context(s) from the webcontainer to the
> > > ejbcontainer.
> > >
> > > Propagation can be done through MC serialization (serializable / xml).
> > >
> > > Guillaume
> > >
> > > Eran Chinthaka wrote:
> > >
> > > >How come this is "critical" all of a sudden? Not even Major ...
> > > >
> > > >Does this mean, we *MUST* have this for 1.0 ?
> > > >
> > > >
> > > >
> > > >>-----Original Message-----
> > > >>From: Deepal Jayasinghe (JIRA) [mailto:jira@apache.org]
> > > >>Sent: Thursday, August 18, 2005 7:06 PM
> > > >>To: axis-dev@ws.apache.org
> > > >>Subject: [jira] Updated: (AXIS2-42) Message Context Serialization Support
> > > >>
> > > >>     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]
> > > >>
> > > >>Deepal Jayasinghe updated AXIS2-42:
> > > >>-----------------------------------
> > > >>
> > > >>    Priority: Critical  (was: Minor)
> > > >>
> > > >>
> > > >>
> > > >>>Message Context Serialization Support
> > > >>>-------------------------------------
> > > >>>
> > > >>>         Key: AXIS2-42
> > > >>>         URL: http://issues.apache.org/jira/browse/AXIS2-42
> > > >>>     Project: Apache Axis 2.0 (Axis2)
> > > >>>        Type: New Feature
> > > >>>  Components: core
> > > >>>    Reporter: Srinath Perera
> > > >>>    Assignee: Deepal Jayasinghe
> > > >>>    Priority: Critical
> > > >>>
> > > >>>
> > > >>>Support to store and restore the Message context .. this involve the
> > > >>>
> > > >>>
> > > >>Axis storage and context serialization
> > > >>
> > > >>--
> > > >>This message is automatically generated by JIRA.
> > > >>-
> > > >>If you think it was sent incorrectly contact one of the administrators:
> > > >>   http://issues.apache.org/jira/secure/Administrators.jspa
> > > >>-
> > > >>For more information on JIRA, see:
> > > >>   http://www.atlassian.com/software/jira
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
> 
> 


-- 
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform

Re: [jira] Updated: (AXIS2-42) Message Context Serialization Support

Posted by Sanjiva Weerawarana <sa...@opensource.lk>.
Guillaume, is this useful for you without JAX-RPC support too? We have
not accepted JAX-RPC support as being a requirement for 1.0, hence the
question.

Sanjiva.

On Sat, 2005-08-20 at 23:06 +0600, Eran Chinthaka wrote:
> Hi Guillaume,
> 
> I know for sure that we need this. I was just asking whether we need
> this for 1.0. And you Seems its required, so let's have it. No problem
> ;).
> 
> I was just wandering why the minor issue became critical all of a sudden :).
> 
> 
> 
> On 8/19/05, Guillaume Sauthier <Gu...@objectweb.org> wrote:
> > Hi Chinthaka
> > 
> > Imagine a J2EE environment where the HTTP transport servlet is running
> > in a different JVM than the Session Bean exposed as webservice.
> > We must propagate the Message Context(s) from the webcontainer to the
> > ejbcontainer.
> > 
> > Propagation can be done through MC serialization (serializable / xml).
> > 
> > Guillaume
> > 
> > Eran Chinthaka wrote:
> > 
> > >How come this is "critical" all of a sudden? Not even Major ...
> > >
> > >Does this mean, we *MUST* have this for 1.0 ?
> > >
> > >
> > >
> > >>-----Original Message-----
> > >>From: Deepal Jayasinghe (JIRA) [mailto:jira@apache.org]
> > >>Sent: Thursday, August 18, 2005 7:06 PM
> > >>To: axis-dev@ws.apache.org
> > >>Subject: [jira] Updated: (AXIS2-42) Message Context Serialization Support
> > >>
> > >>     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]
> > >>
> > >>Deepal Jayasinghe updated AXIS2-42:
> > >>-----------------------------------
> > >>
> > >>    Priority: Critical  (was: Minor)
> > >>
> > >>
> > >>
> > >>>Message Context Serialization Support
> > >>>-------------------------------------
> > >>>
> > >>>         Key: AXIS2-42
> > >>>         URL: http://issues.apache.org/jira/browse/AXIS2-42
> > >>>     Project: Apache Axis 2.0 (Axis2)
> > >>>        Type: New Feature
> > >>>  Components: core
> > >>>    Reporter: Srinath Perera
> > >>>    Assignee: Deepal Jayasinghe
> > >>>    Priority: Critical
> > >>>
> > >>>
> > >>>Support to store and restore the Message context .. this involve the
> > >>>
> > >>>
> > >>Axis storage and context serialization
> > >>
> > >>--
> > >>This message is automatically generated by JIRA.
> > >>-
> > >>If you think it was sent incorrectly contact one of the administrators:
> > >>   http://issues.apache.org/jira/secure/Administrators.jspa
> > >>-
> > >>For more information on JIRA, see:
> > >>   http://www.atlassian.com/software/jira
> > >>
> > >>
> > >>
> > >
> > >
> > >
> > >
> > >
> > >
> > 
> > 
> 
> 


Re: [jira] Updated: (AXIS2-42) Message Context Serialization Support

Posted by Eran Chinthaka <ch...@gmail.com>.
Hi Guillaume,

I know for sure that we need this. I was just asking whether we need
this for 1.0. And you Seems its required, so let's have it. No problem
;).

I was just wandering why the minor issue became critical all of a sudden :).



On 8/19/05, Guillaume Sauthier <Gu...@objectweb.org> wrote:
> Hi Chinthaka
> 
> Imagine a J2EE environment where the HTTP transport servlet is running
> in a different JVM than the Session Bean exposed as webservice.
> We must propagate the Message Context(s) from the webcontainer to the
> ejbcontainer.
> 
> Propagation can be done through MC serialization (serializable / xml).
> 
> Guillaume
> 
> Eran Chinthaka wrote:
> 
> >How come this is "critical" all of a sudden? Not even Major ...
> >
> >Does this mean, we *MUST* have this for 1.0 ?
> >
> >
> >
> >>-----Original Message-----
> >>From: Deepal Jayasinghe (JIRA) [mailto:jira@apache.org]
> >>Sent: Thursday, August 18, 2005 7:06 PM
> >>To: axis-dev@ws.apache.org
> >>Subject: [jira] Updated: (AXIS2-42) Message Context Serialization Support
> >>
> >>     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]
> >>
> >>Deepal Jayasinghe updated AXIS2-42:
> >>-----------------------------------
> >>
> >>    Priority: Critical  (was: Minor)
> >>
> >>
> >>
> >>>Message Context Serialization Support
> >>>-------------------------------------
> >>>
> >>>         Key: AXIS2-42
> >>>         URL: http://issues.apache.org/jira/browse/AXIS2-42
> >>>     Project: Apache Axis 2.0 (Axis2)
> >>>        Type: New Feature
> >>>  Components: core
> >>>    Reporter: Srinath Perera
> >>>    Assignee: Deepal Jayasinghe
> >>>    Priority: Critical
> >>>
> >>>
> >>>Support to store and restore the Message context .. this involve the
> >>>
> >>>
> >>Axis storage and context serialization
> >>
> >>--
> >>This message is automatically generated by JIRA.
> >>-
> >>If you think it was sent incorrectly contact one of the administrators:
> >>   http://issues.apache.org/jira/secure/Administrators.jspa
> >>-
> >>For more information on JIRA, see:
> >>   http://www.atlassian.com/software/jira
> >>
> >>
> >>
> >
> >
> >
> >
> >
> >
> 
> 


-- 
--------------------------------------------------------
Eran Chinthaka

Re: [jira] Updated: (AXIS2-42) Message Context Serialization Support

Posted by Davanum Srinivas <da...@gmail.com>.
+1 to fix this by 1.0

On 8/19/05, Guillaume Sauthier <Gu...@objectweb.org> wrote:
> Hi Chinthaka
> 
> Imagine a J2EE environment where the HTTP transport servlet is running
> in a different JVM than the Session Bean exposed as webservice.
> We must propagate the Message Context(s) from the webcontainer to the
> ejbcontainer.
> 
> Propagation can be done through MC serialization (serializable / xml).
> 
> Guillaume
> 
> Eran Chinthaka wrote:
> 
> >How come this is "critical" all of a sudden? Not even Major ...
> >
> >Does this mean, we *MUST* have this for 1.0 ?
> >
> >
> >
> >>-----Original Message-----
> >>From: Deepal Jayasinghe (JIRA) [mailto:jira@apache.org]
> >>Sent: Thursday, August 18, 2005 7:06 PM
> >>To: axis-dev@ws.apache.org
> >>Subject: [jira] Updated: (AXIS2-42) Message Context Serialization Support
> >>
> >>     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]
> >>
> >>Deepal Jayasinghe updated AXIS2-42:
> >>-----------------------------------
> >>
> >>    Priority: Critical  (was: Minor)
> >>
> >>
> >>
> >>>Message Context Serialization Support
> >>>-------------------------------------
> >>>
> >>>         Key: AXIS2-42
> >>>         URL: http://issues.apache.org/jira/browse/AXIS2-42
> >>>     Project: Apache Axis 2.0 (Axis2)
> >>>        Type: New Feature
> >>>  Components: core
> >>>    Reporter: Srinath Perera
> >>>    Assignee: Deepal Jayasinghe
> >>>    Priority: Critical
> >>>
> >>>
> >>>Support to store and restore the Message context .. this involve the
> >>>
> >>>
> >>Axis storage and context serialization
> >>
> >>--
> >>This message is automatically generated by JIRA.
> >>-
> >>If you think it was sent incorrectly contact one of the administrators:
> >>   http://issues.apache.org/jira/secure/Administrators.jspa
> >>-
> >>For more information on JIRA, see:
> >>   http://www.atlassian.com/software/jira
> >>
> >>
> >>
> >
> >
> >
> >
> >
> >
> 
> 


-- 
Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform

Re: [jira] Updated: (AXIS2-42) Message Context Serialization Support

Posted by Guillaume Sauthier <Gu...@objectweb.org>.
Hi Chinthaka

Imagine a J2EE environment where the HTTP transport servlet is running 
in a different JVM than the Session Bean exposed as webservice.
We must propagate the Message Context(s) from the webcontainer to the 
ejbcontainer.

Propagation can be done through MC serialization (serializable / xml).

Guillaume

Eran Chinthaka wrote:

>How come this is "critical" all of a sudden? Not even Major ...
>
>Does this mean, we *MUST* have this for 1.0 ?
>
>  
>
>>-----Original Message-----
>>From: Deepal Jayasinghe (JIRA) [mailto:jira@apache.org]
>>Sent: Thursday, August 18, 2005 7:06 PM
>>To: axis-dev@ws.apache.org
>>Subject: [jira] Updated: (AXIS2-42) Message Context Serialization Support
>>
>>     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]
>>
>>Deepal Jayasinghe updated AXIS2-42:
>>-----------------------------------
>>
>>    Priority: Critical  (was: Minor)
>>
>>    
>>
>>>Message Context Serialization Support
>>>-------------------------------------
>>>
>>>         Key: AXIS2-42
>>>         URL: http://issues.apache.org/jira/browse/AXIS2-42
>>>     Project: Apache Axis 2.0 (Axis2)
>>>        Type: New Feature
>>>  Components: core
>>>    Reporter: Srinath Perera
>>>    Assignee: Deepal Jayasinghe
>>>    Priority: Critical
>>>      
>>>
>>>Support to store and restore the Message context .. this involve the
>>>      
>>>
>>Axis storage and context serialization
>>
>>--
>>This message is automatically generated by JIRA.
>>-
>>If you think it was sent incorrectly contact one of the administrators:
>>   http://issues.apache.org/jira/secure/Administrators.jspa
>>-
>>For more information on JIRA, see:
>>   http://www.atlassian.com/software/jira
>>
>>    
>>
>
>
>
>
>  
>


RE: [jira] Updated: (AXIS2-42) Message Context Serialization Support

Posted by Eran Chinthaka <ch...@opensource.lk>.
How come this is "critical" all of a sudden? Not even Major ...

Does this mean, we *MUST* have this for 1.0 ?

> -----Original Message-----
> From: Deepal Jayasinghe (JIRA) [mailto:jira@apache.org]
> Sent: Thursday, August 18, 2005 7:06 PM
> To: axis-dev@ws.apache.org
> Subject: [jira] Updated: (AXIS2-42) Message Context Serialization Support
> 
>      [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]
> 
> Deepal Jayasinghe updated AXIS2-42:
> -----------------------------------
> 
>     Priority: Critical  (was: Minor)
> 
> > Message Context Serialization Support
> > -------------------------------------
> >
> >          Key: AXIS2-42
> >          URL: http://issues.apache.org/jira/browse/AXIS2-42
> >      Project: Apache Axis 2.0 (Axis2)
> >         Type: New Feature
> >   Components: core
> >     Reporter: Srinath Perera
> >     Assignee: Deepal Jayasinghe
> >     Priority: Critical
> 
> >
> > Support to store and restore the Message context .. this involve the
> Axis storage and context serialization
> 
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 




[jira] Updated: (AXIS2-42) Message Context Serialization Support

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]

Deepal Jayasinghe updated AXIS2-42:
-----------------------------------

    Priority: Critical  (was: Minor)

> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Deepal Jayasinghe
>     Priority: Critical

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2-42) Message Context Serialization Support

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-42?page=comments#action_12322800 ] 

Deepal Jayasinghe commented on AXIS2-42:
----------------------------------------

I am thinking of fixing the JIRA on Message Context sterilization , but it is jut not message Context all the context  hierarchy has to be serialized and there are much more, therefor this involve major change in "core" module. 

Therefor I would like if you guys are not going to make changes to core class in axis2 , else it will be a  big trouble for me. Can I go ahead and do the changes ..........

> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Deepal Jayasinghe
>     Priority: Critical

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2-42) Message Context Serialization Support

Posted by "Chamikara Jayalath (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-42?page=comments#action_12323053 ] 

Chamikara Jayalath commented on AXIS2-42:
-----------------------------------------

Sandesha currently badly needs message context serialization support. But serialization should be minimum to get a resonable performance. To support in-order invocation Sandesha will have to serialize all the messages (since most of the time they won't come in order). if  the complete context hierarchy get serialized with every MC serialization , that is going to be a big overhead.

So I believe the amount of data that get serialized should be minimum. A serialization of a message should only include the info. necessary to that message. (It is great if this can be limited to SOAP envelops and the properties of the message context).

Other Contexts which has data common to several message context can be serialized to a common place (if needed).

> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Deepal Jayasinghe
>     Priority: Critical

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (AXIS2-42) Message Context Serialization Support

Posted by "Srinath Perera (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]

Srinath Perera reassigned AXIS2-42:
-----------------------------------

    Assign To: Jaliya Ekanayake

> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Jaliya Ekanayake
>     Priority: Minor

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2-42) Message Context Serialization Support

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-42?page=comments#action_12317600 ] 

Deepal Jayasinghe commented on AXIS2-42:
----------------------------------------

Serialization of Message Context includes number of changes to be done.
1.	Has to serialize bottom to top (Message Context to service context)
2.	Make all the descriptions transient and provide get/set methods to change them.
3.	For each context has to have init() method so that inside that method we can called above get/set methods.
4.	When we serialize only the SOAPMessage and properties has to be serialize nothing else, and all the others has to come throgh deployment. 

And this issue can not fix for the 0.95 and will be there in RC1



> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Deepal Jayasinghe
>     Priority: Minor

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2-42) Message Context Serialization Support

Posted by "Saminda Wishwajith Abeyruwan (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-42?page=comments#action_12314677 ] 

Saminda Wishwajith Abeyruwan commented on AXIS2-42:
---------------------------------------------------

Serialization and Deserialization of Message Context work perfectly with standard Serialization of java. To achieve this, most of the Interfaces should be extended form java.io.Serialization.  Once being serialized particular instance of msgCtx will be around 11-14kb on  a Windows platform, Client side and Server side respectively

> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Jaliya Ekanayake
>     Priority: Minor

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2-42) Message Context Serialization Support

Posted by "Chamikara Jayalath (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-42?page=all ]
     
Chamikara Jayalath resolved AXIS2-42:
-------------------------------------

    Resolution: Fixed

I have developed the functionality to serialize the complete context hierarchy. We have clearly identified the non-serializable instance variables in Context classes and named them as transient (these include descriptions). When somebody serialize the current configurationContext, the whole context hierarchy will be serialized including message contexts (so the issue of MessageContext serialization becomes a subset of this solution :) ). The names of descriptions will be saved in special variables, these names will also get serialized.

In deserializing the caller simply have to deserialize an ConfigurationContext object from the file. This will have the complete context hierarchy. New instances of some transient variables will be set in the readObject function (e.g. ThreadPools ). But the description hierarchy cannot be attached at this moment since the axisConfiguraion is unavalable. To set the descriptors  the init (axisConfiguration) method of the deserialized configurationContext have to be called passing the current AxisConfiguration object as the parameter this will recursively set the descriptors of all the context classes upto MessageContext.

I also added a test case to test the serialization and deserialization functionality. This is available as core\test\org\apache\axis2\context\ContextSerializationTest.java.

So I belive this issue can be closed now :)

Chamikara



> Message Context Serialization Support
> -------------------------------------
>
>          Key: AXIS2-42
>          URL: http://issues.apache.org/jira/browse/AXIS2-42
>      Project: Apache Axis 2.0 (Axis2)
>         Type: New Feature
>   Components: core
>     Reporter: Srinath Perera
>     Assignee: Chamikara Jayalath
>     Priority: Critical

>
> Support to store and restore the Message context .. this involve the Axis storage and context serialization

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira