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] Oracle Producer returns operationFailed fault whenuserContext=nil



Hi Mike,

I was able to retest it.
It appears on the portlets where you use the UserContextKey to display a
greeting message to the user, these are E:0:default and E:1:default.
So it seems to be more a portlet problem (don't know your implementation :
-) ).
Btw. for convienience we are now sending a UserContextKey in any case
(value is "FallbackUserKey") but with no profile information.
The portlets above use the value of the key to be the user's name, i.e. the
portlets display "Hello FallbackUserKey".
Is this just for testing reasons or do you interpret the UserContextKey to
be the user's name?

Could you please let me know if you don't require the UserContext any more
so I can remove the workaround from our code.

Mit freundlichen Gruessen / best regards,

        Richard Jacob
______________________________________________________
IBM Lab Boeblingen, Germany
Dept.8288, WebSphere Portal Server Development
Phone: ++49 7031 16-3469  -  Fax: ++49 7031 16-4888
Email: mailto:richard.jacob@de.ibm.com


|---------+----------------------------->
|         |           Michael Freedman  |
|         |           <Michael.Freedman@|
|         |           oracle.com>       |
|         |                             |
|         |           07/02/2003 02:49  |
|         |           AM                |
|---------+----------------------------->
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                                                  |
  |       To:       Richard Jacob/Germany/IBM@IBMDE                                                                                                  |
  |       cc:                                                                                                                                        |
  |       Subject:  Re: [wsrp-interop] Oracle Producer returns operationFailed fault when userContext=nil                                            |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|




Unfortunately I couldn't to a rebuild today to verify/test/debug
this...one thought I had is that we have at least one portlet [hello
world] that uses the user context -- Does the problem only occur with
this portlet or all portlets in the producer -- this would indicate it
might be a portlet not a container bug?
      -Mike-

Richard Jacob wrote:

>Hi,
>
>it seems that the Oracle Producer returns a operationFailed fault if the
>consumer doesn't pass a userContext on the getMarkup call.
>But userContext is nillable.
>I tried this on the E:1:default portlet handle.
>Here are the message logs:
>
>==== Request ====
>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.1RC2
>Host: localhost:8081
>Cache-Control: no-cache
>Pragma: no-cache
>SOAPAction: "urn:oasis:names:tc:wsrp:v1:getMarkup"
>Content-Length: 1550
>
><?xml version="1.0" encoding="UTF-8"?>
><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi
>="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
>  <getMarkup xmlns="urn:oasis:names:tc:wsrp:v1:types">
>   <registrationContext>
>    <registrationHandle>C:148.87.122.191:265121:f5fe1beba5:
>-7fd2</registrationHandle>
>   </registrationContext>
>   <portletContext>
>    <portletHandle>E:1:default</portletHandle>
>   </portletContext>
>   <runtimeContext>
>    <userAuthentication>wsrp:none</userAuthentication>
>    <portletInstanceKey>Oracle_row_col1_p1</portletInstanceKey>
>    <namespacePrefix>Pluto_Oracle_row_col1_p1_</namespacePrefix>
>   </runtimeContext>
>   <userContext xsi:nil="true"/>
>   <markupParams>
>    <secureClientCommunication>false</secureClientCommunication>
>    <locales>en</locales>
>    <locales>de</locales>
>    <mimeTypes>text/html</mimeTypes>
>    <mode>wsrp:view</mode>
>    <windowState>wsrp:normal</windowState>
>    <clientData>
>     <userAgent>WSRP4J Swing Consumer V. 0.3</userAgent>
>    </clientData>
>    <markupCharacterSets>UTF-8</markupCharacterSets>
>    <validNewModes>wsrp:view</validNewModes>
>    <validNewModes>wsrp:help</validNewModes>
>    <validNewModes>wsrp:edit</validNewModes>
>    <validNewWindowStates>wsrp:normal</validNewWindowStates>
>    <validNewWindowStates>wsrp:maximized</validNewWindowStates>
>    <validNewWindowStates>wsrp:minimized</validNewWindowStates>
>   </markupParams>
>  </getMarkup>
> </soapenv:Body>
></soapenv:Envelope>
>==== Response ====
>HTTP/1.1 200 OK
>Via: HTTP/1.1 ips-ehni-c.ehningen.de.ibm.com (IBM-PROXY-WTE)
>Date: Fri, 27 Jun 2003 11:25:25 GMT
>Cache-Control: private
>SOAPAction: ""
>Server: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/Oracl
>Content-Length: 469
>Content-Type: text/xml; charset="utf-8"
>
><?xml version="1.0" encoding="UTF-8"?>
><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi
>="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0
>="urn:oasis:names:tc:wsrp:v1:types"><env:Body><env:Fault xsi:type
>
="env:Fault"><faultcode>env:Server</faultcode><faultstring>oracle.webdb.wsrp.OperationFailed</faultstring><detail><ns0:OperationFailedFault/></detail></env:Fault></env:Body></env:Envelope>

