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

io.cloudsoft.winrm4j.client.WinRmService Maven / Gradle / Ivy

package io.cloudsoft.winrm4j.client;

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.4
 * 2016-03-27T16:17:23.365+01:00
 * Generated source version: 3.1.4
 * 
 */
@WebServiceClient(name = "WinRmService", 
                  wsdlLocation = "classpath:wsdl/WinRmService.wsdl",
                  targetNamespace = "http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd") 
public class WinRmService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", "WinRmService");
    public final static QName WinRmPort = new QName("http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd", "WinRmPort");
    static {
        URL url = WinRmService.class.getClassLoader().getResource("wsdl/WinRmService.wsdl");
        if (url == null) {
            java.util.logging.Logger.getLogger(WinRmService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "classpath:wsdl/WinRmService.wsdl");
        }       
        WSDL_LOCATION = url;   
    }

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

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

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

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

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




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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy