Thanks for the info, Rich.
So, just to be completely clear, in the case
that the metadata is not updated in any fashion by the producer, if I were to
call getPortletDescription() with a UserContext containing all of the Producers’
user categories, I would be guaranteed to receive the same structure as if I
had called getServiceDescription(). Correct?
Sent: Wednesday, June 02, 2004
Subject: Re: [wsrp-interfaces]
Questions regarding getPortletDescription()
Thanks for your persistence ... sometimes as we get
busy we hope that others will supply the answers :}
data in GetPortletDescriptionResponse is the same that is included in the array
returned by getServiceDescription() with a few caveats. The data is allowed to
change (portlet data updated, user access rights, etc) and most Producers will
only return data from getServiceDescription() for their POPs while
getPortletDescription() can be invoked against any portletHandle.
06/02/2004 11:31 AM
[wsrp-interfaces] Questions regarding
I haven’t received a reply to my message I sent out last week, so
I thought I would try to resend it. If you have any answers to the
questions below, please reply. Thanks.
the following questions regarding the getPortletDescription() operation:
How does the data returned in the
PortletDescriptionResponse relate to the portlet description contained within
the ServiceDescription? Must they be identical? Or, can the
producer change the data based on the user context. For instance, could
the producer not specify a particular supported mode if the user is not an
If the answer to #1 is that they can
be different, then is there a way to ensure, when calling this method, that the
PortletDescription returned would be equal to that in the ServiceDescription?
Perhaps by sending all of the possible User Categories?
If the answer to #1 is that they
must be the same, then is the only use of the UserContext attribute to allow the
producer to throw an AccessDenied Fault? Will passing all user categories
I’m trying to understand the intended use of getPortletDescription() and
if it can be used as an optimization to update portlet meta data without having
to retrieve the full service description.
for the information.