Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 85386 invoked from network); 4 Dec 2006 07:49:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2006 07:49:33 -0000 Received: (qmail 43262 invoked by uid 500); 4 Dec 2006 07:49:42 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 43027 invoked by uid 500); 4 Dec 2006 07:49:41 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 43016 invoked by uid 500); 4 Dec 2006 07:49:41 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 43013 invoked by uid 99); 4 Dec 2006 07:49:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 23:49:41 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 23:49:32 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id A7FBB1A9846; Sun, 3 Dec 2006 23:48:51 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r482097 - /webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java Date: Mon, 04 Dec 2006 07:48:51 -0000 To: axis2-cvs@ws.apache.org From: ngallardo@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061204074851.A7FBB1A9846@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ngallardo Date: Sun Dec 3 23:48:49 2006 New Revision: 482097 URL: http://svn.apache.org/viewvc?view=rev&rev=482097 Log: Move MTOM enablement from the client options to the MessageContext options so it will only happen on a per request basis, rather than configuring all requests on that client. Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java Modified: webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java?view=diff&rev=482097&r1=482096&r2=482097 ============================================================================== --- webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java (original) +++ webservices/axis2/trunk/java/modules/jaxws/src/org/apache/axis2/jaxws/core/controller/AxisInvocationController.java Sun Dec 3 23:48:49 2006 @@ -374,10 +374,9 @@ private void initOperationClient(OperationClient opClient, MessageContext requestMsgCtx) { org.apache.axis2.context.MessageContext axisRequest = requestMsgCtx.getAxisMessageContext(); + setupProperties(requestMsgCtx, axisRequest.getOptions()); Options options = opClient.getOptions(); - setupProperties(requestMsgCtx, options); - if (opClient != null) { // Get the target endpoint address and setup the TO endpoint // reference. This tells us where the request is going. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org