>
>and this one works:
>
>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.1RC2
>Host: localhost:8081
>Cache-Control: no-cache
>Pragma: no-cache
>SOAPAction: "urn:oasis:names:tc:wsrp:v1:getMarkup"
>Content-Length: 1937
>Cookie:
>JSESSIONID=e0cfbf601c814e79a5dda304a5a1809d.rQjwaxqK-AXMmkbGngTxpQOUaN0KahD3lN4Oc2SSbMSLax8IahyL-x8Kn6bycgTAbhmRakbvbh4L-wOSa30K8Oz1iN8Ka2TRnk8MbN0IrlaIpR9vmQLz-AbJpgaLah4Pbh0xhOaOgzXepR9OmkKxhOaOgzXepR9OmkKxn6jAmljGr5XDqQLvpAe_

>
><?xml version="1.0" encoding="UTF-8"?>
><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi
>="http://www.w3.org/2001/XMLSchema-instance">
> <soapenv:Body>
>  <getMarkup xmlns="urn:oasis:names:tc:wsrp:v1:types">
>   <registrationContext>
>    <registrationHandle>C:148.87.122.191:265121:f5fe1beba5:
>-7fd1</registrationHandle>
>   </registrationContext>
>   <portletContext>
>    <portletHandle>E:1:default</portletHandle>
>   </portletContext>
>   <runtimeContext>
>    <userAuthentication>wsrp:none</userAuthentication>
>    <portletInstanceKey>9.152.207.43_1056713324638_2</portletInstanceKey>
>    <namespacePrefix></namespacePrefix>
>   </runtimeContext>
>   <userContext>
>    <userContextKey>Erebus</userContextKey>
>    <profile>
>     <name>
>      <given>John</given>
>      <family>Doe</family>
>      <middle>Joe</middle>
>      <nickname>Jo</nickname>
>     </name>
>     <gender>mmh</gender>
>     <employerInfo/>
>     <homeInfo/>
>     <businessInfo/>
>    </profile>
>   </userContext>
>   <markupParams>
>    <secureClientCommunication>false</secureClientCommunication>
>    <locales>en</locales>
>    <locales>de</locales>
>    <mimeTypes>text/html</mimeTypes>
>    <mode>wsrp:view</mode>
>    <windowState>wsrp:normal</windowState>
>    <clientData>
>     <userAgent>WSRP4J Swing Consumer V. 0.3</userAgent>
>    </clientData>
>    <markupCharacterSets>UTF-8</markupCharacterSets>
>    <validNewModes>wsrp:view</validNewModes>
>    <validNewModes>wsrp:help</validNewModes>
>    <validNewModes>wsrp:edit</validNewModes>
>    <validNewModes>wsrp:preview</validNewModes>
>    <validNewWindowStates>wsrp:normal</validNewWindowStates>
>    <validNewWindowStates>wsrp:maximized</validNewWindowStates>
>    <validNewWindowStates>wsrp:minimized</validNewWindowStates>
>    <validNewWindowStates>wsrp:solo</validNewWindowStates>
>   </markupParams>
>  </getMarkup>
> </soapenv:Body>
></soapenv:Envelope>
>
>HTTP/1.1 200 OK
>Via: HTTP/1.1 ips-ehni-c.ehningen.de.ibm.com (IBM-PROXY-WTE)
>Date: Fri, 27 Jun 2003 11:43:21 GMT
>Cache-Control: private
>SOAPAction: ""
>Server: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/Oracl
>Content-Length: 2983
>Content-Type: text/xml; charset="utf-8"
>Set-Cookie:
>JSESSIONID=e0cfbf601c814e79a5dda304a5a1809d.rQjwaxqK-AXMmkbGngTxpQOUaN0KahD3lN4Oc2SSbMSLax8IahyL-x8Kn6bycgTAbhmRakbvbh4L-wOSa30K8Oz1iN8Ka2TRnk8MbN0IrlaIpR9vmQLz-AbJpgaLah4Pbh0xhOaOgzXepR9OmkKxhOaOgzXepR9OmkKxn6jAmljGr5XDqQLvpAe_;

