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: [no subject]


 

Christopher

-----Original Message-----
From: Goldstein, Scott 
Sent: Wednesday, June 02, 2004 5:08 PM
To: Rich Thompson; wsrp-interfaces@lists.oasis-open.org
Subject: RE: [wsrp-interfaces] Questions regarding getPortletDescription()

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?

 

Scott

 

 


  _____  


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

 


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

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 portletHandle.


Rich 


"Goldstein, Scott" <Scott.Goldstein@vignette.com> 

06/02/2004 11:31 AM 


To

<wsrp-interfaces@lists.oasis-open.org> 


cc

 


Subject

[wsrp-interfaces] Questions regarding getPortletDescription()

 


 

 




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. 
  
  
  
I have the following questions regarding the getPortletDescription()
operation: 
  
1.        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 admin? 
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
returned would be equal to that in the ServiceDescription?  Perhaps by
sending all of the possible User Categories? 
3.        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 avoid this? 
  
Essentially, 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. 
  
Thanks for the information. 
  
Scott 


------_=_NextPart_001_01C44C6D.A55FF2E1
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40";>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:"\@SimSun";}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0cm;
	mso-margin-bottom-alt:auto;
	margin-left:0cm;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>We currently have no requirement =
for a
consumer to call getPortletDescription() after cloning a POP. This is
especially important for our "clone on write" protocol, so that a
consumer can simply store the returned (new) PortletContext and =
continue
otherwise unaffected. This in effect makes the meta data of any clone =
(returned
by getPortletDescription using the new Portlet Handle) equal to that of =
the POP
(as listed in getServiceDescription).<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Therefore, the only use case I can =
think
of for getPortletDescriptions is for consumers that do not remember =
portlet
meta data and do not track the relationship of a clones all the way =
back to
their parent POP. In this case the consumer is not able to use
getServiceDescription and relies on the (same) meta data returned via =
getPortletDescription.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>By meta data I mean our protocol =
controls
such as groupID and usesMethodGet. Proprietory info returned could vary =
(based on
user context) of course. <o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Andre<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>=


<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> =
Coco,
Christopher [mailto:Christopher.Coco@vignette.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> 03 June 2004 =
01:11<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Goldstein, Scott; =
Rich
Thompson; wsrp-interfaces@lists.oasis-open.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: =
[wsrp-interfaces]
Questions regarding =
getPortletDescription()</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>From my
understanding, as long as the call is for a POP as CCPs aren't listed =
in the
ServiceDescription.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>Christopher</span></font><o:p></o:p></p>

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Goldstein, Scott =
<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, June =
02, 2004
5:08 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Rich Thompson;
wsrp-interfaces@lists.oasis-open.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: =
[wsrp-interfaces]
Questions regarding =
getPortletDescription()</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for the info, =
Rich.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>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(). =
&nbsp;Correct?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Scott<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>=


<div>

<div style=3D'margin-left:36.0pt'>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D3 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

</div>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</sp=
an></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Rich Thompson
[mailto:richt2@us.ibm.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, June =
02, 2004
8:57 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b>
wsrp-interfaces@lists.oasis-open.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: =
[wsrp-interfaces]
Questions regarding =
getPortletDescription()</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal =
style=3D'mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:
12.0pt;margin-left:36.0pt'><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'><br>
</span></font><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial'>Thanks for your persistence ... sometimes as we get busy we hope =
that
others will supply the answers :}</span></font> <br>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>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 =
portletHandle.</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><br>
Rich </span></font><o:p></o:p></p>

<table class=3DMsoNormalTable border=3D0 cellspacing=3D3 =
cellpadding=3D0 width=3D"100%"
 style=3D'width:100.0%;margin-left:36.0pt'>
 <tr>
  <td width=3D"39%" valign=3Dtop style=3D'width:39.98%;padding:.75pt =
.75pt .75pt .75pt'>
  <p class=3DMsoNormal><b><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
  font-family:Arial;font-weight:bold'>&quot;Goldstein, Scott&quot;
  &lt;Scott.Goldstein@vignette.com&gt;</span></font></b><font size=3D1
  face=3DArial><span style=3D'font-size:7.5pt;font-family:Arial'> =
</span></font><o:p></o:p></p>
  <p><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial'>06/02/2004
  11:31 AM</span></font> <o:p></o:p></p>
  </td>
  <td width=3D"58%" valign=3Dtop style=3D'width:58.98%;padding:.75pt =
.75pt .75pt .75pt'>
  <table class=3DMsoNormalTable border=3D0 cellspacing=3D3 =
cellpadding=3D0 width=3D"100%"
   style=3D'width:100.0%'>
   <tr>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><font =
size=3D1
    face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial'>To</span></font><o:p></o:p><=
/p>
    </td>
    <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
    =
font-family:Arial'>&lt;wsrp-interfaces@lists.oasis-open.org&gt;</span></=
font>
    <o:p></o:p></p>
    </td>
   </tr>
   <tr>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><font =
size=3D1
    face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial'>cc</span></font><o:p></o:p><=
/p>
    </td>
    <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
    style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>
    </td>
   </tr>
   <tr>
    <td style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><font =
size=3D1
    face=3DArial><span =
style=3D'font-size:7.5pt;font-family:Arial'>Subject</span></font><o:p></=
o:p></p>
    </td>
    <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><font size=3D1 face=3DArial><span =
style=3D'font-size:7.5pt;
    font-family:Arial'>[wsrp-interfaces] Questions regarding
    getPortletDescription()</span></font><o:p></o:p></p>
    </td>
   </tr>
  </table>
  <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
  style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>
  <table class=3DMsoNormalTable border=3D0 cellspacing=3D3 =
cellpadding=3D0>
   <tr>
    <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
    style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>
    </td>
    <td valign=3Dtop style=3D'padding:.75pt .75pt .75pt .75pt'>
    <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
    style=3D'font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>
    </td>
   </tr>
  </table>
  <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span
  style=3D'font-size:12.0pt'><o:p></o:p></span></font></p>
  </td>
 </tr>
</table>

<p class=3DMsoNormal style=3D'margin-left:36.0pt'><font size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br>
<br>
<br>
</span></font><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial'>I haven't received a reply to my message I sent out last week, =
so
I thought I would try to resend it. &nbsp;If you have any answers to =
the
questions below, please reply. &nbsp;Thanks.</span></font> <br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>I have
the following questions regarding the getPortletDescription() =
operation:</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>1.
&nbsp; &nbsp; &nbsp; &nbsp;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?</span></font> <br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>2.
&nbsp; &nbsp; &nbsp; &nbsp;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?
&nbsp;Perhaps by sending all of the possible User =
Categories?</span></font> <br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>3.
&nbsp; &nbsp; &nbsp; &nbsp;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? &nbsp;Will passing all user categories =
avoid this?</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Essentially,
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.</span></font> <br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Thanks
for the information.</span></font> <br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;</span></font>
<br>
<font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>Scott</span></font>
<o:p></o:p></p>

</blockquote>

</div>

</body>

</html>

------_=_NextPart_001_01C44C6D.A55FF2E1--


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