Package com.sforce.soap.partner

Examples of com.sforce.soap.partner.CallOptions_element


        }

        config.setRequestHeader("User-Agent", API_USER_AGENT);
        this.connection = Connector.newConnection(config);

        CallOptions_element co = new CallOptions_element();
       
        // Give the connection a client id if we have one
        if (this.clientId != null) {
            co.setClient(this.clientId);
        } else if (this.externalClientId != null) {
            // Check for any external client id we might
            // have come across (see getConfig)
            co.setClient(this.externalClientId);
        } else {
            co.setClient(API_USER_AGENT); //just default it to the version of the sdk
        }

        this.connection.__setCallOptions(co);
    }
View Full Code Here

TOP

Related Classes of com.sforce.soap.partner.CallOptions_element

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.