OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interfaces message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [wsrp-interfaces] Questions regarding getPortletDescription()


Thanks for the info, Rich.
=20
So, just to be completely clear, in the case that the metadata is not=20
updated in any fashion by the producer, if I were to call=20
getPortletDescription() with a UserContext containing all of the=20
Producers? user categories, I would be guaranteed to receive the same=20
structure as if I had called getServiceDescription().  Correct?
=20
Scott
=20
=20

From: Rich Thompson [mailto:richt2@us.ibm.com]=20
Sent: Wednesday, June 02, 2004 8:57 AM
To: wsrp-interfaces@lists.oasis-open.org
Subject: Re: [wsrp-interfaces] Questions regarding getPortletDescription()
=20

Thanks for your persistence ... sometimes as we get busy we hope that=20
others will supply the answers :}=20

The data in GetPortletDescriptionResponse is the same that is included in=20
the array returned by getServiceDescription() with a few caveats. The data =

is allowed to change (portlet data updated, user access rights, etc) and=20
most Producers will only return data from getServiceDescription() for=20
their POPs while getPortletDescription() can be invoked against any=20
portletHandle.=20

Rich=20


"Goldstein, Scott" <Scott.Goldstein@vignette.com>=20
06/02/2004 11:31 AM=20


To
<wsrp-interfaces@lists.oasis-open.org>=20
cc
=20
Subject
[wsrp-interfaces] Questions regarding getPortletDescription()
=20


=20
=20




I haven?t received a reply to my message I sent out last week, so I=20
thought I would try to resend it.  If you have any answers to the=20
questions below, please reply.  Thanks.=20
 =20
 =20
 =20
I have the following questions regarding the getPortletDescription()=20
operation:=20
 =20
1.        How does the data returned in the PortletDescriptionResponse=20
relate to the portlet description contained within the ServiceDescription? =

 Must they be identical?  Or, can the producer change the data based on=20
the user context.  For instance, could the producer not specify a=20
particular supported mode if the user is not an admin?=20
2.        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=20
returned would be equal to that in the ServiceDescription?  Perhaps by=20
sending all of the possible User Categories?=20
3.        If the answer to #1 is that they must be the same, then is the=20
only use of the UserContext attribute to allow the producer to throw an=20
AccessDenied Fault?  Will passing all user categories avoid this?=20
 =20
Essentially, I?m trying to understand the intended use of=20
getPortletDescription() and if it can be used as an optimization to update =

portlet meta data without having to retrieve the full service description. =


 =20
Thanks for the information.=20
 =20
Scott=20

--=_alternative 00394F8385256EA8_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable


<br><font size=3D2 face=3D"sans-serif">Agreed.</font>
<br><font size=3D2 face=3D"sans-serif"><br>
Rich</font>
<br>
<br>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D40%><font size=3D1 face=3D"sans-serif"><b>&quot;Coco, Christoph=
er&quot;
&lt;Christopher.Coco@vignette.com&gt;</b> </font>
<p><font size=3D1 face=3D"sans-serif">06/02/2004 08:10 PM</font>
<td width=3D59%>
<table width=3D100%>
<tr>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">To</font></div>
<td valign=3Dtop><font size=3D1 face=3D"sans-serif">&quot;Goldstein, Scott&=
quot;
&lt;Scott.Goldstein@vignette.com&gt;, Rich Thompson/Watson/IBM@IBMUS, &lt;w=
srp-interfaces@lists.oasis-open.org&gt;</font>
<tr>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div>
<td valign=3Dtop>
<tr>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">Subject</font></div>
<td valign=3Dtop><font size=3D1 face=3D"sans-serif">RE: [wsrp-interfaces] Q=
uestions
regarding getPortletDescription()</font></table>
<br>
<table>
<tr valign=3Dtop>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=3D2 color=3Dblue face=3D"Courier New">From my understanding,=
 as
