use of com.salesforce.soap.partner.SessionHeader in project tdi-studio-se by Talend.
the class SforceOAuthConnection method init.
private void init() throws Exception {
if (clientID != null) {
co = new CallOptions();
co.setClient(clientID);
}
stub = new SforceServiceStub();
SforceManagementUtil.needCompression(stub, needCompression);
SforceManagementUtil.setTimeout(stub, timeout);
SforceManagementUtil.useHttpChunked(stub, useHttpChunked);
// SforceManagementUtil.setHttpProxy(stub);//don't support proxy for OAuth
sh = new SessionHeader();
renewSession();
}
Aggregations