Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

samples.jaxrpc
Class GetQuote1  view GetQuote1 download GetQuote1.java

java.lang.Object
  extended bysamples.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 ...)


Field Summary
 java.lang.String symbol
           
 
Constructor Summary
GetQuote1()
           
 
Method Summary
 float getQuote1(java.lang.String[] args)
          This will use the WSDL to prefill all of the info needed to make the call.
 float getQuote2(java.lang.String[] args)
          This will do everything manually (ie.
 float getQuote3(java.lang.String[] args)
          This method does the same thing that getQuote1 does, but in addition it reuses the Call object to make another call.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

symbol

public java.lang.String symbol
Constructor Detail

GetQuote1

public GetQuote1()
Method Detail

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