>
>Path=/wsrp
>
><?xml version="1.0" encoding="UTF-8"?>
><env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
>xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi
>="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0
>
="urn:oasis:names:tc:wsrp:v1:types"><env:Body><ns0:getMarkupResponse><ns0:markupContext><ns0:useCachedMarkup>false</ns0:useCachedMarkup><ns0:mimeType>text/html;

>
>charset=UTF-8</ns0:mimeType><ns0:markupString>
>
>
>
>
>&lt;P ALIGN="CENTER" CLASS="portlet-section-header"&gt;Hi Erebus, Your
>Specially Picked&lt;/P&gt;
>&lt;P ALIGN="CENTER"&gt;&lt;IMG SRC
>
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fwinningnumbers.gif/wsrp-rewrite"

>
>WIDTH="450" HEIGHT="69" ALIGN="BOTTOM" BORDER="0"&gt;&lt;/P&gt;
>&lt;P&gt;
>
>&lt;P ALIGN="CENTER"&gt;
>&lt;TABLE ALIGN="CENTER" BORDER="0" CELLPADDING="0" CELLSPACING="0"&gt;
>&lt;TR&gt;
>
>             &lt;TD&gt;
>     &lt;IMG SRC
>
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball13.gif/wsrp-rewrite"

>
>WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
>     &lt;/TD&gt;
>
>
>             &lt;TD&gt;
>     &lt;IMG SRC
>
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball46.gif/wsrp-rewrite"

>
>WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
>     &lt;/TD&gt;
>
>
>             &lt;TD&gt;
>     &lt;IMG SRC
>
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball21.gif/wsrp-rewrite"

>
>WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
>     &lt;/TD&gt;
>
>
>             &lt;TD&gt;
>     &lt;IMG SRC
>
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball7.gif/wsrp-rewrite"

>
>WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
>     &lt;/TD&gt;
>
>
>             &lt;TD&gt;
>     &lt;IMG SRC
>
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball43.gif/wsrp-rewrite"

>
>WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
>     &lt;/TD&gt;
>
>
>             &lt;TD&gt;
>     &lt;IMG SRC
>
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fball3.gif/wsrp-rewrite"

>
>WIDTH="68" HEIGHT="76" ALIGN="BOTTOM" BORDER="0"&gt;
>     &lt;/TD&gt;
>
>
>&lt;/TR&gt;
>&lt;/TABLE&gt;
>
>
>
>
>&lt;/P&gt;
>
>&lt;P ALIGN="CENTER"&gt;&lt;BR&gt;
>&lt;BR&gt;
>&lt;IMG SRC
>
="wsrp-rewrite?wsrp-urlType=resource&amp;wsrp-url=http%3A%2F%2Fportalstandards.oracle.com%2Fwsrp%2Fimages%2Fplayrespon.gif/wsrp-rewrite"

>
>WIDTH="120" HEIGHT="73" ALIGN="BOTTOM" BORDER="0"&gt;
></ns0:markupString><ns0:locale>EN</ns0:locale><ns0:requiresUrlRewriting>true</ns0:requiresUrlRewriting><ns0:cacheControl><ns0:expires>

>
>1</ns0:expires><ns0:userScope>wsrp:perUser</ns0:userScope></ns0:cacheControl><ns0:preferredTitle>Lottery

>
>Portlet</ns0:preferredTitle></ns0:markupContext></ns0:getMarkupResponse></env:Body></env:Envelope>

>
>Mit freundlichen Gruessen / best regards,
>
>        Richard Jacob
>______________________________________________________
>IBM Lab Boeblingen, Germany
>Dept.8288, WebSphere Portal Server Development
>Phone: ++49 7031 16-3469  -  Fax: ++49 7031 16-4888
>Email: mailto:richard.jacob@de.ibm.com
>
>
>You may leave a Technical Committee at any time by visiting
http://www.oasis-open.org/apps/org/workgroup/wsrp-interop/members/leave_workgroup.php

>
>
>







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