Hi
I am trying to read the image data via SOAP. The method
http://www.konakart.com/javadoc/server/com/konakart/appif/ProductIf.html#getImage() returns the image name, e.g.
hello-world.jpg
which exists at
/Users/michaelwechner/konakart-5.0.0.0/webapps/konakart/images/hello-world.jpg
but how can I retrieve the actual data via the (SOAP) API?
Thanks for your help
Michael
We don't have an API to fetch images. In order to display them you could:
Have them reside in the same webapp.
Have them on a web server and display them through a URL.
Use a servlet that receives the name as input and fetches them from wherever they are. With this approach you can also process them. (i.e. scale them if you need to).
Thanks very much for the quick feedback. I will write something like a small "servlet" in order to retrieve these images which
has the base path to the images configured.
Just being curious, is there any specific reason that this interface does not exist or do you consider such a feature
for the roadmap?
Thanks
Michael
We just don't consider the KK server to be a good place to store images. We consider these images to be more related to the application and so also the responsibility of the application in terms of management. All we store in the product object is a pointer to these images so that the application can figure out which ones to display.
thanks for the clarifications
Cheers
Michael