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

 


Help: OASIS Mailing Lists Help | MarkMail Help

wsrp-interop message

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


Subject: Re: [wsrp-interop] Re: [Fwd: oracle portlet - edit mode]



At the very end of section 6.8: "The Consumer is required to use one of the modes specified by the PortletDescription (or the required “wsrp:view” mode).". The intent of this statement is that all parties MUST support the wsrp:view mode.

Rich



David Ward <david.ward@oracle.com>

09/12/2003 08:12 AM

To
Eric Xu <Eric.Xu@plumtree.com>
cc
wsrp-interop@lists.oasis-open.org
Subject
[wsrp-interop] Re: [Fwd: oracle portlet - edit mode]





OK

I've finally got to the bottom of this. It seemed that I only got this error when using this particular registration handle and now I know why.

When you hit the "OK" button on one of our customizable portlets, the action handler stores the data and then tries to change the mode to wsrp:view. However the portlet container validates that the new mode is one supported by the consumer, i.e. it has to be one of the modes mentioned in the RegistrationData.consumerModes array during registration.

I know that a portlet's support for wsrp:view is implicit, but am I supposed to take it for granted that wsrp:view is always supported by every consumer, even if it is not listed in consumerModes during registration? I can't actually find a reference in the spec that clarifies this.

Eric - as a workaround for now, can you get your consumer to include wsrp:view in the consumerModes array during registration?

Thanks

David

Eric Xu wrote:

Hi, David,
    Did you get a chance to look at the trace for the cloning problem I'm having?  I'm getting an operationfailed message when I try to change the title of any oracle portlet.
    Is there any way I can get traces of the requests the oracle consumer submits to its producer, just like bea's trace monitoring site?  If that's there, I don't need to bother you too much.  =)
 
Thanks,
Eric
 
-----Original Message-----
From:
Eric Xu
Sent:
Friday, September 05, 2003 9:48 AM
To:
'David Ward'; Michael Freedman
Subject:
RE: [Fwd: oracle portlet - edit mode]

Oh, looks like all the xml tags were stripped by the email reader.  My bad, I should have attached the file instead of copy&paste.  Here it is.
 
Thanks,
Eric
-----Original Message-----
From:
David Ward [
mailto:david.ward@oracle.com]
Sent:
Friday, September 05, 2003 3:53 AM
To:
Michael Freedman; Eric Xu
Subject:
Re: [Fwd: oracle portlet - edit mode]

Please can you send me a log of the request and response without the XML tags removed!

Thanks

David

Michael Freedman wrote:

Do you have anyone who can take a look at this?

-------- Original Message --------
Return-Path:
<Eric.Xu@plumtree.com>
Received:
from rgmum6.us.oracle.com by rgmum6.us.oracle.com with ESMTP id 2472123261062709563; Thu, 04 Sep 2003 17:06:03 -0400
Return-Path:
<Eric.Xu@plumtree.com>
Received:
from rgmgw4.us.oracle.com by rgmum12.us.oracle.com with ESMTP id 478230671062709509; Thu, 04 Sep 2003 15:05:09 -0600
Received:
from inet-mail2.oracle.com (inet-mail2.oracle.com [148.87.2.202]) by rgmgw4.us.oracle.com (Switch-2.1.5/Switch-2.1.0) with ESMTP id h84L57428792 for <Michael.Freedman@oracle.com>; Thu, 4 Sep 2003 15:05:07 -0600 (MDT)
Received:
from inet-mail2.oracle.com (localhost [127.0.0.1]) by inet-mail2.oracle.com (Switch-3.1.0/Switch-3.1.0) with ESMTP id h84L54fp006937 for <Michael.Freedman@oracle.com>; Thu, 4 Sep 2003 14:05:04 -0700 (PDT)
Received:
from CSTAWA01.USIPLUMTREE.AD (cstawa01.usi.net [209.62.141.21]) by inet-mail2.oracle.com (Switch-3.1.0/Switch-3.1.0) with SMTP id h84L53fp006924 for <Michael.Freedman@oracle.com>; Thu, 4 Sep 2003 14:05:03 -0700 (PDT)
X-MIMEOLE:
Produced By Microsoft Exchange V6.0.6249.0
content-class:
urn:content-classes:message
MIME-Version:
1.0
Content-Type:
text/plain; charset="iso-8859-1"
Content-Transfer-Encoding:
quoted-printable
Subject:
oracle portlet - edit mode
Date:
Thu, 4 Sep 2003 14:06:12 -0700
Message-ID:
<C7F00D7948B8E4468BB330152C6BA4E007439225@cstaex03.usiplumtree.ad>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic:
oracle portlet - edit mode
Thread-Index:
AcNzKDUYmUNvO4dAQeybAn8uU1385w==
From:
"Eric Xu" <Eric.Xu@plumtree.com>
To:
"Michael Freedman" <Michael.Freedman@oracle.com>
Cc:
"Clinton Davidson" <ClintonD@plumtree.com>



Hi, Mike,
                In edit mode, oracle portlet shows a form for editing its title.  When I clicked 'ok', I got an operation failed fault back.  There's no detailed message, and I'm having trouble figuring out what went wrong.  The portlet's already cloned, and state readWrite was sent in performBlockingInteraction request.  Do you have an idea what I'm missing?
                Below is the request and response.  Thanks.

POST /wsrp/jaxrpc/WSRPBaseService HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.1 Host: portalstandards.oracle.com Cache-Control: no-cache Pragma: no-cache SOAPAction: "urn:oasis:names:tc:wsrp:v1:performBlockingInteraction" Content-Length: 2473  


 
 
   C:148.87.122.191:572200:f74aa3872e:-7f98
 
 
   E:4:148.87.122.191:572200:f74aa3872e:-7f1a
 
 
   wsrp:password
   pt__531
   pt__531
 
 
   Administrator
 
 
   false
   en-US
   text/html
   wsrp:edit
   wsrp:normal
   
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.0.3705)
   
   UTF-8
   urn:javax:portlet:mode:custom:edit_defaults
   wsrp:view
   urn:javax:portlet:mode:custom:about
   wsrp:edit
   wsrp:preview
   wsrp:normal
   wsrp:minimized
   wsrp:maximized
 
 
   readWrite
   
    blockingAction
   
   
    Cached Test Portlet
   
   
    wsrp:edit
   
   
    false
   
   
    wsrp:normal
   
   
    OK
   
 
 




HTTP/1.1 200 OK Date: Thu, 04 Sep 2003 21:00:44 GMT Cache-Control: private SOAPAction: "" Server: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/Oracl Content-Length: 464 Content-Type: text/xml; charset="utf-8" Connection: Close  
env:Serveroracle.webdb.wsrp.OperationFailed


Eric


--

David Ward
Principal Software Engineer
Oracle Portal
Oracle European Development Centre
520 Oracle Parkway
Thames Valley Park
Reading
Berkshire RG6 1RA
UK
Email:
david.ward@oracle.com
Tel:
+44 118 924 5079
Fax:
+44 118 924 5561



--

David Ward
Principal Software Engineer
Portlet Technologies
Oracle Portal
Oracle European Development Centre
520 Oracle Parkway
Thames Valley Park
Reading
Berkshire RG6 1RA
UK
Email:
david.ward@oracle.com
Tel:
+44 118 924 5079
Fax:
+44 118 924 5005





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