<?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 Found character data inside an array element while deserializing in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Found-character-data-inside-an-array-element-while-deserializing/m-p/2226526#M18411</link>
    <description>Hello, 
&lt;BR /&gt;I have 2 problems with a job. We want to use a job as a webservice (including a context param). 
&lt;BR /&gt;1) We build the job following the manual instructions : 
&lt;BR /&gt;Build type : Axis Webservice (WAR) 
&lt;BR /&gt;When we deploy the war file, our webservice is unknown, so we had these lines in the server-config.wsdd : 
&lt;BR /&gt; &amp;lt;service name="PAQ_Job_Test_Webservices" style="java:RPC"&amp;gt; 
&lt;BR /&gt; &amp;lt;parameter name="className" value="crb.paq_job_test_webservices_0_1.PAQ_Job_Test_Webservices"/&amp;gt; 
&lt;BR /&gt; &amp;lt;parameter name="allowedMethods" value="*"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/service&amp;gt; 
&lt;BR /&gt;It's now OK 
&lt;BR /&gt;2) When we call the job thanks a browser with this URL : 
&lt;BR /&gt;http://localhost:8080/PAQ_Job_Test_Webservices_0.1/services/PAQ_Job_Test_Webservices?method=runJob&amp;amp;arg0=-param_context VAR_IHM_TASKID=1 
&lt;BR /&gt; we have an error message : 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; 
&lt;BR /&gt;- &amp;lt;soapenv:Envelope 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;soapenv:Body&amp;gt; 
&lt;BR /&gt;- &amp;lt;soapenv:Fault&amp;gt; 
&lt;BR /&gt; &amp;lt;faultcode&amp;gt;soapenv 
&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;erver.userException&amp;lt;/faultcode&amp;gt; 
&lt;BR /&gt; &amp;lt;faultstring&amp;gt;org.xml.sax.SAXException: Found character data inside an array element while deserializing&amp;lt;/faultstring&amp;gt; 
&lt;BR /&gt;- &amp;lt;detail&amp;gt; 
&lt;BR /&gt; &amp;lt;ns1:hostname xmlns:ns1=" 
&lt;A href="http://xml.apache.org/axis/&amp;quot;&amp;gt;CZC31336QS&amp;lt;/ns1:hostname" target="_blank" rel="nofollow noopener noreferrer"&gt;http://xml.apache.org/axis/"&amp;gt;CZC31336QS&amp;lt;/ns1:hostname&lt;/A&gt;&amp;gt; 
&lt;BR /&gt; &amp;lt;/detail&amp;gt; 
&lt;BR /&gt; &amp;lt;/soapenv:Fault&amp;gt; 
&lt;BR /&gt; &amp;lt;/soapenv:Body&amp;gt; 
&lt;BR /&gt; &amp;lt;/soapenv:Envelope&amp;gt; 
&lt;BR /&gt;When we call the job thanks a browser with this URL : http://localhost:8080/PAQ_Job_Test_Webservices_0.1/services/PAQ_Job_Test_Webservices?method=runJob&amp;amp;arg0= 
&lt;BR /&gt;Our job is OK, but we need a context param when we call the webservice 
&lt;BR /&gt;* Our developpement environnement is : 
&lt;BR /&gt;- TOS 5.4.0 (C:\Program Files (x86)\TOS_DI-r110020-V5.4.0\TOS_DI-win32-x86.exe) 
&lt;BR /&gt;- JDK : 1.6 
&lt;BR /&gt;- Java : jre7 
&lt;BR /&gt;- Apache Tomcat 6.0.37 (for a local deployment) 
&lt;BR /&gt;- Browser : I.E 8 
&lt;BR /&gt;* We develop the same job with TOS 4.1.3, all is right : 
&lt;BR /&gt;- We don't have to complete the server-config.wsdd, 
&lt;BR /&gt;- The webservice call is OK with the first URL, and the job use the URL's context param 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks for your help (sorry for my english...), 
&lt;BR /&gt;Frederic</description>
    <pubDate>Fri, 10 Jan 2014 10:05:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-01-10T10:05:37Z</dc:date>
    <item>
      <title>Found character data inside an array element while deserializing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Found-character-data-inside-an-array-element-while-deserializing/m-p/2226526#M18411</link>
      <description>Hello, 
