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

com.sforce.soap.partner.PartnerService Maven / Gradle / Ivy

package com.sforce.soap.partner;

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;

/**
 * Sforce SOAP API
 *
 * This class was generated by Apache CXF 3.1.4
 * 2016-01-27T08:42:34.671+06:00
 * Generated source version: 3.1.4
 * 
 */
@WebServiceClient(name = "PartnerService", 
                  wsdlLocation = "classpath:partner.wsdl",
                  targetNamespace = "urn:partner.soap.sforce.com") 
public class PartnerService extends Service {

    public final static URL WSDL_LOCATION;

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

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

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

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

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

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




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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy