java.lang.Object
samples.jaxrpc.GetQuote1
- public class GetQuote1
- extends java.lang.Object
This version of the ever so popular GetQuote is a near-duplicate of
the GetQuote1 method in samples/stock which shows how to use the AXIS
client APIs with and without WSDL. This version is strictly JAX-RPC
compliant. It uses no AXIS enhancements.
This sample supports the use of the standard options too (-p ...)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
symbol
public java.lang.String symbol
GetQuote1
public GetQuote1()
getQuote1
public float getQuote1(java.lang.String[] args)
throws java.lang.Exception
- This will use the WSDL to prefill all of the info needed to make
the call. All that's left is filling in the args to invoke().
getQuote2
public float getQuote2(java.lang.String[] args)
throws java.lang.Exception
- This will do everything manually (ie. no WSDL).
getQuote3
public float getQuote3(java.lang.String[] args)
throws java.lang.Exception
- This method does the same thing that getQuote1 does, but in
addition it reuses the Call object to make another call.
main
public static void main(java.lang.String[] args)
throws java.lang.Exception