ESB Rest API

Highlighted
Four Stars

ESB Rest API

Hi,

 

I've a problem with a job exposing a POST Rest API, when I lauch it in TOS and call it with Postman or with a trestclient all is working but when I deploy it to ESB Container and call the service I get a 404 error.

I've tested deploying a GET Rest API on the same ESB Container and all is working.

 

This is my job : 

jobs.png

 

the call from Postman :

 

postman.png

The body contains this :

{
"id": "3",
"name": "thomson"
}

 

and the ESB container logs when I call the service :

 

logs.png 

 

Tags (3)
Moderator

Re: ESB Rest API

Hello,

Which version of ESB product are you using? Did you add the jar generated by Talend (Build > OSGI Bundle For ESB) to the deploy directory, and see it as "Active" and "Created" in the bundle list in Karaf? Is there any more information in the tesb.log file?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

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

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog

Talend Studio Improvements for API Services

Take a look at the Talend Studio improvements for API Services

Watch Now