<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: read an image using webservices ? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59072#M36241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;MaheshLinga, can you pass me your email id.&amp;nbsp; I have few queries on Alfresco Webservices usage.&amp;nbsp; I would contact you once I get your email id here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2007 03:12:36 GMT</pubDate>
    <dc:creator>lalli</dc:creator>
    <dc:date>2007-03-01T03:12:36Z</dc:date>
    <item>
      <title>read an image using webservices ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59070#M36239</link>
      <description>Hi,my requirement is in my application i need to display the image stored in alfresco in a jsp.&amp;nbsp; does anybody have the code (webservices) to read the image.Thanks in advance.Regards,lalli.</description>
      <pubDate>Fri, 16 Feb 2007 12:35:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59070#M36239</guid>
      <dc:creator>lalli</dc:creator>
      <dc:date>2007-02-16T12:35:47Z</dc:date>
    </item>
    <item>
      <title>Re: read an image using webservices ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59071#M36240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi lalli,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you were to be able to do this, pls post your approach here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That will be helpfull to all the alfresco users.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2007 12:28:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59071#M36240</guid>
      <dc:creator>maheshlinga</dc:creator>
      <dc:date>2007-02-27T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: read an image using webservices ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59072#M36241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;MaheshLinga, can you pass me your email id.&amp;nbsp; I have few queries on Alfresco Webservices usage.&amp;nbsp; I would contact you once I get your email id here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 03:12:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59072#M36241</guid>
      <dc:creator>lalli</dc:creator>
      <dc:date>2007-03-01T03:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: read an image using webservices ?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59073#M36242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my approach has been to write a sort of "proxy" that expose the alfresco content. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let's say that the image is located in &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Company Home -&amp;gt; resources -&amp;gt; images&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wrote a servlet that intercepts all the requesto to, say, /resources/ and takes the rest of the URL (via the pathInfo) as the "address" of the resource inside alfresco; it then retrieves the image via the web services api and copies it back to the client.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this way if I want to display the image inside the jsp (or in an html, that is) I just need to write a link of this type:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;img src="/resources/images/myimage" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As an added feature I use OSCache to cache my contents in order to avuoid calling alfresco for each request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this answers your question, let me know if you need more details or some code to play with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fabio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2007 17:33:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/read-an-image-using-webservices/m-p/59073#M36242</guid>
      <dc:creator>legba</dc:creator>
      <dc:date>2007-03-01T17:33:12Z</dc:date>
    </item>
  </channel>
</rss>

