You could also check out the WSO2 Governance Registry, specifically its
REST API feature. The advantage of GREG is, it is built to support multiple
media types, and it functions better as a repository than DSS. But if we
are talking about large files (~10MB) and a huge number of files (tens of
thousands) it may not be the best option, because it is not meant to be a
scalable storage.

AFAIK, DSS suffers from the limitation of not being able to handle binary
files very well. It base64 encodes it when sending it out. So in the client
side you need to decode it. If you can work around this you should be fine.

Thanks,
Johann.


On Sun, Jul 20, 2014 at 4:48 PM, Nirmal Fernando <nir...@wso2.com> wrote:

> AFAIK You could store image files in a database and expose them via data
> services.
>
>
> On Sun, Jul 20, 2014 at 12:44 PM, Akila Nimantha [IT/EKO/LOITS] <
> aki...@lolctech.com> wrote:
>
>>  hi all,
>>
>>
>>
>> I am from LOITS, sri lanka. Currently I am looking at wso2 data service
>> server as a R&D project in our organization. My problem is,
>>
>> Is there a way to expose images(files) like jpg, png as a services??
>>
>>
>>
>> Regards,
>>
>> Akila
>>
>> This message (including any attachments) is intended only for the use of
>> the individual or entity to which it is addressed and may contain
>> information that is non-public, proprietary, privileged, confidential, and
>> exempt from disclosure under applicable law or may constitute as attorney
>> work product. If you are not the intended recipient, you are hereby
>> notified that any use, dissemination, distribution, or copying of this
>> communication is strictly prohibited. If you have received this
>> communication in error, notify us immediately by telephone and (i) destroy
>> this message if a facsimile or (ii) delete this message immediately if this
>> is an electronic communication. Thank you.
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead & Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777776950*
Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to