
package org.netbeans.j2ee.wsdl.travelwsdl;

import java.net.MalformedURLException;
import java.net.URL;
import java.util.logging.Logger;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.3.3-hudson-757-SNAPSHOT
 * Generated source version: 2.1
 * 
 */
@WebServiceClient(name = "travelWSDLService", targetNamespace = "http://j2ee.netbeans.org/wsdl/travelWSDL", wsdlLocation = "file:/E:/DesktopFulvio/Desktop/CorsiDamiani/SOASecurity/Laboratorio/TravelServiceBPEL/src/travelWSDL.wsdl")
public class TravelWSDLService
    extends Service
{

    private final static URL TRAVELWSDLSERVICE_WSDL_LOCATION;
    private final static Logger logger = Logger.getLogger(org.netbeans.j2ee.wsdl.travelwsdl.TravelWSDLService.class.getName());

    static {
        URL url = null;
        try {
            URL baseUrl;
            baseUrl = org.netbeans.j2ee.wsdl.travelwsdl.TravelWSDLService.class.getResource(".");
            url = new URL(baseUrl, "file:/E:/DesktopFulvio/Desktop/CorsiDamiani/SOASecurity/Laboratorio/TravelServiceBPEL/src/travelWSDL.wsdl");
        } catch (MalformedURLException e) {
            logger.warning("Failed to create URL for the wsdl Location: 'file:/E:/DesktopFulvio/Desktop/CorsiDamiani/SOASecurity/Laboratorio/TravelServiceBPEL/src/travelWSDL.wsdl', retrying as a local file");
            logger.warning(e.getMessage());
        }
        TRAVELWSDLSERVICE_WSDL_LOCATION = url;
    }

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

    public TravelWSDLService() {
        super(TRAVELWSDLSERVICE_WSDL_LOCATION, new QName("http://j2ee.netbeans.org/wsdl/travelWSDL", "travelWSDLService"));
    }

    /**
     * 
     * @return
     *     returns TravelWSDLPortType
     */
    @WebEndpoint(name = "travelWSDLPort")
    public TravelWSDLPortType getTravelWSDLPort() {
        return super.getPort(new QName("http://j2ee.netbeans.org/wsdl/travelWSDL", "travelWSDLPort"), TravelWSDLPortType.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 TravelWSDLPortType
     */
    @WebEndpoint(name = "travelWSDLPort")
    public TravelWSDLPortType getTravelWSDLPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://j2ee.netbeans.org/wsdl/travelWSDL", "travelWSDLPort"), TravelWSDLPortType.class, features);
    }

}