&lt;BR /&gt;I have 2 problems with a job. We want to use a job as a webservice (including a context param). 
&lt;BR /&gt;1) We build the job following the manual instructions : 
&lt;BR /&gt;Build type : Axis Webservice (WAR) 
&lt;BR /&gt;When we deploy the war file, our webservice is unknown, so we had these lines in the server-config.wsdd : 
&lt;BR /&gt; &amp;lt;service name="PAQ_Job_Test_Webservices" style="java:RPC"&amp;gt; 
&lt;BR /&gt; &amp;lt;parameter name="className" value="crb.paq_job_test_webservices_0_1.PAQ_Job_Test_Webservices"/&amp;gt; 
&lt;BR /&gt; &amp;lt;parameter name="allowedMethods" value="*"/&amp;gt; 
&lt;BR /&gt; &amp;lt;/service&amp;gt; 
&lt;BR /&gt;It's now OK 
&lt;BR /&gt;2) When we call the job thanks a browser with this URL : 
&lt;BR /&gt;http://localhost:8080/PAQ_Job_Test_Webservices_0.1/services/PAQ_Job_Test_Webservices?method=runJob&amp;amp;arg0=-param_context VAR_IHM_TASKID=1 
&lt;BR /&gt; we have an error message : 
&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8" ?&amp;gt; 
&lt;BR /&gt;- &amp;lt;soapenv:Envelope 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;soapenv:Body&amp;gt; 
&lt;BR /&gt;- &amp;lt;soapenv:Fault&amp;gt; 
&lt;BR /&gt; &amp;lt;faultcode&amp;gt;soapenv 
&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;erver.userException&amp;lt;/faultcode&amp;gt; 
&lt;BR /&gt; &amp;lt;faultstring&amp;gt;org.xml.sax.SAXException: Found character data inside an array element while deserializing&amp;lt;/faultstring&amp;gt; 
&lt;BR /&gt;- &amp;lt;detail&amp;gt; 
&lt;BR /&gt; &amp;lt;ns1:hostname xmlns:ns1=" 
&lt;A href="http://xml.apache.org/axis/&amp;quot;&amp;gt;CZC31336QS&amp;lt;/ns1:hostname" target="_blank" rel="nofollow noopener noreferrer"&gt;http://xml.apache.org/axis/"&amp;gt;CZC31336QS&amp;lt;/ns1:hostname&lt;/A&gt;&amp;gt; 
&lt;BR /&gt; &amp;lt;/detail&amp;gt; 
&lt;BR /&gt; &amp;lt;/soapenv:Fault&amp;gt; 
&lt;BR /&gt; &amp;lt;/soapenv:Body&amp;gt; 
&lt;BR /&gt; &amp;lt;/soapenv:Envelope&amp;gt; 
&lt;BR /&gt;When we call the job thanks a browser with this URL : http://localhost:8080/PAQ_Job_Test_Webservices_0.1/services/PAQ_Job_Test_Webservices?method=runJob&amp;amp;arg0= 
&lt;BR /&gt;Our job is OK, but we need a context param when we call the webservice 
&lt;BR /&gt;* Our developpement environnement is : 
&lt;BR /&gt;- TOS 5.4.0 (C:\Program Files (x86)\TOS_DI-r110020-V5.4.0\TOS_DI-win32-x86.exe) 
&lt;BR /&gt;- JDK : 1.6 
&lt;BR /&gt;- Java : jre7 
&lt;BR /&gt;- Apache Tomcat 6.0.37 (for a local deployment) 
&lt;BR /&gt;- Browser : I.E 8 
&lt;BR /&gt;* We develop the same job with TOS 4.1.3, all is right : 
&lt;BR /&gt;- We don't have to complete the server-config.wsdd, 
&lt;BR /&gt;- The webservice call is OK with the first URL, and the job use the URL's context param 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks for your help (sorry for my english...), 
&lt;BR /&gt;Frederic</description>
      <pubDate>Fri, 10 Jan 2014 10:05:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Found-character-data-inside-an-array-element-while-deserializing/m-p/2226526#M18411</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-10T10:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Found character data inside an array element while deserializing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Found-character-data-inside-an-array-element-while-deserializing/m-p/2226527#M18412</link>
      <description>Hi Frederic 
&lt;BR /&gt;We have a KB article on Talend Help Center, it shows how to expose a Talend Job as a Web service and how to call the Web service with context parameters: 
&lt;BR /&gt; 
&lt;A href="https://help.talend.com/search/all?query=twebservice&amp;amp;content-lang=en" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=twebservice&amp;amp;content-lang=en&lt;/A&gt; 
&lt;BR /&gt;You don't need to modify the wsdd file, there might be a bug on version 5.4.0 if it does not work even though you have completely followed the steps introduced in the article. 
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 15 Jan 2014 08:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Found-character-data-inside-an-array-element-while-deserializing/m-p/2226527#M18412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-15T08:19:38Z</dc:date>
    </item>
  </channel>
</rss>

