Hi Mohan,
I was asking myself the same question and I looked at the WSRP4J
consumer-proxyportlet implementation. You were right, the
ResourceProxy is used to load images or other resources by the
consumer. Here the JavaDoc of class ResourceProxy.java:
* This servlet acts as proxy for WSRP resources.
*
* A WSRP resource link should point to this servlet.
* The URL of the actual resource is taken from the request parameter
* and an URL connection is opened to the target URL. The input stream
* of this connection is read and copied to the servlet response stream.
The portlet encodes the resource URL and the encoded WSRP URL string
is then sent with the other markup. The consumer rewrites this string
and forms a URL which points to the resource_proxy servlet. The rest
happens like explained in the JavaDoc.
Regards,
Kevin
On 3/12/07, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
Hi,
WSRP consumer URL rewriting is done by replacing the 'wsrp-rewrite'
placeholders by properly encoding the URL's. Now if I encode
the URL to point to a 'gif' image on the producer how is it transferred. Is
it transferred using the ResourceProxy servlet ? Where is the provision for
SOAP with attachments in WSRP.
Thanks,
Mohan
This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you have
received it in error, please notify the sender immediately and delete the
original. Any other use of the email by you is prohibited.