cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: Setting message context property to rewrite soap addresses Found that without this parameter, the addresses returned by the mex endpoint were not valid
Date Tue, 31 Mar 2015 19:16:59 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 7a2608611 -> 75be7cc4a


Setting message context property to rewrite soap addresses
Found that without this parameter, the addresses returned by the mex endpoint were not valid

This closes #54


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

Branch: refs/heads/3.0.x-fixes
Commit: 75be7cc4a3a3fb4b7da03934b19b57276b7e5cc1
Parents: 7a26086
Author: Aaron Donovan <donovan_aaron@bah.com>
Authored: Tue Feb 24 10:21:27 2015 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Tue Mar 31 15:16:51 2015 -0400

----------------------------------------------------------------------
 rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/75be7cc4/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXUtils.java
----------------------------------------------------------------------
diff --git a/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXUtils.java b/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXUtils.java
index 7ce467a..17a9dc1 100644
--- a/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXUtils.java
+++ b/rt/ws/mex/src/main/java/org/apache/cxf/ws/mex/MEXUtils.java
@@ -44,7 +44,7 @@ public final class MEXUtils {
 
     public static List<Element> getWSDLs(Server server) {
         Message message = PhaseInterceptorChain.getCurrentMessage();
-        
+        message.put(WSDLGetUtils.AUTO_REWRITE_ADDRESS_ALL, true);
         String base = (String)message.get(Message.REQUEST_URL);
         String ctxUri = (String)message.get(Message.PATH_INFO);
 


Mime
View raw message