cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1304181 - /cxf/trunk/api/src/main/java/org/apache/cxf/transport/TransportURIResolver.java
Date Fri, 23 Mar 2012 04:01:19 GMT
Author: ningjiang
Date: Fri Mar 23 04:01:19 2012
New Revision: 1304181

URL: http://svn.apache.org/viewvc?rev=1304181&view=rev
Log:
CXF-4195 fixed the configuration issue of http conduit for WsdlUrl

Modified:
    cxf/trunk/api/src/main/java/org/apache/cxf/transport/TransportURIResolver.java

Modified: cxf/trunk/api/src/main/java/org/apache/cxf/transport/TransportURIResolver.java
URL: http://svn.apache.org/viewvc/cxf/trunk/api/src/main/java/org/apache/cxf/transport/TransportURIResolver.java?rev=1304181&r1=1304180&r2=1304181&view=diff
==============================================================================
--- cxf/trunk/api/src/main/java/org/apache/cxf/transport/TransportURIResolver.java (original)
+++ cxf/trunk/api/src/main/java/org/apache/cxf/transport/TransportURIResolver.java Fri Mar
23 04:01:19 2012
@@ -26,6 +26,8 @@ import java.net.URISyntaxException;
 import java.util.HashSet;
 import java.util.Set;
 
+import javax.xml.namespace.QName;
+
 import org.xml.sax.InputSource;
 
 import org.apache.cxf.Bus;
@@ -101,6 +103,8 @@ public class TransportURIResolver extend
                 }
                 if (ci != null) {
                     EndpointInfo info = new EndpointInfo();
+                    // set the endpointInfo name which could be used for configuration
+                    info.setName(new QName("http://cxf.apache.org", "TransportURIResolver"));
                     info.setAddress(base.toString());
                     final Conduit c = ci.getConduit(info);
                     Message message = new MessageImpl();



Mime
View raw message