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

travel.wink.ws.allotz.ChannelLinkService Maven / Gradle / Ivy


package travel.wink.ws.allotz;

import java.net.URL;
import javax.xml.namespace.QName;
import jakarta.xml.ws.Service;
import jakarta.xml.ws.WebEndpoint;
import jakarta.xml.ws.WebServiceClient;
import jakarta.xml.ws.WebServiceException;
import jakarta.xml.ws.WebServiceFeature;


/**
 * This class was generated by the XML-WS Tools.
 * XML-WS Tools 4.0.1
 * Generated source version: 3.0
 * 
 */
@WebServiceClient(name = "ChannelLinkService", targetNamespace = "http://channellink.example.com/soap/v1", wsdlLocation = "classpath:wsdl/channellink.wsdl")
public class ChannelLinkService
    extends Service
{

    private static final URL CHANNELLINKSERVICE_WSDL_LOCATION;
    private static final WebServiceException CHANNELLINKSERVICE_EXCEPTION;
    private static final QName CHANNELLINKSERVICE_QNAME = new QName("http://channellink.example.com/soap/v1", "ChannelLinkService");

    static {
        CHANNELLINKSERVICE_WSDL_LOCATION = travel.wink.ws.allotz.ChannelLinkService.class.getResource("classpath:wsdl/channellink.wsdl");
        WebServiceException e = null;
        if (CHANNELLINKSERVICE_WSDL_LOCATION == null) {
            e = new WebServiceException("Cannot find 'classpath:wsdl/channellink.wsdl' wsdl. Place the resource correctly in the classpath.");
        }
        CHANNELLINKSERVICE_EXCEPTION = e;
    }

    public ChannelLinkService() {
        super(__getWsdlLocation(), CHANNELLINKSERVICE_QNAME);
    }

    public ChannelLinkService(WebServiceFeature... features) {
        super(__getWsdlLocation(), CHANNELLINKSERVICE_QNAME, features);
    }

    public ChannelLinkService(URL wsdlLocation) {
        super(wsdlLocation, CHANNELLINKSERVICE_QNAME);
    }

    public ChannelLinkService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, CHANNELLINKSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns ChannelLinkServicePort
     */
    @WebEndpoint(name = "ChannelLinkServicePort")
    public ChannelLinkServicePort getChannelLinkServicePort() {
        return super.getPort(new QName("http://channellink.example.com/soap/v1", "ChannelLinkServicePort"), ChannelLinkServicePort.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns ChannelLinkServicePort
     */
    @WebEndpoint(name = "ChannelLinkServicePort")
    public ChannelLinkServicePort getChannelLinkServicePort(WebServiceFeature... features) {
        return super.getPort(new QName("http://channellink.example.com/soap/v1", "ChannelLinkServicePort"), ChannelLinkServicePort.class, features);
    }

    private static URL __getWsdlLocation() {
        if (CHANNELLINKSERVICE_EXCEPTION!= null) {
            throw CHANNELLINKSERVICE_EXCEPTION;
        }
        return CHANNELLINKSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy