cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject git commit: Fix test failures on 2.6.x
Date Mon, 14 Jul 2014 16:40:40 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.6.x-fixes a63f8352a -> d4c640b4c


Fix test failures on 2.6.x


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

Branch: refs/heads/2.6.x-fixes
Commit: d4c640b4cc85bd7a58c8065e7755c1b7c54567c7
Parents: a63f835
Author: Daniel Kulp <dkulp@apache.org>
Authored: Mon Jul 14 12:39:18 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Mon Jul 14 12:39:29 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/cxf/jaxws/DispatchImpl.java      | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/d4c640b4/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java b/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
index fd69e1b..2507c92 100644
--- a/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
+++ b/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/DispatchImpl.java
@@ -413,6 +413,13 @@ public class DispatchImpl<T> implements Dispatch<T>, BindingProvider,
Closeable
                     if (dbop != null) {
                         opName = dispatchedOpName;
                     }
+                    
+                    BindingOperationInfo bop = client.getEndpoint().getBinding().getBindingInfo()
+                        .getOperation(opName);
+                    if (bop != null) {
+                        // set the actual binding operation object to this dispatch operation
+                        bop.setProperty("dispatchToOperation", dbop);
+                    }
                 }
             }
         }


Mime
View raw message