Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 66604a8e1 -> 54e9a367a


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

Branch: refs/heads/2.7.x-fixes
Commit: 61ce8c179cad19cc390a94dce6151ae07d55587d
Parents: 66604a8
Author: Aaron Donovan <[email protected]>
Authored: Tue Feb 24 10:21:27 2015 -0500
Committer: Daniel Kulp <[email protected]>
Committed: Thu Apr 30 10:05:08 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/61ce8c17/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);
 

Reply via email to