You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2012/08/01 20:30:14 UTC
svn commit: r1368177 -
/cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java
Author: dkulp
Date: Wed Aug 1 18:30:14 2012
New Revision: 1368177
URL: http://svn.apache.org/viewvc?rev=1368177&view=rev
Log:
Merged revisions 1368168 via git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.5.x-fixes
........
r1368168 | dkulp | 2012-08-01 14:28:20 -0400 (Wed, 01 Aug 2012) | 18 lines
Merged revisions 1368114 via git cherry-pick from
https://svn.apache.org/repos/asf/cxf/branches/2.6.x-fixes
........
r1368114 | dkulp | 2012-08-01 12:42:38 -0400 (Wed, 01 Aug 2012) | 10 lines
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.4.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java
Modified: cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java?rev=1368177&r1=1368176&r2=1368177&view=diff
==============================================================================
--- cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java (original)
+++ cxf/branches/2.4.x-fixes/rt/core/src/test/java/org/apache/cxf/interceptor/DocLiteralInInterceptorTest.java Wed Aug 1 18:30:14 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);