<?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: How to map Salesforce notification message to DB table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-Salesforce-notification-message-to-DB-table/m-p/2201591#M3633</link>
    <description>&lt;P&gt;So to clarify my own ramblings.&lt;/P&gt; 
&lt;P&gt;My job looks like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selection_030.png" style="width: 490px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0hS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146624iEDEEDDAD611E0651/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0hS.png" alt="0683p000009M0hS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;tMomInput receives XML (attachment account-schema.xml) which is based on WSDL schema (attachment wfoutbound.wsdl) and map it to a DB table (attachment account_new_sf.xml). The problem seems to be that account-schema contains name spaces because no values are transferred over to tDBOutput. I'm only interested in what is in and within the sObject tag.&lt;/P&gt; 
&lt;PRE&gt;    &amp;lt;sObject xmlns:sf="urn:sobject.enterprise.soap.sforce.com" xsi:type="sf:Account"&amp;gt;
      &amp;lt;sf:Id&amp;gt;0011l000003x9E5AAI&amp;lt;/sf:Id&amp;gt;
      &amp;lt;sf:Name&amp;gt;Johan Mig 10&amp;lt;/sf:Name&amp;gt;
      &amp;lt;sf:OwnerId&amp;gt;0051t000000n6rEAAQ&amp;lt;/sf:OwnerId&amp;gt;
    &amp;lt;/sObject&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;So the table in the DB is xsi:type="sf:Account" and the rest are the columns without the namespaces.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can tXMLMap do this or do I need some other component(s)?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;/Johan&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lttc"&gt;account_new_sf.xml&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lu5M"&gt;account-schema.xml&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ltkm"&gt;wfoutbound.xml&lt;/A&gt;</description>
    <pubDate>Fri, 26 Oct 2018 14:44:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-10-26T14:44:22Z</dc:date>
    <item>
      <title>How to map Salesforce notification message to DB table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-Salesforce-notification-message-to-DB-table/m-p/2201590#M3632</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I'm designing a Salesforce CRM to DB system that will accept a SF outbound message and put that message on a ActiveMQ queue. So I created a route for that and it works well. It's the next step that gives me trouble. I want a job that listens to the queue so I'm using tMomInput for th&lt;FONT size="3"&gt;at. The XML that is on the queue looks like this:&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;&amp;lt;notifications xmlns="&lt;A href="http://soap.sforce.com/2005/09/outbound" target="_blank" rel="nofollow noopener noreferrer"&gt;http://soap.sforce.com/2005/09/outbound&lt;/A&gt;" xmlns:soapenv="&lt;A href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/A&gt;" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&amp;lt;OrganizationId&amp;gt;00D1l0000008bK1EAI&amp;lt;/OrganizationId&amp;gt;&lt;BR /&gt;&amp;lt;ActionId&amp;gt;04k1l000000001sAAA&amp;lt;/ActionId&amp;gt;&lt;BR /&gt;&amp;lt;SessionId&amp;gt;00D1l0000008bK1!AQ4AQN2LeygvbuUNV_bdRPSKLJaF6ACxi6LCLUhxwsiSAESdzLZb5J.VYJ6C9YZoxOTKADTEUCyII0fVY8EV0n6ZkPSMmLy_&amp;lt;/SessionId&amp;gt;&lt;BR /&gt;&amp;lt;EnterpriseUrl&amp;gt;&lt;A href="https://crunchaccounting--apex.my.salesforce.com/services/Soap/c/44.0/00D1l0000008bK1&amp;lt;/EnterpriseUrl" target="_blank" rel="nofollow noopener noreferrer"&gt;https://crunchaccounting--apex.my.salesforce.com/services/Soap/c/44.0/00D1l0000008bK1&amp;lt;/EnterpriseUrl&lt;/A&gt;&amp;gt;&lt;BR /&gt;&amp;lt;PartnerUrl&amp;gt;&lt;A href="https://crunchaccounting--apex.my.salesforce.com/services/Soap/u/44.0/00D1l0000008bK1&amp;lt;/PartnerUrl" target="_blank" rel="nofollow noopener noreferrer"&gt;https://crunchaccounting--apex.my.salesforce.com/services/Soap/u/44.0/00D1l0000008bK1&amp;lt;/PartnerUrl&lt;/A&gt;&amp;gt;&lt;BR /&gt;&amp;lt;Notification&amp;gt;&lt;BR /&gt;&amp;lt;Id&amp;gt;04l1l0000001I5uAAE&amp;lt;/Id&amp;gt;&lt;BR /&gt;&amp;lt;sObject xmlns:sf="urn:sobject.enterprise.soap.sforce.com" xsi:type="sf:Account"&amp;gt;&lt;BR /&gt;&amp;lt;sf:Id&amp;gt;0011l000003x9E5AAI&amp;lt;/sf:Id&amp;gt;&lt;BR /&gt;&amp;lt;sf:CreatedById&amp;gt;0051t000000n6rEAAQ&amp;lt;/sf:CreatedById&amp;gt;&lt;BR /&gt;&amp;lt;sf:CreatedDate&amp;gt;2018-10-23T15:07:57.000Z&amp;lt;/sf:CreatedDate&amp;gt;&lt;BR /&gt;&amp;lt;sf:IsPersonAccount&amp;gt;false&amp;lt;/sf:IsPersonAccount&amp;gt;&lt;BR /&gt;&amp;lt;sf:LastModifiedById&amp;gt;0051t000000n6rEAAQ&amp;lt;/sf:LastModifiedById&amp;gt;&lt;BR /&gt;&amp;lt;sf:LastModifiedDate&amp;gt;2018-10-25T04:53:13.000Z&amp;lt;/sf:LastModifiedDate&amp;gt;&lt;BR /&gt;&amp;lt;sf:LastReferencedDate&amp;gt;2018-10-25T04:53:13.000Z&amp;lt;/sf:LastReferencedDate&amp;gt;&lt;BR /&gt;&amp;lt;sf:LastViewedDate&amp;gt;2018-10-25T04:53:13.000Z&amp;lt;/sf:LastViewedDate&amp;gt;&lt;BR /&gt;&amp;lt;sf:Name&amp;gt;Johan Mig 1&amp;lt;/sf:Name&amp;gt;&lt;BR /&gt;&amp;lt;sf&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;wnerId&amp;gt;0051t000000n6rEAAQ&amp;lt;/sf&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;wnerId&amp;gt;&lt;BR /&gt;&amp;lt;sf&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;AYE_Registered__c&amp;gt;false&amp;lt;/sf&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;AYE_Registered__c&amp;gt;&lt;BR /&gt;&amp;lt;sf:RecordTypeId&amp;gt;0121t000000Y7YIAA0&amp;lt;/sf:RecordTypeId&amp;gt;&lt;BR /&gt;&amp;lt;sf&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;ystemModstamp&amp;gt;2018-10-25T04:53:13.000Z&amp;lt;/sf&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;ystemModstamp&amp;gt;&lt;BR /&gt;&amp;lt;/sObject&amp;gt;&lt;BR /&gt;&amp;lt;/Notification&amp;gt;&lt;BR /&gt;&amp;lt;/notifications&amp;gt;|&lt;BR /&gt;&lt;/FONT&gt;This is to be mapped to a SF Account (created SF Metadata for this) and then send that Account to a tDbOutput object.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So far I have (which doesn't work):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selection_029.png" style="width: 506px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0da.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142240i0BCAF13986704991/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0da.png" alt="0683p000009M0da.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I dropped the SF metadata schema to tExtractXmLField and the connect tMomInput with&amp;nbsp;tExtractXmLField and copied over the schema tMomInput but as I suspected it doesn't work. tMomInput will expect an SF Account object which it doesn't get. I need something in between tMomInput and tExtractXMLField (don't even know if that is right component for the scenario) but what? That component needs to map the sObject within the Notification tag to Account and send that to tExtractXMLField that will then send it to tDBOutput.&lt;/P&gt; 
