ESB : Simple JOB (REST), return Document is empty

Five Stars

ESB : Simple JOB (REST), return Document is empty

Hello All,

 

I have a very simple Job that listen on :

http://localhost:8088/pong

 

The return is a simple string : pong

 

But I have this :

This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.

I have attach all screens, because i don't known why it's don't work  !

 

Have-you any suggestions ? 

 

Regards


Accepted Solutions
Five Stars

Re: ESB : Simple JOB (REST), return Document is empty

Thanks all,

After reboot TOS ESB, and I confirms that, no change are made,

the execution in TOS (F6), return the good value with chrome.

Regards

All Replies
Community Manager

Re: ESB : Simple JOB (REST), return Document is empty

I believe this is a *feature* of your browser. You are not supplying an XML document, you are simply returning a String. If you click on "view source" (or the equivalent for your browser), you will see "pong" has been sent.

Six Stars

Re: ESB : Simple JOB (REST), return Document is empty

rhall_2_0 is right, why don't you try an API that returns something?

Five Stars

Re: ESB : Simple JOB (REST), return Document is empty

Thanks all,

After reboot TOS ESB, and I confirms that, no change are made,

the execution in TOS (F6), return the good value with chrome.

Regards
Community Manager

Re: ESB : Simple JOB (REST), return Document is empty

So you changed the browser you used and it worked?

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read