WebService

Five Stars

WebService

Dear All,

I am trying to create a webservice job.

when i run the job i am getting below error.

Attached Job SS.

 

Exception in component tRESTClient_3 (GetInfoByZip)
javax.ws.rs.NotFoundException: HTTP 404 Not Found
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.apache.cxf.jaxrs.client.AbstractClient.convertToWebApplicationException(AbstractClient.java:522)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:904)
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:866)
at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:431)
at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:611)
at temp.getinfobyzip_0_1.GetInfoByZip.tRESTClient_3Process(GetInfoByZip.java:1196)
at temp.getinfobyzip_0_1.GetInfoByZip.runJobInTOS(GetInfoByZip.java:2266)
at temp.getinfobyzip_0_1.GetInfoByZip.main(GetInfoByZip.java:2092)

Forteen Stars

Re: WebService

Hi!

in any case - best to attach screenshots of Your job
but before all of this - You must be sure, Your request with exactly same URI work from any REST testing tools:
- postman
- SoapUI
- Paw and etc.

404 mean - something wrong with URI or parameters (headers and etc) - something wrong or missed
when You for 100% sure - request is work in Postman, then possible to check difference between Postman and Talend

-----------

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

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog