[resolved] The method getHeaders() is undefined for the type Response
Hi All,
I'm getting below exception when I try to execute the rest webservices through tRestClient component.
java.lang.Error: Unresolved compilation problems:
The method getHeaders() is undefined for the type Response
The method readEntity(Class<String>) is undefined for the type Response
The method getHeaders() is undefined for the type Response
when I check the logs in the code section here I'm getting the exception.
globalMap.put("tRESTClient_1_HEADERS",webClient_tRESTClient_1.getResponse().getHeaders());
Attached the screen shots of tRestclient component cofiguration.
Can any one please advice me on this?.
Hi All,
I resolved the issue by installing latest version 5.5.1 of TOS for ESB in my system.I am suspecting the issue might be because of jar files or there may be a bug in the tRestClient component.
Hi All,
I resolved the issue by installing latest version 5.5.1 of TOS for ESB in my system.I am suspecting the issue might be because of jar files or there may be a bug in the tRestClient component.
I have a similar problem in one of my jobs. This issue appears to be with the tRESTClient (i.e., that's where the error shows in the Code window), but when I disable a tREST component lower in the job the complaint goes away. I'm running v.5.4.1, and it appears like these two components won't play together.