cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r559278 - in /incubator/cxf/trunk: rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/ testutils/src/main/java/org/apache/hello_world_soap_http/
Date Wed, 25 Jul 2007 02:02:01 GMT
Author: ningjiang
Date: Tue Jul 24 19:02:01 2007
New Revision: 559278

URL: http://svn.apache.org/viewvc?view=rev&rev=559278
Log:
CXF-839 applied Glen's patch 

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/SpringBeansTest.java
    incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/endpoints.xml
    incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterImpl.java

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=559278&r1=559277&r2=559278
==============================================================================
--- 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
Tue Jul 24 19:02:01 2007
@@ -75,7 +75,7 @@
         }
         org.apache.hello_world_soap_http.GreeterImpl impl =
             (org.apache.hello_world_soap_http.GreeterImpl)ep.getImplementor();
-        assertEquals("The property is not injected rightly", impl.getPerfix(), "hello");
+        assertEquals("The property was not injected rightly", impl.getPrefix(), "hello");
         assertNotNull(ep.getServer());
         
 

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/endpoints.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/endpoints.xml?view=diff&rev=559278&r1=559277&r2=559278
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/endpoints.xml
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/spring/endpoints.xml
Tue Jul 24 19:02:01 2007
@@ -47,7 +47,7 @@
   <jaxws:endpoint id="inlineImplementor" address="http://localhost:8080/simpleWithAddress">
     <jaxws:implementor>
       <bean class="org.apache.hello_world_soap_http.GreeterImpl">
-         <property name="perfix" value="hello"/>
+         <property name="prefix" value="hello"/>
       </bean>   
     </jaxws:implementor>
   </jaxws:endpoint>

Modified: incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterImpl.java?view=diff&rev=559278&r1=559277&r2=559278
==============================================================================
--- incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterImpl.java
(original)
+++ incubator/cxf/trunk/testutils/src/main/java/org/apache/hello_world_soap_http/GreeterImpl.java
Tue Jul 24 19:02:01 2007
@@ -55,7 +55,7 @@
     @Resource
     private WebServiceContext context;
     
-    private String perfix = "";
+    private String prefix = "";
 
     private int invocationCount;
 
@@ -63,12 +63,12 @@
         return context;
     }
     
-    public void setPerfix(String per) {
-        perfix = per;
+    public void setPrefix(String p) {
+        prefix = p;
     }    
     
-    public String getPerfix() {
-        return perfix;
+    public String getPrefix() {
+        return prefix;
     }
     public String greetMe(String me) {
         if ("secure".equals(me)) {
@@ -80,7 +80,7 @@
         }
         
         
-        LOG.info("Invoking greetMe " + perfix + me);
+        LOG.info("Invoking greetMe " + prefix + me);
         invocationCount++;
         return "Hello " + me;
     }



Mime
View raw message