
package com.bcxin.ins.third.zzx.yongan.vo;

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.WebServiceException;
import javax.xml.ws.WebServiceFeature;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.9-b130926.1035
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "AppServiceService", targetNamespace = "http://service.webservice.yaic.com/", wsdlLocation = "http://tapi.yaic.com.cn/yaicservice/api/appservice?wsdl")
public class AppServiceService
    extends Service
{

    private final static URL APPSERVICESERVICE_WSDL_LOCATION;
    private final static WebServiceException APPSERVICESERVICE_EXCEPTION;
    private final static QName APPSERVICESERVICE_QNAME = new QName("http://service.webservice.yaic.com/", "AppServiceService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://tapi.yaic.com.cn/yaicservice/api/appservice?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        APPSERVICESERVICE_WSDL_LOCATION = url;
        APPSERVICESERVICE_EXCEPTION = e;
    }

    public AppServiceService() {
        super(__getWsdlLocation(), APPSERVICESERVICE_QNAME);
    }

    public AppServiceService(WebServiceFeature... features) {
        super(__getWsdlLocation(), APPSERVICESERVICE_QNAME, features);
    }

    public AppServiceService(URL wsdlLocation) {
        super(wsdlLocation, APPSERVICESERVICE_QNAME);
    }

    public AppServiceService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, APPSERVICESERVICE_QNAME, features);
    }

    public AppServiceService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public AppServiceService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     * 
     * @return
     *     returns AppService
     */
    @WebEndpoint(name = "AppServicePort")
    public AppService getAppServicePort() {
        return super.getPort(new QName("http://service.webservice.yaic.com/", "AppServicePort"), AppService.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns AppService
     */
    @WebEndpoint(name = "AppServicePort")
    public AppService getAppServicePort(WebServiceFeature... features) {
        return super.getPort(new QName("http://service.webservice.yaic.com/", "AppServicePort"), AppService.class, features);
    }

    private static URL __getWsdlLocation() {
        if (APPSERVICESERVICE_EXCEPTION!= null) {
            throw APPSERVICESERVICE_EXCEPTION;
        }
        return APPSERVICESERVICE_WSDL_LOCATION;
    }

}
