[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [wsrp-interfaces] Questions regarding
Thanks for the info, Rich.=20 =20 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?=20 =20 Scott=20 =20 =20 =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 =20 Thanks for your persistence ... sometimes as we get busy we hope that others will supply the answers :}=20 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.=20 Rich=20 "Goldstein, Scott" <Scott.Goldstein@vignette.com>=20 06/02/2004 11:31 AM=20 =20 To <wsrp-interfaces@lists.oasis-open.org>=20 cc =20 Subject [wsrp-interfaces] Questions regarding getPortletDescription() =20 =20 =20 =20 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.=20 =20 =20 =20 I have the following questions regarding the getPortletDescription() operation:=20 =20 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?=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 returned would be equal to that in the ServiceDescription? Perhaps by sending all of the possible User Categories?=20 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?=20 =20 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.=20 =20 Thanks for the information.=20 =20 Scott=20 ------_=_NextPart_001_01C449AF.4EB3B700 Content-Type: text/html; charset="us-ascii" 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:st1=3D"urn:schemas-microsoft-com:office:smarttags" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-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]--><o:SmartTagType namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" = name=3D"place"/> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:sans-serif; panose-1:0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; 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:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} 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'>Thanks, again, 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> </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'>It might be worth considering = changing the language of the getPortletDescription() section to clarify expected = behavior. The existence of the UserContext parameter together with the = statements:<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> </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'>“This operation allows a = Producer to provide information about the Portlets it offers in a = contextsensitive<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'>manner.”<o:p></o:p></span></fo= nt></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> </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'>and<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> </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'>“Consumers may choose to = alter how they interact with a Portlet based on the = metadata<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'>contained in the returned PortletDescriptionResponse.”<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> </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'>leads me to believe, as a Consumer developer, that the content returned from this operation will be = different than that in the ServiceDescription. This makes me wonder if I should completely ignore what’s found in the ServiceDescription to avoid = using incorrect information.<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> </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> </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> </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> </o:p></span></font></p> <div> <div class=3DMsoNormal align=3Dcenter = style=3D'margin-left:.5in;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> <p class=3DMsoNormal style=3D'margin-left:.5in'><b><font size=3D2 = face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa= n></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> Thursday, June 03, = 2004 3:26 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:.5in'><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p> <p class=3DMsoNormal = style=3D'mso-margin-top-alt:0in;margin-right:0in;margin-bottom: 12.0pt;margin-left:.5in'><font size=3D3 face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br> </span></font><font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt; font-family:sans-serif'>Agreed.</span></font> <br> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family:sans-serif'><br> Rich</span></font> <br> <br> <o:p></o:p></p> <table class=3DMsoNormalTable border=3D0 cellspacing=3D3 cellpadding=3D0 = width=3D"100%" style=3D'width:100.0%;margin-left:.5in'> <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=3Dsans-serif><span = style=3D'font-size: 7.5pt;font-family:sans-serif;font-weight:bold'>"<st1:place = w:st=3D"on">Coco</st1:place>, Christopher" = <Christopher.Coco@vignette.com></span></font></b><font size=3D1 face=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family:sans-serif'> = </span></font><o:p></o:p></p> <p><font size=3D1 face=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family: sans-serif'>06/02/2004 08:10 PM</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=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family:sans-serif'>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=3Dsans-serif><span = style=3D'font-size: 7.5pt;font-family:sans-serif'>"Goldstein, Scott" <Scott.Goldstein@vignette.com>, Rich = Thompson/Watson/IBM@IBMUS, <wsrp-interfaces@lists.oasis-open.org></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=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family:sans-serif'>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> </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=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family:sans-serif'>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=3Dsans-serif><span = style=3D'font-size: 7.5pt;font-family:sans-serif'>RE: [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> </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> </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> </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:.5in'><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br> <br> <br> </span></font><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> <br> <br> <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> <br> <font size=3D2 face=3DTahoma><span = style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<b><span style=3D'font-weight:bold'><br> From:</span></b> Goldstein, Scott <b><span = style=3D'font-weight:bold'><br> Sent:</span></b> Wednesday, June 02, 2004 5:08 PM<b><span = style=3D'font-weight: bold'><br> To:</span></b> Rich Thompson; = wsrp-interfaces@lists.oasis-open.org<b><span style=3D'font-weight:bold'><br> Subject:</span></b> RE: [wsrp-interfaces] Questions regarding getPortletDescription()<br> </span></font><br> <font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family: Arial;color:navy'>Thanks for the info, Rich.</span></font> <br> <font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family: Arial;color:navy'> </span></font> <br> <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(). = Correct?</span></font> <br> <font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family: Arial;color:navy'> </span></font> <br> <font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family: Arial;color:navy'>Scott</span></font> <br> <font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family: Arial;color:navy'> </span></font> <br> <font size=3D2 color=3Dnavy face=3DArial><span = style=3D'font-size:10.0pt;font-family: Arial;color:navy'> </span></font> <o:p></o:p></p> <p class=3DMsoNormal align=3Dcenter = style=3D'margin-left:.5in;text-align:center'><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p> <div class=3DMsoNormal align=3Dcenter = style=3D'margin-left:.5in;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> </span></font></div> <p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 = face=3D"Times New Roman"><span style=3D'font-size:12.0pt'><br> </span></font><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'> Rich = Thompson [mailto:richt2@us.ibm.com] <b><span style=3D'font-weight:bold'><br> Sent:</span></b> Wednesday, June 02, 2004 8:57 AM<b><span = style=3D'font-weight: bold'><br> To:</span></b> wsrp-interfaces@lists.oasis-open.org<b><span = style=3D'font-weight: bold'><br> Subject:</span></b> Re: [wsrp-interfaces] Questions regarding getPortletDescription()</span></font> <br> <br> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family:sans-serif'><br> Thanks for your persistence ... sometimes as we get busy we hope that = others will supply the answers :}</span></font> <br> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family: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 = portletHandle.</span></font> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family:sans-serif'><br> <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:.5in'> <tr> <td width=3D"47%" valign=3Dtop style=3D'width:47.98%;padding:.75pt = .75pt .75pt .75pt'> <p class=3DMsoNormal><b><font size=3D1 face=3Dsans-serif><span = style=3D'font-size: 7.5pt;font-family:sans-serif;font-weight:bold'>"Goldstein, = Scott" <Scott.Goldstein@vignette.com></span></font></b><font size=3D1 face=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family:sans-serif'> = </span></font><o:p></o:p></p> <p><font size=3D1 face=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family: sans-serif'>06/02/2004 11:31 AM</span></font> <o:p></o:p></p> </td> <td width=3D"50%" valign=3Dtop style=3D'width:50.98%;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> </o:p></span></font></p> <table class=3DMsoNormalTable border=3D0 cellspacing=3D3 = cellpadding=3D0 width=3D"100%" style=3D'width:100.0%'> <tr> <td width=3D"12%" style=3D'width:12.0%;padding:.75pt .75pt .75pt = .75pt'> <p class=3DMsoNormal align=3Dright style=3D'text-align:right'><font = size=3D1 face=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family:sans-serif'>To</span></font><o:p></o= :p></p> </td> <td width=3D"87%" valign=3Dtop style=3D'width:87.0%;padding:.75pt = .75pt .75pt .75pt'> <p class=3DMsoNormal><font size=3D1 face=3Dsans-serif><span = style=3D'font-size: = 7.5pt;font-family:sans-serif'><wsrp-interfaces@lists.oasis-open.org>= ;</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=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family:sans-serif'>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></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=3Dsans-serif><span = style=3D'font-size:7.5pt;font-family:sans-serif'>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=3Dsans-serif><span = style=3D'font-size: 7.5pt;font-family:sans-serif'>[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'><br> <o:p></o:p></span></font></p> <p><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size:12.0pt'><o:p> </o:p></span></font></p> <table class=3DMsoNormalTable border=3D0 cellspacing=3D3 = cellpadding=3D0 width=3D"100%" style=3D'width:100.0%'> <tr> <td width=3D"50%" valign=3Dtop style=3D'width:50.0%;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></o:p></span></font></p> </td> <td width=3D"49%" valign=3Dtop style=3D'width:49.0%;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></o:p></span></font></p> </td> </tr> </table> <p><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 style=3D'margin-left:.5in'><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'><br> 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.</span></font> <font = size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><br> </span></font> <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><br> </span></font> <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><br> </span></font> <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><br> I have the following questions regarding the getPortletDescription() = operation:</span></font> <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'><br> </span></font> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt; font-family:sans-serif'><br> 1. </span></font><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>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?</span></font> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt; font-family:sans-serif'><br> 2. </span></font><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>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?</span></font> <font size=3D2 face=3Dsans-serif><span = style=3D'font-size:10.0pt;font-family:sans-serif'><br> 3. </span></font><font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>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?</span></font> <font size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><br> </span></font> <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><br> 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> <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt;font-family:Arial'><br> </span></font> <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><br> Thanks for the information.</span></font> <font size=3D2 = face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'><br> </span></font> <font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><br> Scott</span></font> <o:p></o:p></p> </div> </body> </html> ------_=_NextPart_001_01C449AF.4EB3B700--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]