package org.openuri;

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 javax.xml.ws.Service;

/**
 * This class was generated by Apache CXF 2.4.6
 * 2014-02-04T14:07:33.397+01:00
 * Generated source version: 2.4.6
 * 
 */
@WebServiceClient(name = "Sincron", 
                  wsdlLocation = "file:/C:/TREBALL/eclipse_work/prjSIRISwatClientMTOM/src/main/resources/wsdl/Sincron.wsdl",
                  targetNamespace = "http://www.openuri.org/") 
public class Sincron extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://www.openuri.org/", "Sincron");
    public final static QName SincronSOAP11PortHttp = new QName("http://www.openuri.org/", "SincronSOAP11port_http");
    public final static QName SincronSOAP12PortHttp = new QName("http://www.openuri.org/", "SincronSOAP12port_http");
    static {
        URL url = null;
        try {
            url = new URL("file:/C:/TREBALL/eclipse_work/prjSIRISwatClientMTOM/src/main/resources/wsdl/Sincron.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(Sincron.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:/C:/TREBALL/eclipse_work/prjSIRISwatClientMTOM/src/main/resources/wsdl/Sincron.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

    public Sincron() {
        super(WSDL_LOCATION, SERVICE);
    }
    

    /**
     *
     * @return
     *     returns SincronPortType
     */
    @WebEndpoint(name = "SincronSOAP11port_http")
    public SincronPortType getSincronSOAP11PortHttp() {
        return super.getPort(SincronSOAP11PortHttp, SincronPortType.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 SincronPortType
     */
    @WebEndpoint(name = "SincronSOAP11port_http")
    public SincronPortType getSincronSOAP11PortHttp(WebServiceFeature... features) {
        return super.getPort(SincronSOAP11PortHttp, SincronPortType.class, features);
    }
    /**
     *
     * @return
     *     returns SincronPortType
     */
    @WebEndpoint(name = "SincronSOAP12port_http")
    public SincronPortType getSincronSOAP12PortHttp() {
        return super.getPort(SincronSOAP12PortHttp, SincronPortType.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 SincronPortType
     */
    @WebEndpoint(name = "SincronSOAP12port_http")
    public SincronPortType getSincronSOAP12PortHttp(WebServiceFeature... features) {
        return super.getPort(SincronSOAP12PortHttp, SincronPortType.class, features);
    }

}
