servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r781274 - /servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcSUClassloaderTest.java
Date Wed, 03 Jun 2009 06:13:50 GMT
Author: ffang
Date: Wed Jun  3 06:13:50 2009
New Revision: 781274

URL: http://svn.apache.org/viewvc?rev=781274&view=rev
Log:
[SMXCOMP-554]refactor tests to not use port 9000 so that the tests can pass with sonar plugin

Modified:
    servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcSUClassloaderTest.java

Modified: servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcSUClassloaderTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcSUClassloaderTest.java?rev=781274&r1=781273&r2=781274&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcSUClassloaderTest.java
(original)
+++ servicemix/smx3/branches/servicemix-3.2/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/CxfBcSUClassloaderTest.java
Wed Jun  3 06:13:50 2009
@@ -75,7 +75,9 @@
         assertNotNull(wsdl);
         service = new CalculatorService(wsdl, new QName(
                 "http://apache.org/cxf/calculator", "CalculatorSecondService"));
-        port = service.getCalculatorPort();
+        service.addPort(endpoint,
+                SOAPBinding.SOAP12HTTP_BINDING, "http://localhost:19000/CalculatorService/SoapPort");
+        port = service.getPort(endpoint, CalculatorPortType.class);
         ClientProxy.getClient(port).getInFaultInterceptors().add(new LoggingInInterceptor());
         ClientProxy.getClient(port).getInInterceptors().add(new LoggingInInterceptor());
         try {



Mime
View raw message