cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xl...@apache.org
Subject [1/2] git commit: revert changes for CXF-5732
Date Thu, 08 May 2014 03:05:13 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 2f57b6fd0 -> f6d9f8114


revert changes for CXF-5732


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/051058e8
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/051058e8
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/051058e8

Branch: refs/heads/2.7.x-fixes
Commit: 051058e8adad8acf5e53355a527d1b32d108a12c
Parents: 58fd093
Author: xldai <xldai@talend.com>
Authored: Thu May 8 11:03:57 2014 +0800
Committer: xldai <xldai@talend.com>
Committed: Thu May 8 11:03:57 2014 +0800

----------------------------------------------------------------------
 .../java/org/apache/cxf/interceptor/DocLiteralInInterceptor.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/051058e8/api/src/main/java/org/apache/cxf/interceptor/DocLiteralInInterceptor.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/cxf/interceptor/DocLiteralInInterceptor.java b/api/src/main/java/org/apache/cxf/interceptor/DocLiteralInInterceptor.java
index 225ccdc..c548916 100644
--- a/api/src/main/java/org/apache/cxf/interceptor/DocLiteralInInterceptor.java
+++ b/api/src/main/java/org/apache/cxf/interceptor/DocLiteralInInterceptor.java
@@ -207,10 +207,8 @@ public class DocLiteralInInterceptor extends AbstractInDatabindingInterceptor
{
     
             message.setContent(List.class, parameters);
         } catch (Fault f) {
-            if (isRequestor(message)) {
+            if (!isRequestor(message)) {
                 f.setFaultCode(Fault.FAULT_CODE_CLIENT);
-            } else {
-                f.setFaultCode(Fault.FAULT_CODE_SERVER);
             }
             throw f;
         }


Mime
View raw message