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

com.vmware.vim25.VimService Maven / Gradle / Ivy

There is a newer version: 0.6.60
Show newest version
package com.vmware.vim25;

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 3.1.6
 * 2017-05-25T13:48:07.611+05:30
 * Generated source version: 3.1.6
 * 
 */
@WebServiceClient(name = "VimService", 
                  wsdlLocation = "classpath:com/vmware/wsdl/vimService.wsdl",
                  targetNamespace = "urn:vim25Service") 
public class VimService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("urn:vim25Service", "VimService");
    public final static QName VimPort = new QName("urn:vim25Service", "VimPort");
    static {
        URL url = VimService.class.getClassLoader().getResource("com/vmware/wsdl/vimService.wsdl");
        if (url == null) {
            java.util.logging.Logger.getLogger(VimService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "classpath:com/vmware/wsdl/vimService.wsdl");
        }       
        WSDL_LOCATION = url;   
    }

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

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

    public VimService() {
        super(WSDL_LOCATION, SERVICE);
    }
    
    public VimService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    public VimService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

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




    /**
     *
     * @return
     *     returns VimPortType
     */
    @WebEndpoint(name = "VimPort")
    public VimPortType getVimPort() {
        return super.getPort(VimPort, VimPortType.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 VimPortType
     */
    @WebEndpoint(name = "VimPort")
    public VimPortType getVimPort(WebServiceFeature... features) {
        return super.getPort(VimPort, VimPortType.class, features);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy