<?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 Metaservlets call from Linux command prompt in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Metaservlets-call-from-Linux-command-prompt/m-p/2214578#M11351</link>
    <description>Hi, 
&lt;BR /&gt;We are working on a requirement where we want to call a TEDI job through metaservlets. Based on the documentation I found on Talend site, following command should have worked. 
&lt;BR /&gt;sudo /storage/talend/tac/apache-tomcat/webapps/org.talend.administrator/WEB-INF/classes/MetaServletCaller.sh --tac-url= --json-params={"actionName":"runTask","authPass":"*********","authUser":"bbanerjee@teladoc.com","taskId":12,"mode":"synchronous","context":"Default"} 
&lt;BR /&gt;However, following error is being returned. 
&lt;BR /&gt;{"error":"A JSONObject text must begin with '{' at character 1","returnCode":2} 
&lt;BR /&gt;Not sure if this is a syntax issue or I am missing something. Will appreciate if someone who has worked on similar requirement advises on this. Thanks.</description>
    <pubDate>Thu, 24 Sep 2015 14:29:27 GMT</pubDate>
    <dc:creator>Mowgli</dc:creator>
    <dc:date>2015-09-24T14:29:27Z</dc:date>
    <item>
      <title>Metaservlets call from Linux command prompt</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Metaservlets-call-from-Linux-command-prompt/m-p/2214578#M11351</link>
      <description>Hi, 
&lt;BR /&gt;We are working on a requirement where we want to call a TEDI job through metaservlets. Based on the documentation I found on Talend site, following command should have worked. 
&lt;BR /&gt;sudo /storage/talend/tac/apache-tomcat/webapps/org.talend.administrator/WEB-INF/classes/MetaServletCaller.sh --tac-url= --json-params={"actionName":"runTask","authPass":"*********","authUser":"bbanerjee@teladoc.com","taskId":12,"mode":"synchronous","context":"Default"} 
&lt;BR /&gt;However, following error is being returned. 
&lt;BR /&gt;{"error":"A JSONObject text must begin with '{' at character 1","returnCode":2} 
&lt;BR /&gt;Not sure if this is a syntax issue or I am missing something. Will appreciate if someone who has worked on similar requirement advises on this. Thanks.</description>
      <pubDate>Thu, 24 Sep 2015 14:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Metaservlets-call-from-Linux-command-prompt/m-p/2214578#M11351</guid>
      <dc:creator>Mowgli</dc:creator>
      <dc:date>2015-09-24T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Metaservlets call from Linux command prompt</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Metaservlets-call-from-Linux-command-prompt/m-p/2214579#M11352</link>
      <description>Hi,
&lt;BR /&gt;You have to add simple quote around JSON object :
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;'{"actionName":"runTask","authPass":"*********","authUser":"bbanerjee@teladoc.com","taskId":12,"mode":"synchronous","context":"Default"}'&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Thu, 24 Sep 2015 19:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Metaservlets-call-from-Linux-command-prompt/m-p/2214579#M11352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-24T19:31:51Z</dc:date>
    </item>
  </channel>
</rss>

