commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r240059 - /jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/JaxRpcProvider.java
Date Thu, 25 Aug 2005 12:27:53 GMT
Author: jcarman
Date: Thu Aug 25 05:27:51 2005
New Revision: 240059

URL: http://svn.apache.org/viewcvs?rev=240059&view=rev
Log:
Changed property name from url to wsdlUrl to be more specific.

Modified:
    jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/JaxRpcProvider.java

Modified: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/JaxRpcProvider.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/JaxRpcProvider.java?rev=240059&r1=240058&r2=240059&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/JaxRpcProvider.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/provider/JaxRpcProvider.java
Thu Aug 25 05:27:51 2005
@@ -33,7 +33,7 @@
 public class JaxRpcProvider<T> extends AbstractObjectProvider<T>
 {
     private final Class<? extends T> serviceInterface;
-    private String url;
+    private String wsdlUrl;
     private String serviceNamespaceUri;
     private String serviceLocalPart;
     private String servicePrefix;
@@ -50,7 +50,7 @@
     {
         try
         {
-            final Service service = ( url == null ? ServiceFactory.newInstance().createService(
getServiceQName() ) : ServiceFactory.newInstance().createService( new URL( url ), getServiceQName()
) );
+            final Service service = ( wsdlUrl == null ? ServiceFactory.newInstance().createService(
getServiceQName() ) : ServiceFactory.newInstance().createService( new URL( wsdlUrl ), getServiceQName()
) );
             final QName portQName = getPortQName();
             return serviceInterface.cast( portQName == null ? service.getPort( serviceInterface
) : service.getPort( portQName, serviceInterface ) );
         }
@@ -121,8 +121,8 @@
         this.servicePrefix = servicePrefix;
     }
 
-    public void setUrl( String url )
+    public void setWsdlUrl( String wsdlUrl )
     {
-        this.url = url;
+        this.wsdlUrl = wsdlUrl;
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message