&lt;P&gt;Any suggestions how to read a SF notification message from an ActiveMQ queu and store it in a DB as a SF Account?&lt;/P&gt; 
&lt;P&gt;BTW tLogRow in the picture above is supposed to be the tDBOutput object.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;/Johan&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-map-Salesforce-notification-message-to-DB-table/m-p/2201590#M3632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to map Salesforce notification message to DB table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-map-Salesforce-notification-message-to-DB-table/m-p/2201591#M3633</link>
      <description>&lt;P&gt;So to clarify my own ramblings.&lt;/P&gt; 
&lt;P&gt;My job looks like this:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Selection_030.png" style="width: 490px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0hS.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146624iEDEEDDAD611E0651/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0hS.png" alt="0683p000009M0hS.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;tMomInput receives XML (attachment account-schema.xml) which is based on WSDL schema (attachment wfoutbound.wsdl) and map it to a DB table (attachment account_new_sf.xml). The problem seems to be that account-schema contains name spaces because no values are transferred over to tDBOutput. I'm only interested in what is in and within the sObject tag.&lt;/P&gt; 
&lt;PRE&gt;    &amp;lt;sObject xmlns:sf="urn:sobject.enterprise.soap.sforce.com" xsi:type="sf:Account"&amp;gt;
      &amp;lt;sf:Id&amp;gt;0011l000003x9E5AAI&amp;lt;/sf:Id&amp;gt;
      &amp;lt;sf:Name&amp;gt;Johan Mig 10&amp;lt;/sf:Name&amp;gt;
      &amp;lt;sf:OwnerId&amp;gt;0051t000000n6rEAAQ&amp;lt;/sf:OwnerId&amp;gt;
    &amp;lt;/sObject&amp;gt;&lt;/PRE&gt; 
&lt;P&gt;So the table in the DB is xsi:type="sf:Account" and the rest are the columns without the namespaces.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can tXMLMap do this or do I need some other component(s)?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;/Johan&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lttc"&gt;account_new_sf.xml&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lu5M"&gt;account-schema.xml&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ltkm"&gt;wfoutbound.xml&lt;/A&gt;</description>
      <pubDate>Fri, 26 Oct 2018 14:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-map-Salesforce-notification-message-to-DB-table/m-p/2201591#M3633</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-26T14:44:22Z</dc:date>
    </item>
  </channel>
</rss>

