Return-Path: X-Original-To: apmail-axis-java-dev-archive@www.apache.org Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D3A10414D for ; Tue, 21 Jun 2011 06:10:02 +0000 (UTC) Received: (qmail 41181 invoked by uid 500); 21 Jun 2011 06:10:01 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 40433 invoked by uid 500); 21 Jun 2011 06:09:53 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 40425 invoked by uid 500); 21 Jun 2011 06:09:51 -0000 Delivered-To: apmail-ws-axis-dev@ws.apache.org Received: (qmail 40420 invoked by uid 99); 21 Jun 2011 06:09:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 06:09:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pradeepfn@gmail.com designates 209.85.220.177 as permitted sender) Received: from [209.85.220.177] (HELO mail-vx0-f177.google.com) (209.85.220.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jun 2011 06:09:45 +0000 Received: by vxd3 with SMTP id 3so4565499vxd.22 for ; Mon, 20 Jun 2011 23:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=y+gpABW8eMmA8oTCfKkA38pP6xHkfmUYxkfdhzmoRr4=; b=CeUp+HP0JqiPv2RKXcMwyd2zZlQ3kDe678HljmCHMHnzxvInCIuSLHLILqLju9R3wD AiAgCmIib8BIx18WwOlNxq5qLwh2zQJstSXEqWWxsGdO154fQKOktzO+VAcVkHWjiocF Y7Cbh2OHza7nMFwBelKCGw+zmuehC+tmgSwvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=YondIlWPpDBCIcsw9+1jb3gIylY2sixSXpMf1tctcODElaVQUwSTtW2FZf2+mi5CrE vSrkkj24sWzW5W7il2RqCLU3ZgxwliGuG0KN8eLPsd+wXZ1nX6r7xYWgY/AYUXHOgIRq 0TJO9HScZbKTj9bxKY5Mtb6pE11IFbdtZ/ZRc= Received: by 10.52.100.136 with SMTP id ey8mr8166904vdb.136.1308636564075; Mon, 20 Jun 2011 23:09:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.157.138 with HTTP; Mon, 20 Jun 2011 23:09:04 -0700 (PDT) From: Pradeep Fernando Date: Tue, 21 Jun 2011 11:39:04 +0530 Message-ID: Subject: MulipleEntryHashMap s' get operation removes the value from the map To: axis2-developer Content-Type: text/plain; charset=UTF-8 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