⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 taxservice.java

📁 SUN的JAVA EE5源代码java_ee_sdk-5_03-preview-samples
💻 JAVA
字号:
package webservices.ssl_jaxws;import java.net.MalformedURLException;import java.net.URL;import javax.xml.namespace.QName;import javax.xml.ws.Service;import javax.xml.ws.WebEndpoint;import javax.xml.ws.WebServiceClient;import javax.xml.ws.WebServiceFeature;/** * This class was generated by the JAXWS SI. * JAX-WS RI 2.1-hudson-1770-RC2 * Generated source version: 2.1 *  */@WebServiceClient(name = "TaxService", targetNamespace = "http://webservices/ssl_jaxws", wsdlLocation = "http://localhost:8080/ssl-jaxws-war/TaxService?wsdl")public class TaxService    extends Service{    private final static URL TAXSERVICE_WSDL_LOCATION;    static {        URL url = null;        try {            url = new URL("http://localhost:8080/ssl-jaxws-war/TaxService?wsdl");        } catch (MalformedURLException e) {            e.printStackTrace();        }        TAXSERVICE_WSDL_LOCATION = url;    }    public TaxService(URL wsdlLocation, QName serviceName) {        super(wsdlLocation, serviceName);    }    public TaxService() {        super(TAXSERVICE_WSDL_LOCATION, new QName("http://webservices/ssl_jaxws", "TaxService"));    }    /**     *      * @return     *     returns Tax     */    @WebEndpoint(name = "TaxPort")    public Tax getTaxPort() {        return (Tax)super.getPort(new QName("http://webservices/ssl_jaxws", "TaxPort"), Tax.class);    }    /**     *      * @param features     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.     * @return     *     returns Tax     */    @WebEndpoint(name = "TaxPort")    public Tax getTaxPort(WebServiceFeature... features) {        return (Tax)super.getPort(new QName("http://webservices/ssl_jaxws", "TaxPort"), Tax.class, features);    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -