<?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 provide the date input variable into tSOAP in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344108#M111797</link>
    <description>&lt;P&gt;I suspect that this is because you are supplying your date without casting it from an Object (the globalMap returns everything as an Object) AND (more importantly) your Object is essentially a Date and not a String. The SOAP message essentially transfers everything in the form of a String. So with dates, I suspect that the SOAP message will require it to be sent as a String and not a Date.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 11:58:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-01-25T11:58:30Z</dc:date>
    <item>
      <title>how to provide the date input variable into tSOAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344107#M111796</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tSOAP is capturing the input data from text file as below. All other field are okay but I receive the error when I add the date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000cfEGMAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148033i139A88269114F203/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000cfEGMAA2.png" alt="0695b00000cfEGMAA2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can process all other variables but I was not able to process the date. I used the below syntax to map the date.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000cfEVRAA2.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149342iB6422F79F5843371/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000cfEVRAA2.png" alt="0695b00000cfEVRAA2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting the below error only when I include the date field. Would you please advise me what is the right format for date, logical and numeric variables for SoapUI input?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting job DEV_Job_File_To_QAD_PO at 13:20 25/01/2023.&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3701&lt;/P&gt;&lt;P&gt;[statistics] connected&lt;/P&gt;&lt;P&gt;Jan. 25, 2023 1:20:28 PM com.sun.xml.messaging.saaj.soap.impl.BodyImpl extractContentAsDocument&lt;/P&gt;&lt;P&gt;SEVERE: SAAJ0251: Unable to extract Document from body&lt;/P&gt;&lt;P&gt;Exception in component tSOAP_1 (DEV_Job_File_To_QAD_PO)&lt;/P&gt;&lt;P&gt;com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to extract Document from body&lt;/P&gt;&lt;P&gt;	at com.sun.xml.messaging.saaj.soap.impl.BodyImpl.extractContentAsDocument(BodyImpl.java:347)&lt;/P&gt;&lt;P&gt;	at org.talend.soap.SOAPUtil.extractContentAsDocument(SOAPUtil.java:192)&lt;/P&gt;&lt;P&gt;	at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:159)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.tFileInputDelimited_1Process(DEV_Job_File_To_QAD_PO.java:2390)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.runJobInTOS(DEV_Job_File_To_QAD_PO.java:3279)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.main(DEV_Job_File_To_QAD_PO.java:3108)&lt;/P&gt;&lt;P&gt;Caused by: org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.ElementNSImpl.setName(ElementNSImpl.java:153)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.ElementNSImpl.&amp;lt;init&amp;gt;(ElementNSImpl.java:84)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createElementNS(CoreDocumentImpl.java:2097)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1548)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1750)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1504)&lt;/P&gt;&lt;P&gt;	at com.sun.xml.messaging.saaj.soap.impl.BodyImpl.extractContentAsDocument(BodyImpl.java:338)&lt;/P&gt;&lt;P&gt;	... 5 more&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAUSE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.ElementNSImpl.setName(ElementNSImpl.java:153)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.ElementNSImpl.&amp;lt;init&amp;gt;(ElementNSImpl.java:84)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createElementNS(CoreDocumentImpl.java:2097)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1548)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1750)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1504)&lt;/P&gt;&lt;P&gt;	at com.sun.xml.messaging.saaj.soap.impl.BodyImpl.extractContentAsDocument(BodyImpl.java:338)&lt;/P&gt;&lt;P&gt;	at org.talend.soap.SOAPUtil.extractContentAsDocument(SOAPUtil.java:192)&lt;/P&gt;&lt;P&gt;	at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:159)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.tFileInputDelimited_1Process(DEV_Job_File_To_QAD_PO.java:2390)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.runJobInTOS(DEV_Job_File_To_QAD_PO.java:3279)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.main(DEV_Job_File_To_QAD_PO.java:3108)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CAUSE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;org.w3c.dom.DOMException: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.ElementNSImpl.setName(ElementNSImpl.java:153)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.ElementNSImpl.&amp;lt;init&amp;gt;(ElementNSImpl.java:84)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.createElementNS(CoreDocumentImpl.java:2097)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1548)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1750)&lt;/P&gt;&lt;P&gt;	at java.xml/com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.importNode(CoreDocumentImpl.java:1504)&lt;/P&gt;&lt;P&gt;	at com.sun.xml.messaging.saaj.soap.impl.BodyImpl.extractContentAsDocument(BodyImpl.java:338)&lt;/P&gt;&lt;P&gt;	at org.talend.soap.SOAPUtil.extractContentAsDocument(SOAPUtil.java:192)&lt;/P&gt;&lt;P&gt;	at org.talend.soap.SOAPUtil.invokeSOAP(SOAPUtil.java:159)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.tFileInputDelimited_1Process(DEV_Job_File_To_QAD_PO.java:2390)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.runJobInTOS(DEV_Job_File_To_QAD_PO.java:3279)&lt;/P&gt;&lt;P&gt;	at precoro_qad.dev_job_file_to_qad_po_0_1.DEV_Job_File_To_QAD_PO.main(DEV_Job_File_To_QAD_PO.java:3108)&lt;/P&gt;&lt;P&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Job DEV_Job_File_To_QAD_PO ended at 13:20 25/01/2023. [Exit code&amp;nbsp;= 1]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:10:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344107#M111796</guid>
      <dc:creator>JY3</dc:creator>
      <dc:date>2024-11-15T22:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to provide the date input variable into tSOAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344108#M111797</link>
      <description>&lt;P&gt;I suspect that this is because you are supplying your date without casting it from an Object (the globalMap returns everything as an Object) AND (more importantly) your Object is essentially a Date and not a String. The SOAP message essentially transfers everything in the form of a String. So with dates, I suspect that the SOAP message will require it to be sent as a String and not a Date.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 11:58:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344108#M111797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T11:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to provide the date input variable into tSOAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344109#M111798</link>
      <description>&lt;P&gt;I changed it to&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;urn1:poDueDate&amp;gt;" + (String)globalMap.get("row3.po_due_date") + "&amp;lt;/urn1:poDueDate&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then I get the below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Starting job Repeat_of_DEV_File_To_QAD_PO_Header at 23:49 25/01/2023.&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3437&lt;/P&gt;&lt;P&gt;[statistics] connected&lt;/P&gt;&lt;P&gt;Exception in component tSOAP_1 (Repeat_of_DEV_File_To_QAD_PO_Header)&lt;/P&gt;&lt;P&gt;java.lang.ClassCastException: class java.util.Date cannot be cast to class java.lang.String (java.util.Date and java.lang.String are in module java.base of loader 'bootstrap')&lt;/P&gt;&lt;P&gt;	at precoro_qad.repeat_of_dev_file_to_qad_po_header_0_1.Repeat_of_DEV_File_To_QAD_PO_Header.tFileInputDelimited_1Process(Repeat_of_DEV_File_To_QAD_PO_Header.java:2414)&lt;/P&gt;&lt;P&gt;	at precoro_qad.repeat_of_dev_file_to_qad_po_header_0_1.Repeat_of_DEV_File_To_QAD_PO_Header.runJobInTOS(Repeat_of_DEV_File_To_QAD_PO_Header.java:3291)&lt;/P&gt;&lt;P&gt;	at precoro_qad.repeat_of_dev_file_to_qad_po_header_0_1.Repeat_of_DEV_File_To_QAD_PO_Header.main(Repeat_of_DEV_File_To_QAD_PO_Header.java:3119)&lt;/P&gt;&lt;P&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Job Repeat_of_DEV_File_To_QAD_PO_Header ended at 23:49 25/01/2023. [Exit code&amp;nbsp;= 1]&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 12:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344109#M111798</guid>
      <dc:creator>JY3</dc:creator>
      <dc:date>2023-01-25T12:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to provide the date input variable into tSOAP</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344110#M111799</link>
      <description>&lt;P&gt;This line here gives you the reason for this.....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;java.lang.ClassCastException: class java.util.Date cannot be cast to class java.lang.String (java.util.Date and java.lang.String are in module java.base of loader 'bootstrap')&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The column is a Date column. You cannot cast from Date to String. You will need to change the column to be a String and convert the Date to be formatted as a String before the data is passed to the column. You can use the tConvertType component to do this. This is described here...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;https://help.talend.com/r/en-US/8.0/processing/tconverttype-standard-properties&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 12:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-provide-the-date-input-variable-into-tSOAP/m-p/2344110#M111799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-25T12:59:07Z</dc:date>
    </item>
  </channel>
</rss>

