
/*
 * 
 */

package gov.ojp.it.gra.awie.wq._1_0_0.ws;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import gov.ojp.it.gra.awie.wq._1_0_0.rsi.ws.AWIEWQRepositorySystemPortType;
import javax.xml.ws.Service;

/**
 * This class was generated by Apache CXF 2.3.4
 * 2012-01-28T11:53:37.281-05:00
 * Generated source version: 2.3.4
 * 
 */


@WebServiceClient(name = "AWIE-WQRepositorySystemService", 
                  wsdlLocation = "file:AWIE-WQServiceCore.wsdl",
                  targetNamespace = "http://it.ojp.gov/GRA/AWIE/WQ/1.0.0/ws") 
public class AWIEWQRepositorySystemService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://it.ojp.gov/GRA/AWIE/WQ/1.0.0/ws", "AWIE-WQRepositorySystemService");
    public final static QName AWIEWQRepositorySystemPort = new QName("http://it.ojp.gov/GRA/AWIE/WQ/1.0.0/ws", "AWIE-WQRepositorySystemPort");
    static {
        URL url = null;
        try {
            url = new URL("file:AWIE-WQServiceCore.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(AWIEWQRepositorySystemService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:AWIE-WQServiceCore.wsdl");
        }
        WSDL_LOCATION = url;
    }

    public AWIEWQRepositorySystemService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

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

    public AWIEWQRepositorySystemService() {
        super(WSDL_LOCATION, SERVICE);
    }
    
    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public AWIEWQRepositorySystemService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public AWIEWQRepositorySystemService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public AWIEWQRepositorySystemService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     * 
     * @return
     *     returns AWIEWQRepositorySystemPortType
     */
    @WebEndpoint(name = "AWIE-WQRepositorySystemPort")
    public AWIEWQRepositorySystemPortType getAWIEWQRepositorySystemPort() {
        return super.getPort(AWIEWQRepositorySystemPort, AWIEWQRepositorySystemPortType.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 AWIEWQRepositorySystemPortType
     */
    @WebEndpoint(name = "AWIE-WQRepositorySystemPort")
    public AWIEWQRepositorySystemPortType getAWIEWQRepositorySystemPort(WebServiceFeature... features) {
        return super.getPort(AWIEWQRepositorySystemPort, AWIEWQRepositorySystemPortType.class, features);
    }

}
