public static void main(String args[]) throws Exception {
FileReader reader = new FileReader();
reader.setDaemon(true);
reader.start();
Options opts = new Options( args );
args = opts.getRemainingArgs();
if ( args == null ) {
System.err.println( "Usage: GetQuote <symbol>" );
System.exit(1);
}
String symbol = args[0] ;
ServiceClient call = new ServiceClient();
ServiceDescription sd = new ServiceDescription("stockQuotes", true);
sd.addOutputParam("return", SOAPTypeMappingRegistry.XSD_FLOAT);
call.setServiceDescription(sd);
call.set(Transport.USER, opts.getUser() );
call.set(Transport.PASSWORD, opts.getPassword() );
call.setTransport( new FileTransport() );
call.setTimeout(10000);
Float res = new Float(0.0F);
res = (Float) call.invoke( "urn:xmltoday-delayed-quotes",