[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [no subject]
-----Original Message----- From: Goldstein, Scott=20 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. =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 Scott =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 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 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 = 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_01C448FF.2E3CFEC2 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20 "urn:schemas-microsoft-com:vml" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word"><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR><!--[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: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 vLink=3Dpurple link=3Dblue> <DIV><SPAN class=3D721420900-03062004><FONT face=3D"Courier New" = color=3D#0000ff=20 size=3D2>From my understanding, as long as the call is for a POP as CCPs = aren't=20 listed in the ServiceDescription.</FONT></SPAN></DIV> <DIV><SPAN class=3D721420900-03062004><FONT face=3D"Courier New" = color=3D#0000ff=20 size=3D2></FONT></SPAN> </DIV> <DIV><SPAN class=3D721420900-03062004><FONT face=3D"Courier New" = color=3D#0000ff=20 size=3D2>Christopher</FONT></SPAN></DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT = face=3DTahoma=20 size=3D2>-----Original Message-----<BR><B>From:</B> Goldstein, Scott=20 <BR><B>Sent:</B> Wednesday, June 02, 2004 5:08 PM<BR><B>To:</B> Rich = Thompson;=20 wsrp-interfaces@lists.oasis-open.org<BR><B>Subject:</B> RE: = [wsrp-interfaces]=20 Questions regarding getPortletDescription()<BR><BR></FONT></DIV> <DIV class=3DSection1> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks for = the info,=20 Rich.<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">So, just to = be=20 completely clear, in the case that the metadata is not updated in any = fashion=20 by the producer, if I were to call getPortletDescription() with a = UserContext=20 containing all of the Producers’ user categories, I would be = guaranteed to=20 receive the same structure as if I had called getServiceDescription(). = Correct?<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial">Scott<o:p></o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal><FONT face=3DArial color=3Dnavy size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: = Arial"><o:p> </o:p></SPAN></FONT></P> <DIV> <DIV class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in; TEXT-ALIGN: = center"=20 align=3Dcenter><FONT face=3D"Times New Roman" size=3D3><SPAN=20 style=3D"FONT-SIZE: 12pt"> <HR tabIndex=3D-1 align=3Dcenter width=3D"100%" SIZE=3D3> </SPAN></FONT></DIV> <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><B><FONT = face=3DTahoma=20 size=3D2><SPAN=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: = Tahoma">From:</SPAN></FONT></B><FONT=20 face=3DTahoma size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Tahoma"> Rich=20 Thompson [mailto:richt2@us.ibm.com] <BR><B><SPAN=20 style=3D"FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, June 02, 2004 = 8:57=20 AM<BR><B><SPAN style=3D"FONT-WEIGHT: bold">To:</SPAN></B>=20 wsrp-interfaces@lists.oasis-open.org<BR><B><SPAN=20 style=3D"FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [wsrp-interfaces] = Questions=20 regarding getPortletDescription()</SPAN></FONT><o:p></o:p></P></DIV> <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times = New Roman"=20 size=3D3><SPAN style=3D"FONT-SIZE: = 12pt"><o:p> </o:p></SPAN></FONT></P> <P class=3DMsoNormal=20 style=3D"MARGIN-BOTTOM: 12pt; MARGIN-LEFT: 0.5in; MARGIN-RIGHT: 0in; = mso-margin-top-alt: 0in"><FONT=20 face=3D"Times New Roman" size=3D3><SPAN=20 style=3D"FONT-SIZE: 12pt"><BR></SPAN></FONT><FONT face=3Dsans-serif = size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: sans-serif">Thanks for your = persistence=20 ... sometimes as we get busy we hope that others will supply the = answers=20 :}</SPAN></FONT> <BR><BR><FONT face=3Dsans-serif size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: sans-serif">The data in=20 GetPortletDescriptionResponse is the same that is included in the = array=20 returned by getServiceDescription() with a few caveats. The data is = allowed to=20 change (portlet data updated, user access rights, etc) and most = Producers will=20 only return data from getServiceDescription() for their POPs while=20 getPortletDescription() can be invoked against any=20 portletHandle.</SPAN></FONT> <BR><FONT face=3Dsans-serif = size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: sans-serif"><BR>Rich=20 </SPAN></FONT><BR><BR><o:p></o:p></P> <TABLE class=3DMsoNormalTable style=3D"MARGIN-LEFT: 0.5in; WIDTH: = 100%"=20 cellSpacing=3D3 cellPadding=3D0 width=3D"100%" border=3D0> <TBODY> <TR> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; WIDTH: 39.98%; PADDING-TOP: 0.75pt"=20 vAlign=3Dtop width=3D"39%"> <P class=3DMsoNormal><B><FONT face=3Dsans-serif size=3D1><SPAN=20 style=3D"FONT-WEIGHT: bold; FONT-SIZE: 7.5pt; FONT-FAMILY: = sans-serif">"Goldstein,=20 Scott" = <Scott.Goldstein@vignette.com></SPAN></FONT></B><FONT=20 face=3Dsans-serif size=3D1><SPAN=20 style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: sans-serif">=20 </SPAN></FONT><o:p></o:p></P> <P><FONT face=3Dsans-serif size=3D1><SPAN=20 style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: sans-serif">06/02/2004 = 11:31=20 AM</SPAN></FONT> <o:p></o:p></P></TD> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; WIDTH: 58.98%; PADDING-TOP: 0.75pt"=20 vAlign=3Dtop width=3D"58%"> <TABLE class=3DMsoNormalTable style=3D"WIDTH: 100%" = cellSpacing=3D3=20 cellPadding=3D0 width=3D"100%" border=3D0> <TBODY> <TR> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"> <P class=3DMsoNormal style=3D"TEXT-ALIGN: right" = align=3Dright><FONT=20 face=3Dsans-serif size=3D1><SPAN=20 style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: = sans-serif">To</SPAN></FONT><o:p></o:p></P></TD> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"=20 vAlign=3Dtop> <P class=3DMsoNormal><FONT face=3Dsans-serif = size=3D1><SPAN=20 style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: = sans-serif"><wsrp-interfaces@lists.oasis-open.org></SPAN></FONT>=20 <o:p></o:p></P></TD></TR> <TR> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"> <P class=3DMsoNormal style=3D"TEXT-ALIGN: right" = align=3Dright><FONT=20 face=3Dsans-serif size=3D1><SPAN=20 style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: = sans-serif">cc</SPAN></FONT><o:p></o:p></P></TD> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"=20 vAlign=3Dtop> <P class=3DMsoNormal><FONT face=3D"Times New Roman" = size=3D3><SPAN=20 style=3D"FONT-SIZE: = 12pt"><o:p> </o:p></SPAN></FONT></P></TD></TR> <TR> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"> <P class=3DMsoNormal style=3D"TEXT-ALIGN: right" = align=3Dright><FONT=20 face=3Dsans-serif size=3D1><SPAN=20 style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: = sans-serif">Subject</SPAN></FONT><o:p></o:p></P></TD> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"=20 vAlign=3Dtop> <P class=3DMsoNormal><FONT face=3Dsans-serif = size=3D1><SPAN=20 style=3D"FONT-SIZE: 7.5pt; FONT-FAMILY: = sans-serif">[wsrp-interfaces]=20 Questions regarding=20 = getPortletDescription()</SPAN></FONT><o:p></o:p></P></TD></TR></TBODY></T= ABLE> <P class=3DMsoNormal><FONT face=3D"Times New Roman" = size=3D3><SPAN=20 style=3D"FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P> <TABLE class=3DMsoNormalTable cellSpacing=3D3 cellPadding=3D0 = border=3D0> <TBODY> <TR> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"=20 vAlign=3Dtop> <P class=3DMsoNormal><FONT face=3D"Times New Roman" = size=3D3><SPAN=20 style=3D"FONT-SIZE: = 12pt"><o:p> </o:p></SPAN></FONT></P></TD> <TD=20 style=3D"PADDING-RIGHT: 0.75pt; PADDING-LEFT: 0.75pt; = PADDING-BOTTOM: 0.75pt; PADDING-TOP: 0.75pt"=20 vAlign=3Dtop> <P class=3DMsoNormal><FONT face=3D"Times New Roman" = size=3D3><SPAN=20 style=3D"FONT-SIZE: = 12pt"><o:p> </o:p></SPAN></FONT></P></TD></TR></TBODY></TABLE> <P class=3DMsoNormal><FONT face=3D"Times New Roman" = size=3D3><SPAN=20 style=3D"FONT-SIZE: = 12pt"><o:p></o:p></SPAN></FONT></P></TD></TR></TBODY></TABLE> <P class=3DMsoNormal style=3D"MARGIN-LEFT: 0.5in"><FONT face=3D"Times = New Roman"=20 size=3D3><SPAN style=3D"FONT-SIZE: = 12pt"><BR><BR><BR></SPAN></FONT><FONT=20 face=3DArial size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial">I haven’t=20 received a reply to my message I sent out last week, so I thought I = would try=20 to resend it. If you have any answers to the questions below, = please=20 reply. Thanks.</SPAN></FONT> <BR><FONT face=3DArial = size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT> = <BR><FONT=20 face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT> = <BR><FONT=20 face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT> = <BR><FONT=20 face=3DArial size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial">I have the=20 following questions regarding the getPortletDescription()=20 operation:</SPAN></FONT> <BR><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT> = <BR><FONT=20 face=3Dsans-serif size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: sans-serif">1. = =20 </SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">How does the data = returned in the=20 PortletDescriptionResponse relate to the portlet description contained = within=20 the ServiceDescription? Must they be identical? Or, can = the=20 producer change the data based on the user context. For = instance, could=20 the producer not specify a particular supported mode if the user is = not an=20 admin?</SPAN></FONT> <BR><FONT face=3Dsans-serif size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: sans-serif">2. = =20 </SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">If the answer to #1 is = that they=20 can be different, then is there a way to ensure, when calling this = method,=20 that the PortletDescription returned would be equal to that in the=20 ServiceDescription? Perhaps by sending all of the possible User=20 Categories?</SPAN></FONT> <BR><FONT face=3Dsans-serif size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: sans-serif">3. = =20 </SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">If the answer to #1 is = that they=20 must be the same, then is the only use of the UserContext attribute to = allow=20 the producer to throw an AccessDenied Fault? Will passing all = user=20 categories avoid this?</SPAN></FONT> <BR><FONT face=3DArial = size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT> = <BR><FONT=20 face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Essentially, I’m = trying to=20 understand the intended use of getPortletDescription() and if it can = be used=20 as an optimization to update portlet meta data without having to = retrieve the=20 full service description.</SPAN></FONT> <BR><FONT face=3DArial = size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT> = <BR><FONT=20 face=3DArial size=3D2><SPAN style=3D"FONT-SIZE: 10pt; FONT-FAMILY: = Arial">Thanks for=20 the information.</SPAN></FONT> <BR><FONT face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial"> </SPAN></FONT> = <BR><FONT=20 face=3DArial size=3D2><SPAN=20 style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Scott</SPAN></FONT>=20 <o:p></o:p></P></DIV></BLOCKQUOTE></BODY></HTML> ------_=_NextPart_001_01C448FF.2E3CFEC2--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]