json.gson : 'NodeMap' in ConfigurationContext doesn't get cleared with service redeployment

2014-11-20 Thread Jayanga Dissanayake
Hi All, I am trying out some samples with axis2 json.gson [1] implementation. In my sample I have an Axis2 service which accept and sends json contents. According to the json.gson implementation, it creates the 'NodeMap' in the first invocation and sets it in the ConfigurationContext. I made some

RE: json.gson : 'NodeMap' in ConfigurationContext doesn't get cleared with service redeployment

2014-11-20 Thread Martin Gainty
xmlnodes is *assumed* to be in your base configuration for nodeMap to be created properly IF xmlnodes is nowhere to be found a NEW nodeMap IS created via Map newNodeMap = new HashMap(); //assumptions xmlSchemaList is a set properly by constructor //elementQName is set properly by const

Re: json.gson : 'NodeMap' in ConfigurationContext doesn't get cleared with service redeployment

2014-11-20 Thread Jayanga Dissanayake
Hi, Yes. This is exactly my observation. Thanks for elaborating the above implementation. Here the 'nodeMap' is stored in the ConfigurationContext. Why it is stored in ConfigurationContext instead of ServiceContext. I think, if we need to update the 'nodeMap' when the services are redeployed, it

unsubscribe

2014-11-20 Thread Asen

Kun AY Yang is out of the office.

2014-11-20 Thread Kun AY Yang
I will be out of the office starting 11/20/2014 and will not return until 11/22/2014. I will respond to your message when I return.