<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: tSalesforceInput return null message when Invalid Login in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-return-null-message-when-Invalid-Login/m-p/2318603#M88933</link>
    <description>Found an interim solution to overcome this problem by modifying tSalesforceInput_begin.javajet and tSalesforceOutput_begin.javajet.
&lt;BR /&gt;C:\TOS-Win32-r21383-V3.0.3\plugins\org.talend.designer.components.localprovider_3.0.3.r21383\components\tSalesforceInput\tSalesforceInput_begin.javajet: -
&lt;BR /&gt; try {
&lt;BR /&gt; sforceManagement_&amp;lt;%=cid %&amp;gt;.login(&amp;lt;%=username %&amp;gt;, &amp;lt;%=password %&amp;gt;, &amp;lt;%=endpoint %&amp;gt;);
&lt;BR /&gt; } catch(com.sforce.soap.partner.fault.LoginFault ex2){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex2.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; }
&lt;BR /&gt; ................
&lt;BR /&gt; java.util.List&amp;lt;com.sforce.soap.partner.sobject.SObject&amp;gt; list_&amp;lt;%=cid %&amp;gt;=null;
&lt;BR /&gt; try {
&lt;BR /&gt; 
&lt;BR /&gt; list_&amp;lt;%=cid %&amp;gt; = sforceManagement_&amp;lt;%=cid %&amp;gt;.query(sb_&amp;lt;%=cid %&amp;gt;.toString());
&lt;BR /&gt; 
&lt;BR /&gt; } catch(com.sforce.soap.partner.fault.InvalidSObjectFault ex1){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex1.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } catch(com.sforce.soap.partner.fault.MalformedQueryFault ex2){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex2.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } catch(com.sforce.soap.partner.fault.InvalidFieldFault ex3){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex3.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } catch (com.sforce.soap.partner.fault.UnexpectedErrorFault ex4){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex4.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } catch (java.rmi.RemoteException ex5) {
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex5.getMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } 
&lt;BR /&gt;C:\TOS-Win32-r21383-V3.0.3\plugins\org.talend.designer.components.localprovider_3.0.3.r21383\components\tSalesforceOutput\tSalesforceOutput_begin.javajet: -
&lt;BR /&gt; //sforceManagement_&amp;lt;%=cid %&amp;gt;.login(&amp;lt;%=username %&amp;gt;, &amp;lt;%=password %&amp;gt;, &amp;lt;%=endpoint %&amp;gt;, &amp;lt;%=commitLevel%&amp;gt;, &amp;lt;%=ceaseForError %&amp;gt;, &amp;lt;%=logFile %&amp;gt;);
&lt;BR /&gt; try{
&lt;BR /&gt; sforceManagement_&amp;lt;%=cid %&amp;gt;.login(&amp;lt;%=username %&amp;gt;, &amp;lt;%=password %&amp;gt;, &amp;lt;%=endpoint %&amp;gt;, &amp;lt;%=commitLevel%&amp;gt;, &amp;lt;%=ceaseForError %&amp;gt;, &amp;lt;%=logFile %&amp;gt;);
&lt;BR /&gt; }catch(com.sforce.soap.partner.fault.LoginFault ex2){
&lt;BR /&gt; Exception e = new Exception(ex2.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; }
&lt;BR /&gt;Let me know if this is not the correct way.
&lt;BR /&gt;Cheers</description>
    <pubDate>Wed, 25 Mar 2009 10:36:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-03-25T10:36:10Z</dc:date>
    <item>
      <title>tSalesforceInput return null message when Invalid Login</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-return-null-message-when-Invalid-Login/m-p/2318602#M88932</link>
      <description>I can't get the tSalesforceInput error message pop-up in Message box and log into Job "logs_file.txt" when Salesforce login details is invalid. I can see the following error when I RUN from TOS: -&lt;BR /&gt;Exception in component tSalesforceInput_5&lt;BR /&gt;AxisFault&lt;BR /&gt; faultCode: {urn:fault.partner.soap.sforce.com}INVALID_LOGIN&lt;BR /&gt; faultSubcode: &lt;BR /&gt; faultString: INVALID_LOGIN: Invalid username, password, security token; or user locked out.&lt;BR /&gt; faultActor: &lt;BR /&gt; faultNode: &lt;BR /&gt; faultDetail: &lt;BR /&gt;{urn:fault.partner.soap.sforce.com}LoginFault:&amp;lt;ns1:exceptionCode&amp;gt;INVALID_LOGIN&amp;lt;/ns1:exceptionCode&amp;gt;&amp;lt;ns1:exceptionMessage&amp;gt;Invalid username, password, security token; or user locked out.&amp;lt;/ns1:exceptionMessage&amp;gt;&lt;BR /&gt;This is the message log into logs_file.txt: -&lt;BR /&gt;2009-03-24 11:15:21;rhhAc2;ISEOyH;ISEOyH;salesforce_sync;Salesforce_NewAccount_Sync;Default;6;Java Exception;tSalesforceInput_5;;1&lt;BR /&gt;I am using Talend version 3.0.3.&lt;BR /&gt;Please help.</description>
      <pubDate>Sat, 16 Nov 2024 14:01:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-return-null-message-when-Invalid-Login/m-p/2318602#M88932</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: tSalesforceInput return null message when Invalid Login</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-return-null-message-when-Invalid-Login/m-p/2318603#M88933</link>
      <description>Found an interim solution to overcome this problem by modifying tSalesforceInput_begin.javajet and tSalesforceOutput_begin.javajet.
&lt;BR /&gt;C:\TOS-Win32-r21383-V3.0.3\plugins\org.talend.designer.components.localprovider_3.0.3.r21383\components\tSalesforceInput\tSalesforceInput_begin.javajet: -
&lt;BR /&gt; try {
&lt;BR /&gt; sforceManagement_&amp;lt;%=cid %&amp;gt;.login(&amp;lt;%=username %&amp;gt;, &amp;lt;%=password %&amp;gt;, &amp;lt;%=endpoint %&amp;gt;);
&lt;BR /&gt; } catch(com.sforce.soap.partner.fault.LoginFault ex2){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex2.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; }
&lt;BR /&gt; ................
&lt;BR /&gt; java.util.List&amp;lt;com.sforce.soap.partner.sobject.SObject&amp;gt; list_&amp;lt;%=cid %&amp;gt;=null;
&lt;BR /&gt; try {
&lt;BR /&gt; 
&lt;BR /&gt; list_&amp;lt;%=cid %&amp;gt; = sforceManagement_&amp;lt;%=cid %&amp;gt;.query(sb_&amp;lt;%=cid %&amp;gt;.toString());
&lt;BR /&gt; 
&lt;BR /&gt; } catch(com.sforce.soap.partner.fault.InvalidSObjectFault ex1){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex1.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } catch(com.sforce.soap.partner.fault.MalformedQueryFault ex2){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex2.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } catch(com.sforce.soap.partner.fault.InvalidFieldFault ex3){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex3.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } catch (com.sforce.soap.partner.fault.UnexpectedErrorFault ex4){
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex4.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } catch (java.rmi.RemoteException ex5) {
&lt;BR /&gt; 
&lt;BR /&gt; Exception e = new Exception(ex5.getMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; } 
&lt;BR /&gt;C:\TOS-Win32-r21383-V3.0.3\plugins\org.talend.designer.components.localprovider_3.0.3.r21383\components\tSalesforceOutput\tSalesforceOutput_begin.javajet: -
&lt;BR /&gt; //sforceManagement_&amp;lt;%=cid %&amp;gt;.login(&amp;lt;%=username %&amp;gt;, &amp;lt;%=password %&amp;gt;, &amp;lt;%=endpoint %&amp;gt;, &amp;lt;%=commitLevel%&amp;gt;, &amp;lt;%=ceaseForError %&amp;gt;, &amp;lt;%=logFile %&amp;gt;);
&lt;BR /&gt; try{
&lt;BR /&gt; sforceManagement_&amp;lt;%=cid %&amp;gt;.login(&amp;lt;%=username %&amp;gt;, &amp;lt;%=password %&amp;gt;, &amp;lt;%=endpoint %&amp;gt;, &amp;lt;%=commitLevel%&amp;gt;, &amp;lt;%=ceaseForError %&amp;gt;, &amp;lt;%=logFile %&amp;gt;);
&lt;BR /&gt; }catch(com.sforce.soap.partner.fault.LoginFault ex2){
&lt;BR /&gt; Exception e = new Exception(ex2.getExceptionMessage());
&lt;BR /&gt; throw new TalendException(e, currentComponent, globalMap);
&lt;BR /&gt; }
&lt;BR /&gt;Let me know if this is not the correct way.
&lt;BR /&gt;Cheers</description>
      <pubDate>Wed, 25 Mar 2009 10:36:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSalesforceInput-return-null-message-when-Invalid-Login/m-p/2318603#M88933</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-25T10:36:10Z</dc:date>
    </item>
  </channel>
</rss>

