null,
null,
"http://www.themindelectric.com/wsdl/net.xmethods.services.stockquote.StockQuote/",
"net.xmethods.services.stockquote.StockQuotePortType");
// create the stub
NetXmethodsServicesStockquoteStockQuotePortType stub =
(NetXmethodsServicesStockquoteStockQuotePortType) service.getStub(
NetXmethodsServicesStockquoteStockQuotePortType.class);
// do the invocation
// args[1] is the company symbol
float quote = stub.getQuote(args[1]);
System.out.println(quote);
} catch (WSIFException we) {
System.out.println(
"Error while executing sample, received an exception from WSIF; details:");