All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.glookast.api.templates.TemplatesService Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version

package com.glookast.api.templates;

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.10
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "TemplatesService", targetNamespace = "http://templates.api.glookast.com", wsdlLocation = "/com/glookast/api/templates/templates.wsdl")
public class TemplatesService
    extends Service
{

    private final static URL TEMPLATESSERVICE_WSDL_LOCATION;
    private final static WebServiceException TEMPLATESSERVICE_EXCEPTION;
    private final static QName TEMPLATESSERVICE_QNAME = new QName("http://templates.api.glookast.com", "TemplatesService");

    static {
        TEMPLATESSERVICE_WSDL_LOCATION = com.glookast.api.templates.TemplatesService.class.getResource("/com/glookast/api/templates/templates.wsdl");
        WebServiceException e = null;
        if (TEMPLATESSERVICE_WSDL_LOCATION == null) {
            e = new WebServiceException("Cannot find '/com/glookast/api/templates/templates.wsdl' wsdl. Place the resource correctly in the classpath.");
        }
        TEMPLATESSERVICE_EXCEPTION = e;
    }

    public TemplatesService() {
        super(__getWsdlLocation(), TEMPLATESSERVICE_QNAME);
    }

    public TemplatesService(WebServiceFeature... features) {
        super(__getWsdlLocation(), TEMPLATESSERVICE_QNAME, features);
    }

    public TemplatesService(URL wsdlLocation) {
        super(wsdlLocation, TEMPLATESSERVICE_QNAME);
    }

    public TemplatesService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, TEMPLATESSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns TemplatesPort
     */
    @WebEndpoint(name = "TemplatesPort")
    public TemplatesPort getTemplatesPort() {
        return super.getPort(new QName("http://templates.api.glookast.com", "TemplatesPort"), TemplatesPort.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns TemplatesPort
     */
    @WebEndpoint(name = "TemplatesPort")
    public TemplatesPort getTemplatesPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://templates.api.glookast.com", "TemplatesPort"), TemplatesPort.class, features);
    }

    private static URL __getWsdlLocation() {
        if (TEMPLATESSERVICE_EXCEPTION!= null) {
            throw TEMPLATESSERVICE_EXCEPTION;
        }
        return TEMPLATESSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy