Six Stars

tREST works but not tRESTClient

I am trying to create a job to make an API call.  With tREST, it works but it does not work in tRESTClient component.  It is just a simple call but I am sure it is just some settings I am missing.


The error I am getting:

xception in component tRESTClient_1 (RESTAPI) HTTP 500 Internal Server Error
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(
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(
at org.apache.cxf.jaxrs.client.WebClient.doInvoke(
at org.apache.cxf.jaxrs.client.WebClient.invoke(
at pilotproject.restapi_0_1.RESTAPI.tRESTClient_1Process(
at pilotproject.restapi_0_1.RESTAPI.runJobInTOS(
at pilotproject.restapi_0_1.RESTAPI.main(


Please see attachments.


Re: tREST works but not tRESTClient


The 500 error occurs if you post a straight URL with no parameter.

Best regards



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