cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xl...@apache.org
Subject git commit: revert changes for CXF-5732
Date Thu, 08 May 2014 03:01:03 GMT
Repository: cxf
Updated Branches:
  refs/heads/master b3a62ba7c -> be93ea51e


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/be93ea51
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/be93ea51
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/be93ea51

Branch: refs/heads/master
Commit: be93ea51e144a134fbf59f682a4fca60b68b5a4e
Parents: b3a62ba
Author: xldai <xldai@talend.com>
Authored: Thu May 8 11:00:39 2014 +0800
Committer: xldai <xldai@talend.com>
Committed: Thu May 8 11:00:39 2014 +0800

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/be93ea51/rt/wsdl/src/main/java/org/apache/cxf/wsdl/interceptors/DocLiteralInInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/wsdl/src/main/java/org/apache/cxf/wsdl/interceptors/DocLiteralInInterceptor.java
b/rt/wsdl/src/main/java/org/apache/cxf/wsdl/interceptors/DocLiteralInInterceptor.java
index 748e424..3fad677 100644
--- a/rt/wsdl/src/main/java/org/apache/cxf/wsdl/interceptors/DocLiteralInInterceptor.java
+++ b/rt/wsdl/src/main/java/org/apache/cxf/wsdl/interceptors/DocLiteralInInterceptor.java
@@ -208,10 +208,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