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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tRESTClient Usage to pass byte array Parameter (Error java.lang.NoClassDefFoundError: javax.xml.bind.PropertyException)

Hi 

I have a requirement to fetch BLOB image from Oracle table and send the image as parameter fileName (byte array buffer) to a REST API.

For the first part, I am able to fetch image from Table and write to local folder using tLOBDownload.

For the second part I thought of converting the image to Byte array (although I feel it should be possible directly without writing to local folder) and then send it via tRESTClient.

 I just tried a simple use case for tRESTClient with POST passing parameters (and without input and output schema).

When I run the code, it gives error :

Exception in thread "main" java.lang.NoClassDefFoundError: javax.xml.bind.PropertyException

I have java1.8 jre path specified in Installed JREs in Talend open studio 7.2 (Windows->Preferences)

Any clue what I am missing here?

 

Labels (2)
1 Reply
Anonymous
Not applicable
Author

Any help in this regard is greatly appreciated. I am totally stuck because of this error with tRESTClient.

I can't use tREST as I need to handle response which is not possible in tREST.

 

Thanks.