cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r794803 - in /cxf/branches/2.2.x-fixes: ./ rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/provider/ProviderTest.java
Date Thu, 16 Jul 2009 19:38:08 GMT
Author: dkulp
Date: Thu Jul 16 19:38:08 2009
New Revision: 794803

URL: http://svn.apache.org/viewvc?rev=794803&view=rev
Log:
Merged revisions 794780 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r794780 | dkulp | 2009-07-16 15:02:44 -0400 (Thu, 16 Jul 2009) | 1 line
  
  [CXF-1852] Add a testcase to prove this is really resolved
........

Modified:
    cxf/branches/2.2.x-fixes/   (props changed)
    cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/provider/ProviderTest.java

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Thu Jul 16 19:38:08 2009
@@ -1 +1 @@
-/cxf/trunk:782728-782730,783097,783294,783396,784059,784181-784184,784893,784895,785279-785282,785468,785621,785624,785651,785734,785866,786142,786271-786272,786395,786512,786514,786582-786583,786638,786647,786850,787200,787269,787277-787279,787290-787291,787305,787323,787366,787849,788030,788060,788187,788444,788451,788703,788752,788774,788819-788820,789013,789371,789387,789420,789527-789530,789704-789705,789788,789811,789896-789901,790074,790094,790134,790188,790294,790553,790637-790644,790868,791301,791354,791538,791753,791947,792007,792096,792183,792261-792265,792271,792604,792683-792685,792975,792985,793059,793570,794297,794396,794680,794728,794771,794778-794779
+/cxf/trunk:782728-782730,783097,783294,783396,784059,784181-784184,784893,784895,785279-785282,785468,785621,785624,785651,785734,785866,786142,786271-786272,786395,786512,786514,786582-786583,786638,786647,786850,787200,787269,787277-787279,787290-787291,787305,787323,787366,787849,788030,788060,788187,788444,788451,788703,788752,788774,788819-788820,789013,789371,789387,789420,789527-789530,789704-789705,789788,789811,789896-789901,790074,790094,790134,790188,790294,790553,790637-790644,790868,791301,791354,791538,791753,791947,792007,792096,792183,792261-792265,792271,792604,792683-792685,792975,792985,793059,793570,794297,794396,794680,794728,794771,794778-794780

Propchange: cxf/branches/2.2.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/provider/ProviderTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/provider/ProviderTest.java?rev=794803&r1=794802&r2=794803&view=diff
==============================================================================
--- cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/provider/ProviderTest.java
(original)
+++ cxf/branches/2.2.x-fixes/rt/frontend/jaxws/src/test/java/org/apache/cxf/jaxws/provider/ProviderTest.java
Thu Jul 16 19:38:08 2009
@@ -41,4 +41,24 @@
         addNamespace("j", "http://service.jaxws.cxf.apache.org/");
         assertValid("//s:Body/j:sayHi", response);
     }
+    
+    @Test
+    public void testCXF1852() throws Exception {
+        EndpointImpl ep = new EndpointImpl(getBus(), new PayloadProvider2(), (String) null);
+        ep.publish("http://localhost:9001/Provider2");
+        
+        Node response = invoke("http://localhost:9001/Provider2",
+                               LocalTransportFactory.TRANSPORT_ID, 
+                               "/org/apache/cxf/jaxws/sayHi.xml");
+
+        assertNotNull(response);
+        assertNoFault(response);
+
+        addNamespace("j", "http://service.jaxws.cxf.apache.org/");
+        assertValid("//s:Body/j:sayHi", response);        
+    }
+    
+    public static class PayloadProvider2 extends PayloadProvider {
+        
+    }
 }



Mime
View raw message