Examples of CallOptions_element


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

Examples of com.sforce.soap.partner.wsc.CallOptions_element

                for (String key : keys) {
                    strBuff.append("\n ").append(key).append("='").append(headers.get(key)).append("'");
                }
            }

            CallOptions_element callOptions = partnerConnection.getCallOptions();
            if (callOptions != null) {
                strBuff.append("\n clientId='" + callOptions.getClient() + "'")
                        .append("\n clientLog='" + callOptions.getClientLog() + "'")
                        .append("\n defaultNamespace='" + callOptions.getDefaultNamespace() + "'")
                        .append("\n remoteApplication='" + callOptions.getRemoteApplication() + "'");
            } else {
                strBuff.append("\n call options = n/a");
            }

            logger.debug(strBuff.toString());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.