//Generated by wsdl2apex

public class exampleComStockquoteWsdl {
    public class StockQuotePort {
        public String endpoint_x = 'http://example.com/stockquote';
        public Map<String,String> inputHttpHeaders_x;
        public Map<String,String> outputHttpHeaders_x;
        public String clientCertName_x;
        public String clientCert_x;
        public String clientCertPasswd_x;
        public Integer timeout_x;
        private String[] ns_map_type_info = new String[]{'http://example.com/stockquote.wsdl', 'exampleComStockquoteWsdl', 'http://example.com/stockquote.xsd', 'exampleComStockquoteXsd'};
        public Double GetLastTradePrice(String tickerSymbol) {
            exampleComStockquoteXsd.TradePriceRequest_element request_x = new exampleComStockquoteXsd.TradePriceRequest_element();
            request_x.tickerSymbol = tickerSymbol;
            exampleComStockquoteXsd.TradePrice_element response_x;
            Map<String, exampleComStockquoteXsd.TradePrice_element> response_map_x = new Map<String, exampleComStockquoteXsd.TradePrice_element>();
            response_map_x.put('response_x', response_x);
            WebServiceCallout.invoke(
              this,
              request_x,
              response_map_x,
              new String[]{endpoint_x,
              'http://example.com/GetLastTradePrice',
              'http://example.com/stockquote.xsd',
              'TradePriceRequest',
              'http://example.com/stockquote.xsd',
              'TradePrice',
              'exampleComStockquoteXsd.TradePrice_element'}
            );
            response_x = response_map_x.get('response_x');
            return response_x.price;
        }
    }
}