You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ru...@apache.org on 2001/04/27 03:10:22 UTC
cvs commit: xml-axis/java/samples/stock GetInfo.java GetQuote.java
rubys 01/04/26 18:10:22
Modified: java/samples/stock GetInfo.java GetQuote.java
Log:
Get sample to compile cleanly again
Revision Changes Path
1.5 +3 -2 xml-axis/java/samples/stock/GetInfo.java
Index: GetInfo.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/GetInfo.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- GetInfo.java 2001/02/17 16:44:01 1.4
+++ GetInfo.java 2001/04/27 01:10:19 1.5
@@ -90,8 +90,9 @@
call.setUserID( opts.getUser() );
call.setPassword( opts.getPassword() );
- String res = (String) call.invoke( "getInfo",
- new Object[] { args[0], args[1] } );
+ String res = (String) call.invoke(
+ "http://schemas.xmlsoap.org/soap/envelope/", "getInfo",
+ new Object[] { args[0], args[1] } );
System.out.println( symbol + ": " + res );
}
1.12 +3 -1 xml-axis/java/samples/stock/GetQuote.java
Index: GetQuote.java
===================================================================
RCS file: /home/cvs/xml-axis/java/samples/stock/GetQuote.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- GetQuote.java 2001/02/17 16:44:01 1.11
+++ GetQuote.java 2001/04/27 01:10:19 1.12
@@ -90,7 +90,9 @@
if ( opts.isFlagSet('t') > 0 ) call.doLocal = true ;
call.setUserID( opts.getUser() );
call.setPassword( opts.getPassword() );
- String res = (String) call.invoke( "getQuote", new Object[] {symbol} );
+ String res = (String) call.invoke(
+ "http://schemas.xmlsoap.org/soap/envelope/", "getQuote",
+ new Object[] {symbol} );
System.out.println( symbol + ": " + res );
}