Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Exception in component tSalesforceBulkExec

I am following the example on page 135 of the Talend Open Studio Reference Guide 4.1a titled "Scenario: Inserting transformed bulk data into your Salesforce.com".
The first screenshot is of the example from the Reference Guide and the second screenshot is the job that I am building.
When I run the job, I get the following error. I am very new to Talend and would appreciate any help to help me figure out what this problem could be. I am running TOS 4.03r47759 on WINDOWS 7 Premium.
Thanks!
Exception in component tSalesforceBulkExec_1
com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgHasPersonAccounts'
at com.sforce.ws.bind.TypeMapper.verifyTag(TypeMapper.java:379)
at com.sforce.ws.bind.TypeMapper.verifyElement(TypeMapper.java:408)
at com.sforce.soap.partner.GetUserInfoResult.loadFields(GetUserInfoResult.java:1)
at com.sforce.soap.partner.GetUserInfoResult.load(GetUserInfoResult.java:1)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:619)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:495)
at com.sforce.soap.partner.LoginResult.loadFields(LoginResult.java:1)
at com.sforce.soap.partner.LoginResult.load(LoginResult.java:1)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:619)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:495)
at com.sforce.soap.partner.LoginResponse_element.loadFields(LoginResponse_element.java:1)
at com.sforce.soap.partner.LoginResponse_element.load(LoginResponse_element.java:1)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:619)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:495)
at com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:154)
at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:128)
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:103)
at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:1)
at com.sforce.soap.partner.PartnerConnection.<init>(PartnerConnection.java:1)
at org.talend.salesforceBulk.SalesforceBulkAPI.getRestConnection(SalesforceBulkAPI.java:155)
at org.talend.salesforceBulk.SalesforceBulkAPI.login(SalesforceBulkAPI.java:89)
at trefis.trefis_mysql_to_sfdc_sandbox_bulk_3_0_4.trefis_mysql_to_sfdc_sandbox_bulk_3.tSalesforceBulkExec_1Process(trefis_mysql_to_sfdc_sandbox_bulk_3.java:5951)
Labels (6)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Looks like I was using an old API url. I was using version 16 instead of 20. So I changed "https://test.salesforce.com/services/Soap/u/16.0" to "https://test.salesforce.com/services/Soap/u/20.0"

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Looks like I was using an old API url. I was using version 16 instead of 20. So I changed "https://test.salesforce.com/services/Soap/u/16.0" to "https://test.salesforce.com/services/Soap/u/20.0"