java.lang.Object
samples.stock.GetQuote1
- public class GetQuote1
- extends java.lang.Object
This version of the ever so popular GetQuote shows how to use the
Axis client APIs with and without WSDL. The first flavor (getQuote1)
will use WSDL to prefill all of the data about the remote service.
The second one (getQuote2) will do it all manually. Either way the
service is invoked it should produce the exact same request XML and
of course same results.
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 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().
main
public static void main(java.lang.String[] args)