long as the call is for a POP as CCPs aren't listed in the ServiceDescripti=
on.</font>
<br><font size=3D3>&nbsp;</font>
<br><font size=3D2 color=3Dblue face=3D"Courier New">Christopher</font>
<br><font size=3D2 face=3D"Tahoma">-----Original Message-----<b><br>
From:</b> Goldstein, Scott <b><br>
Sent:</b> Wednesday, June 02, 2004 5:08 PM<b><br>
To:</b> Rich Thompson; wsrp-interfaces@lists.oasis-open.org<b><br>
Subject:</b> RE: [wsrp-interfaces] Questions regarding getPortletDescriptio=
n()<br>
</font>
<br><font size=3D2 color=3D#000080 face=3D"Arial">Thanks for the info, Rich=
.</font>
<br><font size=3D2 color=3D#000080 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 color=3D#000080 face=3D"Arial">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&#8217; user categories, I would be guaranteed to recei=
ve
the same structure as if I had called getServiceDescription(). &nbsp;Correc=
t?</font>
<br><font size=3D2 color=3D#000080 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 color=3D#000080 face=3D"Arial">Scott</font>
<br><font size=3D2 color=3D#000080 face=3D"Arial">&nbsp;</font>
<br><font size=3D2 color=3D#000080 face=3D"Arial">&nbsp;</font>
<div align=3Dcenter>
<br>
<hr></div>
<br><font size=3D2 face=3D"Tahoma"><b>From:</b> Rich Thompson [mailto:richt=
2@us.ibm.com]
<b><br>
Sent:</b> Wednesday, June 02, 2004 8:57 AM<b><br>
To:</b> wsrp-interfaces@lists.oasis-open.org<b><br>
Subject:</b> Re: [wsrp-interfaces] Questions regarding getPortletDescriptio=
n()</font>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<br><font size=3D2 face=3D"sans-serif"><br>
Thanks for your persistence ... sometimes as we get busy we hope that others
will supply the answers :}</font><font size=3D3 face=3D"Times New Roman"> <=
br>
</font><font size=3D2 face=3D"sans-serif"><br>
The 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 portlet=
Handle.</font><font size=3D3 face=3D"Times New Roman">
</font><font size=3D2 face=3D"sans-serif"><br>
<br>
Rich </font><font size=3D3 face=3D"Times New Roman"><br>
</font>
<p>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D48%><font size=3D1 face=3D"sans-serif"><b>&quot;Goldstein, Scot=
t&quot;
&lt;Scott.Goldstein@vignette.com&gt;</b> </font>
<p><font size=3D1 face=3D"sans-serif">06/02/2004 11:31 AM</font><font size=
=3D3 face=3D"Times New Roman">
</font>
<td width=3D51%>
<br>
<table width=3D100%>
<tr>
<td width=3D12%>
<div align=3Dright><font size=3D1 face=3D"sans-serif">To</font></div>
<td width=3D87% valign=3Dtop><font size=3D1 face=3D"sans-serif">&lt;wsrp-in=
terfaces@lists.oasis-open.org&gt;</font><font size=3D3 face=3D"Times New Ro=
man">
</font>
<tr>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">cc</font></div>
<td valign=3Dtop><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<tr>
<td>
<div align=3Dright><font size=3D1 face=3D"sans-serif">Subject</font></div>
<td valign=3Dtop><font size=3D1 face=3D"sans-serif">[wsrp-interfaces] Quest=
ions
regarding getPortletDescription()</font></table>
<br><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<p>
<br>
<table width=3D100%>
<tr valign=3Dtop>
<td width=3D50%><font size=3D3 face=3D"Times New Roman">&nbsp;</font>
<td width=3D49%><font size=3D3 face=3D"Times New Roman">&nbsp;</font></tabl=
e>
<br></table>
<br><font size=3D3 face=3D"Times New Roman"><br>
<br>
</font><font size=3D2 face=3D"Arial"><br>
I haven&#8217;t received a reply to my message I sent out last week, so I t=
hought
I would try to resend it. &nbsp;If you have any answers to the questions
below, please reply. &nbsp;Thanks.</font><font size=3D3 face=3D"Times New R=
oman">
</font><font size=3D2 face=3D"Arial"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;</font><font size=3D2=
 face=3D"Arial"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;</font><font size=3D2=
 face=3D"Arial"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;</font><font size=3D2=
 face=3D"Arial"><br>
I have the following questions regarding the getPortletDescription() operat=
ion:</font><font size=3D3 face=3D"Times New Roman">
</font><font size=3D2 face=3D"Arial"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;</font><font size=3D2=
 face=3D"sans-serif"><br>
1. &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D2 face=3D"Arial">How does
the data returned in the PortletDescriptionResponse relate to the portlet
description contained within the ServiceDescription? &nbsp;Must they be
identical? &nbsp;Or, can the producer change the data based on the user
context. &nbsp;For instance, could the producer not specify a particular
supported mode if the user is not an admin?</font><font size=3D3 face=3D"Ti=
mes New Roman">
</font><font size=3D2 face=3D"sans-serif"><br>
2. &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D2 face=3D"Arial">If the a=
nswer
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? &nbsp;Perhaps by sending all of the
possible User Categories?</font><font size=3D3 face=3D"Times New Roman"> </=
font><font size=3D2 face=3D"sans-serif"><br>
3. &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=3D2 face=3D"Arial">If the a=
nswer
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? &nbsp;Will
passing all user categories avoid this?</font><font size=3D3 face=3D"Times =
New Roman">
</font><font size=3D2 face=3D"Arial"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;</font><font size=3D2=
 face=3D"Arial"><br>
Essentially, I&#8217;m trying to understand the intended use of getPortletD=
escription()
and if it can be used as an optimization to update portlet meta data without
having to retrieve the full service description.</font><font size=3D3 face=
=3D"Times New Roman">
</font><font size=3D2 face=3D"Arial"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;</font><font size=3D2=
 face=3D"Arial"><br>
Thanks for the information.</font><font size=3D3 face=3D"Times New Roman">
</font><font size=3D2 face=3D"Arial"><br>
 </font><font size=3D3 face=3D"Times New Roman">&nbsp;</font><font size=3D2=
 face=3D"Arial"><br>
Scott</font><font size=3D3 face=3D"Times New Roman"> </font>
<br>
--=_alternative 00394F8385256EA8_=--


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]