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?

Cloud Free Trial

Try Talend Cloud free for 30 days.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.