cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1414386 - in /cxf/trunk/distribution/src/main/release/samples: in_jvm_transport/src/main/java/demo/colocated/client/ jaxws_dispatch_provider/src/main/java/demo/hwDispatch/client/ jaxws_handlers/src/main/java/demo/handlers/client/ ws_securi...
Date Tue, 27 Nov 2012 20:33:59 GMT
Author: dkulp
Date: Tue Nov 27 20:33:58 2012
New Revision: 1414386

URL: http://svn.apache.org/viewvc?rev=1414386&view=rev
Log:
Don't use some deprecated API's

Modified:
    cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/src/main/java/demo/colocated/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/src/main/java/demo/hwDispatch/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/src/main/java/demo/handlers/client/Client.java
    cxf/trunk/distribution/src/main/release/samples/ws_security/ut_policy/src/main/java/demo/wssec/client/Client.java

Modified: cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/src/main/java/demo/colocated/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/src/main/java/demo/colocated/client/Client.java?rev=1414386&r1=1414385&r2=1414386&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/src/main/java/demo/colocated/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/in_jvm_transport/src/main/java/demo/colocated/client/Client.java
Tue Nov 27 20:33:58 2012
@@ -51,7 +51,7 @@ public final class Client {
         URL wsdlURL;
         File wsdlFile = new File(args[0]);
         if (wsdlFile.exists()) {
-            wsdlURL = wsdlFile.toURL();
+            wsdlURL = wsdlFile.toURI().toURL();
         } else {
             wsdlURL = new URL(args[0]);
         }

Modified: cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/src/main/java/demo/hwDispatch/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/src/main/java/demo/hwDispatch/client/Client.java?rev=1414386&r1=1414385&r2=1414386&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/src/main/java/demo/hwDispatch/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jaxws_dispatch_provider/src/main/java/demo/hwDispatch/client/Client.java
Tue Nov 27 20:33:58 2012
@@ -52,7 +52,7 @@ public final class Client {
         URL wsdlURL;
         File wsdlFile = new File(args[0]);
         if (wsdlFile.exists()) {
-            wsdlURL = wsdlFile.toURL();
+            wsdlURL = wsdlFile.toURI().toURL();
         } else {
             wsdlURL = new URL(args[0]);
         }

Modified: cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/src/main/java/demo/handlers/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/src/main/java/demo/handlers/client/Client.java?rev=1414386&r1=1414385&r2=1414386&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/src/main/java/demo/handlers/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/jaxws_handlers/src/main/java/demo/handlers/client/Client.java
Tue Nov 27 20:33:58 2012
@@ -53,7 +53,7 @@ public final class Client {
 
         File wsdl = new File(args[0]);
 
-        AddNumbersService service = new AddNumbersService(wsdl.toURL(), serviceName);
+        AddNumbersService service = new AddNumbersService(wsdl.toURI().toURL(), serviceName);
         AddNumbers port = (AddNumbers)service.getPort(portName, AddNumbers.class);
 
         //Add client side handlers programmatically

Modified: cxf/trunk/distribution/src/main/release/samples/ws_security/ut_policy/src/main/java/demo/wssec/client/Client.java
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/ws_security/ut_policy/src/main/java/demo/wssec/client/Client.java?rev=1414386&r1=1414385&r2=1414386&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/ws_security/ut_policy/src/main/java/demo/wssec/client/Client.java
(original)
+++ cxf/trunk/distribution/src/main/release/samples/ws_security/ut_policy/src/main/java/demo/wssec/client/Client.java
Tue Nov 27 20:33:58 2012
@@ -50,7 +50,7 @@ public final class Client {
         URL wsdlURL;
         File wsdlFile = new File(args[0]);
         if (wsdlFile.exists()) {
-            wsdlURL = wsdlFile.toURL();
+            wsdlURL = wsdlFile.toURI().toURL();
         } else {
             wsdlURL = new URL(args[0]);
         }



Mime
View raw message