Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
David_Beaty
Specialist
Specialist

tRestClient call to external API in child-job of a Data Service

Hi,

I have a Talend job that is deployed to a Talend Runtime. One of the incoming URI Pattern flows requires this job to call out to an external service using tRestClient to request some data (share prices) from a 3rd party API service (snippet of job below).

0693p00000AFeZXAA1.png

If this is all retained within the main job it all works OK - however if I drop some of this (tFixedFlow-tRestClient-tExtractJSONFields-tXMLMap) into a child-job (which buffers the XML back) it doesn't work.

The Runtime wrapper.log shows:

INFO  | jvm 1  | 2020/10/28 14:11:43 | Exception in component tRunJob_1 (Database)

INFO  | jvm 1  | 2020/10/28 14:11:43 | java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/apache/cxf/service/model/EndpointInfo

INFO  | jvm 1  | 2020/10/28 14:11:43 | at local_project.database_0_1.Database.tRESTRequest_1_LoopProcess(Database.java:16221)

Has anyone come across this limitation before and/or got around it any way?

Thanks

David

Labels (4)
1 Reply
Anonymous
Not applicable

Hi @David Beaty​,

 

I hope you are well. I am looking into trying to recreate this as I think it could be a bug. Do you have a Support contract where you are working at the moment? If so, it might be best for you to go ahead and raise this with Support. If I find a fix, I'll post it here and let Support know. However, if this needs a patch, going to Support will mean that patch will arrive quicker

 

Regards

 

Richard