<?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 How to send back custom xml in 404 response Rest Services in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-send-back-custom-xml-in-404-response-Rest-Services/m-p/2223295#M16534</link>
    <description>Hello,&lt;BR /&gt;      Does anyone know how to send back a custom payload when a user tired to request an endpoint that is not available or incorrect.&lt;BR /&gt;      The custom payload i would like to return would be something simple like:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;root&amp;gt;&lt;BR /&gt;&amp;lt;error&amp;gt;Invalid Endpoint&amp;lt;/error&amp;gt;&lt;BR /&gt;&amp;lt;/root&amp;gt;&lt;BR /&gt;         &lt;BR /&gt;         I have tried to do this with a tXMLMap however it keeps throwing an error regarding:&lt;BR /&gt;"No message body writer has been found for response class DefaultDocument"</description>
    <pubDate>Tue, 09 Oct 2012 11:30:20 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2012-10-09T11:30:20Z</dc:date>
    <item>
      <title>How to send back custom xml in 404 response Rest Services</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-send-back-custom-xml-in-404-response-Rest-Services/m-p/2223295#M16534</link>
      <description>Hello,&lt;BR /&gt;      Does anyone know how to send back a custom payload when a user tired to request an endpoint that is not available or incorrect.&lt;BR /&gt;      The custom payload i would like to return would be something simple like:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;root&amp;gt;&lt;BR /&gt;&amp;lt;error&amp;gt;Invalid Endpoint&amp;lt;/error&amp;gt;&lt;BR /&gt;&amp;lt;/root&amp;gt;&lt;BR /&gt;         &lt;BR /&gt;         I have tried to do this with a tXMLMap however it keeps throwing an error regarding:&lt;BR /&gt;"No message body writer has been found for response class DefaultDocument"</description>
      <pubDate>Tue, 09 Oct 2012 11:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-send-back-custom-xml-in-404-response-Rest-Services/m-p/2223295#M16534</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-10-09T11:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to send back custom xml in 404 response Rest Services</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-send-back-custom-xml-in-404-response-Rest-Services/m-p/2223296#M16535</link>
      <description>Hi, try using a wrong call handler. &lt;BR /&gt;Also, in 5.2, one of the issues with properly determining a response type for a fault response has been fixed, in cases where a browser is used (which leads to a complex Accept HTTP header being sent) - so please try 5.2...</description>
      <pubDate>Tue, 09 Oct 2012 17:53:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-send-back-custom-xml-in-404-response-Rest-Services/m-p/2223296#M16535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-09T17:53:57Z</dc:date>
    </item>
  </channel>
</rss>

