You can translate the question and the replies:

How to setup webservice to return an image

I was thinking there was a way to configure or call a Denodo web service such that if the only column returned was a blob (that contains and image) that the image would be return - essentially utilizing Denodo as a simple image server. However, I couldn't find any Denodo documentation about this feature. If this does exist, please advise as I would like to provide this to my Denodo developers.
user
22-02-2023 13:08:52 -0500
code

1 Answer

Hi! According to the document Working with [Blob Fields of Base View](https://community.denodo.com/docs/html/browse/8.0/en/vdp/administration/creating_data_sources_and_base_views/working_with_blob_fields_of_base_views/working_with_blob_fields_of_base_views#setting-the-content-type-of-a-blob-field) it is possible to display them appropriately. When I tried it, I created a table that contains a column with the blob type. In Virtual DataPort Administration Tool I created a base view from this table and made sure that this base view has a primary key defined. It is important that this view has the primary key for this job defined, because otherwise, the web services won't display any element for the blob column. After the web service is configured and deployed, you can open the link to the web service and the table will be displayed. If you want to open the image just click on the hyperlink in the row. I hope this helps!
Denodo Team
23-02-2023 08:09:17 -0500
code
You must sign in to add an answer. If you do not have an account, you can register here