Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
mparmentier
Contributor II
Contributor II

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

Labels (2)
1 Solution

Accepted Solutions
mparmentier
Contributor II
Contributor II
Author

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

View solution in original post

4 Replies
Anonymous
Not applicable

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.

Anonymous
Not applicable

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

mparmentier
Contributor II
Contributor II
Author

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
Anonymous
Not applicable

So you changed the browser you used and it worked?