<?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: 'Exception' with message 'Content type &amp;quot;application/xml&amp;quot; is in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360167#M124809</link>
    <description>Hi,
&lt;BR /&gt;I think it would be great if you create a JIRA request for feature. Your solution is fine but it would be better if the possibility to set the content type is a functionality of the component GUI. Taleld should extend its component this way.
&lt;BR /&gt;Best regards</description>
    <pubDate>Sun, 11 Aug 2013 11:15:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-11T11:15:11Z</dc:date>
    <item>
      <title>'Exception' with message 'Content type "application/xml" is</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360165#M124807</link>
      <description>Hi, 
&lt;BR /&gt;I'm trying to send data to a webservice, as input I simply first tested with some fixed values: 
&lt;BR /&gt;tFixedFlowInput -&amp;gt; tXMLMap -&amp;gt; tRESTClient 
&lt;BR /&gt;as response I get this error: 
&lt;BR /&gt; 
&lt;PRE&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;lt;result&amp;gt;&lt;BR /&gt;&amp;lt;error&amp;gt;&amp;lt;!]&amp;gt;&amp;lt;/error&amp;gt;&lt;BR /&gt;  &amp;lt;error_description&amp;gt;&amp;lt;![CDATA[exception 'Exception' with message 'Content type "application/xml" is not supported. Accepted content types are "text/xml" and "application/json"' in....&lt;/PRE&gt; 
&lt;BR /&gt;How should I send my data as Content type 'text/xml' or as 'application/json' 
&lt;BR /&gt;I'm new with this, but was guessing I'd either need something like tJSONMap (which might not exist) or somehow keep using xml but then send as text/xml, but don't know how to. 
&lt;BR /&gt;Anybody willing to help out? 
&lt;BR /&gt; 
&lt;BR /&gt;PS: in case relevant how I mapped so far: Currently in tXMLMap I added the field 'body' (document type) and mapped the necessary fields, and added a field 'string' but did nothing with that one (if field 'string' is absent Talend returned an error that the field did not exist)</description>
      <pubDate>Sat, 10 Aug 2013 11:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360165#M124807</guid>
      <dc:creator>hvanderborg</dc:creator>
      <dc:date>2013-08-10T11:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: 'Exception' with message 'Content type "application/xml" is</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360166#M124808</link>
      <description>In this case I think it was solved by manually setting the header "Content-Type" to "text/xml". I thought I already checked that so possibly there was more to it. In any case this seems resolved</description>
      <pubDate>Sat, 10 Aug 2013 17:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360166#M124808</guid>
      <dc:creator>hvanderborg</dc:creator>
      <dc:date>2013-08-10T17:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: 'Exception' with message 'Content type "application/xml" is</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360167#M124809</link>
      <description>Hi,
&lt;BR /&gt;I think it would be great if you create a JIRA request for feature. Your solution is fine but it would be better if the possibility to set the content type is a functionality of the component GUI. Taleld should extend its component this way.
&lt;BR /&gt;Best regards</description>
      <pubDate>Sun, 11 Aug 2013 11:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360167#M124809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-11T11:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: 'Exception' with message 'Content type "application/xml" is</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360168#M124810</link>
      <description>Hi, 
&lt;BR /&gt;Alright, thanks for the comment, I agree and added the feature request in JIRA 
&lt;A href="https://jira.talendforge.org/browse/TDI-27121" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDI-27121&lt;/A&gt; 
&lt;BR /&gt;Hope I specified all correctly (this was my first) 
&lt;BR /&gt;Best regards,</description>
      <pubDate>Sun, 11 Aug 2013 16:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-with-message-Content-type-quot-application-xml-quot-is/m-p/2360168#M124810</guid>
      <dc:creator>hvanderborg</dc:creator>
      <dc:date>2013-08-11T16:38:50Z</dc:date>
    </item>
  </channel>
</rss>

