cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1135457 - /cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetInterceptor.java
Date Tue, 14 Jun 2011 10:12:09 GMT
Author: ffang
Date: Tue Jun 14 10:12:08 2011
New Revision: 1135457

URL: http://svn.apache.org/viewvc?rev=1135457&view=rev
Log:
[CXF-3585]WSDLGetInterceptor throws NullPointException when using EndpointSelectionInterceptor

Modified:
    cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetInterceptor.java

Modified: cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetInterceptor.java?rev=1135457&r1=1135456&r2=1135457&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetInterceptor.java
(original)
+++ cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/WSDLGetInterceptor.java
Tue Jun 14 10:12:08 2011
@@ -52,6 +52,7 @@ import org.w3c.dom.Element;
 import org.xml.sax.InputSource;
 
 import org.apache.cxf.Bus;
+import org.apache.cxf.binding.soap.interceptor.EndpointSelectionInterceptor;
 import org.apache.cxf.catalog.OASISCatalogManager;
 import org.apache.cxf.catalog.OASISCatalogManagerHelper;
 import org.apache.cxf.common.logging.LogUtils;
@@ -89,6 +90,7 @@ public class WSDLGetInterceptor extends 
     
     public WSDLGetInterceptor() {
         super(Phase.READ);
+        getAfter().add(EndpointSelectionInterceptor.class.getName());
     }
 
     public void handleMessage(Message message) throws Fault {



Mime
View raw message