package com.example; @WebService public interface StockQuoteProvider { float getPrice (String tickerSymbol) throws TickerException; } // Example adjusted from JAX-WS 2.2 Specification.