<?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 Sending XML requests in file to a Web Service (SOAP) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376175#M138406</link>
    <description>Hello, 
&lt;BR /&gt;I have recently started using Talend and am a bit stuck on how I am able to send a request to a webservice where the request is read in from an already set up XML file. 
&lt;BR /&gt;My use case is to process a delimited file, convert the records into an XML file formatted for the WS call and then send the request to that call. I am not interested in any processing of the response since this call is just updating some fields in a database. 
&lt;BR /&gt;I have been able to read in my base file and convert it into an XML document that has a request setup for every record in the original file one after the other.&amp;nbsp; 
&lt;BR /&gt;Example (psuedo xml for example purposes, not exact): 
&lt;BR /&gt;&amp;nbsp;&amp;lt;processTrans&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;xref&amp;gt;019558-401010101-bdb0fc91-db88-411f-b9ff-84a832bf672a&amp;lt;/xref&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;type&amp;gt;7&amp;lt;/type&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;transDate&amp;gt;2013-09-16 00:00:00&amp;lt;/transDate&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;amount&amp;gt;00004221&amp;lt;/amount&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;accountId&amp;gt;401010101&amp;lt;/accountId&amp;gt; 
&lt;BR /&gt;&amp;lt;/processTrans&amp;gt; 
&lt;BR /&gt;&amp;lt;processTrans&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;xref&amp;gt;019558-401010101-gj6814-gb99-411f-aa88-90ad44338cb&amp;lt;/xref&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;type&amp;gt;8&amp;lt;/type&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;transDate&amp;gt;2014-09-16 00:00:00&amp;lt;/transDate&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;amount&amp;gt;0000672111&amp;lt;/amount&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;accountId&amp;gt;5010101&amp;lt;/accountId&amp;gt; 
&lt;BR /&gt;&amp;lt;/processTrans&amp;gt; 
&lt;BR /&gt;So basically my input file into the service is going to be many requests with the end tag of the previous request, and the start tag of the new request, just separated by a line break. Is there a way for me to send this file to some type of component that will send it as a request to my service and loop through all requests in the file? 
&lt;BR /&gt;Any help is greatly appreciated! Thank you!</description>
    <pubDate>Thu, 18 Sep 2014 21:55:37 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2014-09-18T21:55:37Z</dc:date>
    <item>
      <title>Sending XML requests in file to a Web Service (SOAP)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376175#M138406</link>
      <description>Hello, 
&lt;BR /&gt;I have recently started using Talend and am a bit stuck on how I am able to send a request to a webservice where the request is read in from an already set up XML file. 
&lt;BR /&gt;My use case is to process a delimited file, convert the records into an XML file formatted for the WS call and then send the request to that call. I am not interested in any processing of the response since this call is just updating some fields in a database. 
&lt;BR /&gt;I have been able to read in my base file and convert it into an XML document that has a request setup for every record in the original file one after the other.&amp;nbsp; 
&lt;BR /&gt;Example (psuedo xml for example purposes, not exact): 
&lt;BR /&gt;&amp;nbsp;&amp;lt;processTrans&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;xref&amp;gt;019558-401010101-bdb0fc91-db88-411f-b9ff-84a832bf672a&amp;lt;/xref&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;type&amp;gt;7&amp;lt;/type&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;transDate&amp;gt;2013-09-16 00:00:00&amp;lt;/transDate&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;amount&amp;gt;00004221&amp;lt;/amount&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;accountId&amp;gt;401010101&amp;lt;/accountId&amp;gt; 
&lt;BR /&gt;&amp;lt;/processTrans&amp;gt; 
&lt;BR /&gt;&amp;lt;processTrans&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;xref&amp;gt;019558-401010101-gj6814-gb99-411f-aa88-90ad44338cb&amp;lt;/xref&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;type&amp;gt;8&amp;lt;/type&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;transDate&amp;gt;2014-09-16 00:00:00&amp;lt;/transDate&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;amount&amp;gt;0000672111&amp;lt;/amount&amp;gt; 
&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;accountId&amp;gt;5010101&amp;lt;/accountId&amp;gt; 
&lt;BR /&gt;&amp;lt;/processTrans&amp;gt; 
&lt;BR /&gt;So basically my input file into the service is going to be many requests with the end tag of the previous request, and the start tag of the new request, just separated by a line break. Is there a way for me to send this file to some type of component that will send it as a request to my service and loop through all requests in the file? 
&lt;BR /&gt;Any help is greatly appreciated! Thank you!</description>
      <pubDate>Thu, 18 Sep 2014 21:55:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376175#M138406</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2014-09-18T21:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sending XML requests in file to a Web Service (SOAP)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376176#M138407</link>
      <description>Hi
&lt;BR /&gt;tXMLMap component is used to generate a document with XML format and sent it as request to tESBResumer that calls the web service. In your case, the job looks like:
&lt;BR /&gt;tFileInputDelimited--main--tXMLMap--out--&amp;gt;tESBConsumer--tLogRow
&lt;BR /&gt;Take a look at the component manual of tXMLMap component:
&lt;BR /&gt;
&lt;A href="https://help.talend.com/search/all?query=tXMLMap&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=tXMLMap&amp;amp;content-lang=en&lt;/A&gt;
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 19 Sep 2014 10:40:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376176#M138407</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T10:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sending XML requests in file to a Web Service (SOAP)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376177#M138408</link>
      <description>Hello Shong, thank you for the response.
&lt;BR /&gt;My current Job looks something like this tFileInputMSPositional --&amp;gt; tMap --&amp;gt; tAdvancedFileOutputXML --&amp;gt; tSOAP
&lt;BR /&gt;The XML request data is all being formatted in the map and then output via tAdvancedFileOutputXML. Do you think this works just fine as well?
&lt;BR /&gt;So it looks like I had it pretty close to what you mentioned, I will take the suggestion of using tESBConsumer and see if I can get it to work that way.&amp;nbsp;</description>
      <pubDate>Fri, 19 Sep 2014 14:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376177#M138408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-19T14:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sending XML requests in file to a Web Service (SOAP)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376178#M138409</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello Shong, thank you for the response.&lt;BR /&gt;My current Job looks something like this tFileInputMSPositional --&amp;gt; tMap --&amp;gt; tAdvancedFileOutputXML --&amp;gt; tSOAP&lt;BR /&gt;The XML request data is all being formatted in the map and then output via tAdvancedFileOutputXML. Do you think this works just fine as well?&lt;BR /&gt;So it looks like I had it pretty close to what you mentioned, I will take the suggestion of using tESBConsumer and see if I can get it to work that way.&amp;nbsp;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;It is impossible to upload a xml file as request parameter with tSOAP. Don't now if you have tried tESBConsumer which accepts a document as request, please give us your feedback. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 25 Sep 2014 11:33:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sending-XML-requests-in-file-to-a-Web-Service-SOAP/m-p/2376178#M138409</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-09-25T11:33:56Z</dc:date>
    </item>
  </channel>
</rss>

