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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
AAA999
Contributor III
Contributor III

twebservice response error record capture

Gurus,

Is there a way to capture rejected response record from twebservice using wsdl file?

Below are some errors 

INVALID_INPUT (Input record is not a valid VAT)

MS_UNAVAILABLE 

 

I need to capture the rejected input records. Any help would be appreciated.

Thanks

Labels (2)
3 Replies
Anonymous
Not applicable

Hi
tWebservice does not capture rejected record, you can validate the input record before tWebservice if there exist rules.

Regards
Shong
AAA999
Contributor III
Contributor III
Author

Hi Shong,

GM, The issue is not with the input record. The error occurs when the input record is validated against the EU webservice (example Member State 'BE' vat number xxxxxxxxx). Is there a way for the records that don't get validated be passed to the target table?

Thanks

Anonymous
Not applicable

I think you can get the invalid input record by designing the jobs as beblow:
main job:
--read input data--tFlowToIterate--tRunJob
in the main job, pass the current input record to child job, see this documentation to learn how to pass values from parent job to child job.
https://help.talend.com/reader/1RJ7TatgS73nP1RPGjT50w/lkyIFfESkJEqjYRyJBOQfg

on tRunJob, call the child job and uncheck the 'die on error' option.

child job:
tFixedFlowInput1--main>tWebservcie-->
|
onsubjoberror
|
tFixedFlowInput2--main--target table

in child job, output the current input record to target table once an error occurs.

Regards
Shong