dims 2002/09/24 06:12:26
Modified: java/samples/userguide/example3 Client.java
java/docs user-guide.html
Log:
Fix for 12828 - userguide.example3.Client doesn't set a default URL
Revision Changes Path
1.12 +1 -1 xml-axis/java/samples/userguide/example3/Client.java
Index: Client.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/userguide/example3/Client.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Client.java 11 Jun 2002 14:53:50 -0000 1.11
+++ Client.java 24 Sep 2002 13:12:26 -0000 1.12
@@ -85,7 +85,7 @@
Call call = (Call) service.createCall();
call.setTargetEndpointAddress( new java.net.URL(endpointURL) );
- call.setOperationName( new QName("MyService", "serviceMethod") );
+ call.setOperationName( "serviceMethod" );
call.addParameter( "arg1", XMLType.XSD_STRING, ParameterMode.IN);
call.setReturnType( org.apache.axis.encoding.XMLType.XSD_STRING );
1.71 +1 -1 xml-axis/java/docs/user-guide.html
Index: user-guide.html
===================================================================
RCS file: /home/cvs/xml-axis/java/docs/user-guide.html,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- user-guide.html 13 Sep 2002 15:25:20 -0000 1.70
+++ user-guide.html 24 Sep 2002 13:12:26 -0000 1.71
@@ -410,7 +410,7 @@
<Admin>Done processing</Admin></pre>
This command has now made our service accessible via SOAP. Check it out
by running the Client class - it should look like this:
-<pre class="example">% java samples.userguide.example3.Client "test me!"
+<pre class="example">% java samples.userguide.example3.Client
-lhttp://localhost:8080/axis/services/MyService "test me!"
You typed : test me!
%</pre>
If you want to prove to yourself that the deployment really worked, try