cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r557928 - in /incubator/cxf/trunk/rt: bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/SpringBeansTest.java
Date Fri, 20 Jul 2007 08:49:27 GMT
Author: ningjiang
Date: Fri Jul 20 01:49:26 2007
New Revision: 557928

URL: http://svn.apache.org/viewvc?view=rev&rev=557928
Log:
fixed an exception message of not found conduit initiator and also enhance the jaxws front-end
SpringBeansTest.

Modified:
    incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
    incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/SpringBeansTest.java

Modified: incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java?view=diff&rev=557928&r1=557927&r2=557928
==============================================================================
--- incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
(original)
+++ incubator/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/SoapTransportFactory.java
Fri Jul 20 01:49:26 2007
@@ -145,7 +145,7 @@
 
             return conduitInit.getConduit(ei);
         } catch (BusException e) {
-            throw new RuntimeException("Could not find destination factory for transport
"
+            throw new RuntimeException("Could not find conduit initiator for transport "
                                        + binding.getTransportURI());
         }
     }

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/SpringBeansTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/SpringBeansTest.java?view=diff&rev=557928&r1=557927&r2=557928
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/SpringBeansTest.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/SpringBeansTest.java
Fri Jul 20 01:49:26 2007
@@ -59,8 +59,10 @@
         bean = ctx.getBean("simpleWithAddress");
         assertNotNull(bean);
         
-        ep = (EndpointImpl) bean;
-        assertNotNull(ep.getImplementor());
+        ep = (EndpointImpl) bean;        
+        if (!(ep.getImplementor() instanceof org.apache.hello_world_soap_http.GreeterImpl))
{
+            fail("can't get the right implementor object");
+        }
         assertEquals("http://localhost:8080/simpleWithAddress", 
                      ep.getServer().getEndpoint().getEndpointInfo().getAddress());
         



Mime
View raw message