axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pradeep Fernando <pradee...@gmail.com>
Subject MulipleEntryHashMap s' get operation removes the value from the map
Date Tue, 21 Jun 2011 06:09:04 GMT
Hi devs,


In the axis2 x-form-url-encoded builder it stores HTTP post request
values (in the message body) in MultipleEntryHashMap and attach to the
axis2MessageContext using a property. So when I send a POST request
with a key,value pairs in the message body, axis2 builds a SOAP env
with an empty body, while the properties themselves are stored as a
property in the messageContext.

However this the values stored in the above map are not available,
when i try to access those using a synapse mediator. Since the get
implementation of the map is destroy and read, it must have got
consumed during a axis2 dispatching phase (not sure).

Is there any particular reason  for implementing get operation of the
MultipleEntryHashMap in this manner. ?


Thanks,
-- 
Pradeep Fernando.
http://pradeepfernando.blogspot.com/

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


Mime
View raw message