WebService

Four 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

-----------

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Definitive Guide to Data Quality

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

Download

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads