Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 47574 invoked from network); 18 Jul 2007 19:34:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2007 19:34:48 -0000 Received: (qmail 27988 invoked by uid 500); 18 Jul 2007 19:34:28 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 27916 invoked by uid 500); 18 Jul 2007 19:34:27 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 27887 invoked by uid 99); 18 Jul 2007 19:34:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2007 12:34:27 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jul 2007 12:34:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 83651714187 for ; Wed, 18 Jul 2007 12:34:04 -0700 (PDT) Message-ID: <12840495.1184787244518.JavaMail.jira@brutus> Date: Wed, 18 Jul 2007 12:34:04 -0700 (PDT) From: "Nikhil Thaker (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS2-2978) Attachment optimization properties are not current in client request context In-Reply-To: <1587009.1184630825522.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nikhil Thaker resolved AXIS2-2978. ---------------------------------- Resolution: Fixed Attached patch has already been commited by Rich Scheuerle with Revision # 556730. > Attachment optimization properties are not current in client request context > ---------------------------------------------------------------------------- > > Key: AXIS2-2978 > URL: https://issues.apache.org/jira/browse/AXIS2-2978 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Affects Versions: M2 > Reporter: Samuel Isokpunwu > Assignee: Nikhil Thaker > Attachments: bt66899patch.txt > > > The client request context is not properly updated when mtom enablement state properties changes. > Example test scenario: > { > --------- > --------- > SOAPBinding binding = (SOAPBinding)dispatch.getBinding(); > binding.setMTOMEnabled(true); > --------- > response = dispatch.invoke(request); > --------- > binding.setMTOMEnabled(false); > --------- > response = dispatch.invoke(request); > --------- > --------- > } > Since the client request context for a previous request is being cached and reused for a subsequent request, any attachment optimization properties changes, in the test scenario above, are ignored. Will be adding code to check and copy over any new properties updates. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org