Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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)
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