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

com.ean.wsapi.hotel.v3.HotelServicesImplService Maven / Gradle / Ivy


package com.ean.wsapi.hotel.v3;

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.8
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "HotelServicesImplService", targetNamespace = "http://v3.hotel.wsapi.ean.com/", wsdlLocation = "file:/Developer/Projects/ean-api/target/checkout/src/wsdl/ean-services-v3.wsdl")
public class HotelServicesImplService
    extends Service
{

    private final static URL HOTELSERVICESIMPLSERVICE_WSDL_LOCATION;
    private final static WebServiceException HOTELSERVICESIMPLSERVICE_EXCEPTION;
    private final static QName HOTELSERVICESIMPLSERVICE_QNAME = new QName("http://v3.hotel.wsapi.ean.com/", "HotelServicesImplService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("file:/Developer/Projects/ean-api/target/checkout/src/wsdl/ean-services-v3.wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        HOTELSERVICESIMPLSERVICE_WSDL_LOCATION = url;
        HOTELSERVICESIMPLSERVICE_EXCEPTION = e;
    }

    public HotelServicesImplService() {
        super(__getWsdlLocation(), HOTELSERVICESIMPLSERVICE_QNAME);
    }

    public HotelServicesImplService(WebServiceFeature... features) {
        super(__getWsdlLocation(), HOTELSERVICESIMPLSERVICE_QNAME, features);
    }

    public HotelServicesImplService(URL wsdlLocation) {
        super(wsdlLocation, HOTELSERVICESIMPLSERVICE_QNAME);
    }

    public HotelServicesImplService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, HOTELSERVICESIMPLSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns HotelServices
     */
    @WebEndpoint(name = "HotelServicesImplPort")
    public HotelServices getHotelServicesImplPort() {
        return super.getPort(new QName("http://v3.hotel.wsapi.ean.com/", "HotelServicesImplPort"), HotelServices.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 HotelServices
     */
    @WebEndpoint(name = "HotelServicesImplPort")
    public HotelServices getHotelServicesImplPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://v3.hotel.wsapi.ean.com/", "HotelServicesImplPort"), HotelServices.class, features);
    }

    private static URL __getWsdlLocation() {
        if (HOTELSERVICESIMPLSERVICE_EXCEPTION!= null) {
            throw HOTELSERVICESIMPLSERVICE_EXCEPTION;
        }
        return HOTELSERVICESIMPLSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy