Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE1D3D06D for ; Wed, 1 Aug 2012 16:43:23 +0000 (UTC) Received: (qmail 61616 invoked by uid 500); 1 Aug 2012 16:43:23 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 61518 invoked by uid 500); 1 Aug 2012 16:43:23 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 61511 invoked by uid 99); 1 Aug 2012 16:43:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 16:43:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Aug 2012 16:43:22 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1520C2388A4A; Wed, 1 Aug 2012 16:42:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1368114 - /cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java Date: Wed, 01 Aug 2012 16:42:39 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120801164239.1520C2388A4A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Wed Aug 1 16:42:38 2012 New Revision: 1368114 URL: http://svn.apache.org/viewvc?rev=1368114&view=rev Log: Merged revisions 1368103 via git cherry-pick from https://svn.apache.org/repos/asf/cxf/trunk ........ r1368103 | dkulp | 2012-08-01 12:24:24 -0400 (Wed, 01 Aug 2012) | 2 lines Make sure the test case wires the message parts into the messageinfo ........ Modified: cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java Modified: cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java URL: http://svn.apache.org/viewvc/cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java?rev=1368114&r1=1368113&r2=1368114&view=diff ============================================================================== --- cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java (original) +++ cxf/branches/2.6.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java Wed Aug 1 16:42:38 2012 @@ -103,12 +103,18 @@ public class DocLiteralInInterceptorTest exchange.put(Endpoint.class, endpoint); OperationInfo operationInfo = new OperationInfo(); + operationInfo.setProperty("operation.is.synthetic", Boolean.TRUE); MessageInfo messageInfo = new MessageInfo(operationInfo, Type.INPUT, new QName("http://foo.com", "bar")); messageInfo.addMessagePart(new MessagePartInfo(new QName("http://foo.com", "partInfo1"), null)); messageInfo.addMessagePart(new MessagePartInfo(new QName("http://foo.com", "partInfo2"), null)); messageInfo.addMessagePart(new MessagePartInfo(new QName("http://foo.com", "partInfo3"), null)); messageInfo.addMessagePart(new MessagePartInfo(new QName("http://foo.com", "partInfo4"), null)); + + for (MessagePartInfo mpi : messageInfo.getMessageParts()) { + mpi.setMessageContainer(messageInfo); + } + operationInfo.setInput("inputName", messageInfo); BindingOperationInfo boi = new BindingOperationInfo(null, operationInfo);