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

com.sforce.soap.tooling.ToolingService Maven / Gradle / Ivy

The newest version!
package com.sforce.soap.tooling;

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-01-21T03:05:30.039+06:00
 * Generated source version: 3.1.4
 * 
 */
@WebServiceClient(name = "ToolingService", 
                  wsdlLocation = "classpath:tooling.wsdl",
                  targetNamespace = "urn:tooling.soap.sforce.com") 
public class ToolingService extends Service {

    public final static URL WSDL_LOCATION;

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

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

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

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

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

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




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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy