开发者

Read image in Report Service returned by WCF service

开发者 https://www.devze.com 2023-03-24 21:41 出处:网络
I have a WCF service which returns an Image (Bitmap datatype and I have verified that the service returns image correctly by creating a test Form application).

I have a WCF service which returns an Image (Bitmap datatype and I have verified that the service returns image correctly by creating a test Form application).

Now, I want to consume this service via SSRS (SQL Server 2008 R2), for that I created a Data Source which pointed to the WCF service. Now, the service is returning all data correctly except for the image. I get the error

[rsMissingFieldInDataSet] The dataset ‘DataSet1’ contains a definition for the Field ‘IMAGE’. This field is missing from the returned r开发者_如何学运维esult set from the data source. [rsErrorReadingDataSetField] The dataset ‘DataSet1’ contains a definition for the Field ‘IMAGE’. The data extension returned an error during reading the field. There is no data for the field at position 6.

So, my question is: Is it possible to display image via this technique? And if yes, where am I going wrong?

0

精彩评论

暂无评论...
验证码 换一张
取 消