axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r473739 - in /webservices/axis2/branches/java/1_1/modules/samples/pojoguide: README.txt src/sample/pojo/rpcclient/WeatherRPCClient.java
Date Sat, 11 Nov 2006 15:44:48 GMT
Author: sanka
Date: Sat Nov 11 07:44:48 2006
New Revision: 473739

URL: http://svn.apache.org/viewvc?view=rev&rev=473739
Log:
Removed specifying -Duri=http://.. argument


Modified:
    webservices/axis2/branches/java/1_1/modules/samples/pojoguide/README.txt
    webservices/axis2/branches/java/1_1/modules/samples/pojoguide/src/sample/pojo/rpcclient/WeatherRPCClient.java

Modified: webservices/axis2/branches/java/1_1/modules/samples/pojoguide/README.txt
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/pojoguide/README.txt?view=diff&rev=473739&r1=473738&r2=473739
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/pojoguide/README.txt (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/pojoguide/README.txt Sat Nov 11 07:44:48
2006
@@ -30,7 +30,7 @@
 Running the Client
 ==================
 
-Type $ant rpc.client -Duri=http://<your host>:<your port>/axis2/services/WeatherService
+Type $ant rpc.client
 
 
 Help

Modified: webservices/axis2/branches/java/1_1/modules/samples/pojoguide/src/sample/pojo/rpcclient/WeatherRPCClient.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/pojoguide/src/sample/pojo/rpcclient/WeatherRPCClient.java?view=diff&rev=473739&r1=473738&r2=473739
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/pojoguide/src/sample/pojo/rpcclient/WeatherRPCClient.java
(original)
+++ webservices/axis2/branches/java/1_1/modules/samples/pojoguide/src/sample/pojo/rpcclient/WeatherRPCClient.java
Sat Nov 11 07:44:48 2006
@@ -18,14 +18,8 @@
 
         Options options = serviceClient.getOptions();
 
-        EndpointReference targetEPR;
-        
-        if (args1 != null && args1.length != 0) {
-            targetEPR = new EndpointReference(args1[0]);
-        } else  {
-             targetEPR = new EndpointReference("http://localhost:8080/axis2/services/WeatherService");
-        }
-        
+        EndpointReference targetEPR = new EndpointReference("http://localhost:8080/axis2/services/WeatherService");
+
         options.setTo(targetEPR);
 
         // Setting the weather



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message