[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [wsrp-interop] Oracle Producer is not returning markupStringor markupBinary in minimized state
So what do folks think? How should we represent the case where a portlet returns a title but no markup? a) As Richard suggests the spec is currently written, namely, return an empty string as the markupString. b) As we have implemented it, namely, return neither [null] markupString or markupBinary field. c) Some other way? I don't particularly care, though (b) seems closer to the truth in indicating there is no markup but there is a title. -Mike- Richard Jacob wrote: >Hi, > >I noticed that the Oracle Producer does not return markupString or >markupBinary in markupContext if getMarkup with windowState=wsrp:minimized >is being called. >This causes our parameter checker to fail and throw a fault. >As I understand the spec one has to provide one of both if useCachedMarkup >is set to false. >Here is the message log: > >============== >Listen Port: 8082 >Target Host: portalstandards.oracle.com >Target Port: 80 >==== Request ==== >POST /wsrp/jaxrpc/WSRPBaseService HTTP/1.0 >Host: localhost:8082 >Accept: application/soap+xml, application/dime, multipart/related, text/* >Cache-Control: no-cache >Content-Length: 1610 >Content-Type: text/xml; charset=utf-8 >Cookie: >JSESSIONID=82093d2d77064e84852a9bc3f15a3e57.rQjwaxqK-AXMmkbGngTxpQOUaN0KahD3lN4Oc2SSbMSLax8IahyL-x8Kn6bycgTAbhmRakbvbh4L-wOSa30K8Oz1iN8Ka2TRnk8MbN0IrlaIpR9vmQLz-AbJpgaLah4Pbh0xhOaOgzXepR9OmkKxhOaOgzXepR9OmkKxn6jAmljGr5XDqQLvpAe_ >Pragma: no-cache >SOAPAction: "urn:oasis:names:tc:wsrp:v1:getMarkup" >User-Agent: Axis/1.1RC2 >Via: 1.0 JACOBTP. > ><?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:0:default</portletHandle> > </portletContext> > <runtimeContext> > <userAuthentication>wsrp:none</userAuthentication> > <portletInstanceKey>Oracle1_row_col1_p0</portletInstanceKey> > <namespacePrefix>Pluto_Oracle1_row_col1_p0_</namespacePrefix> > </runtimeContext> > <userContext> > <userContextKey>FallbackUserKey</userContextKey> > </userContext> > <markupParams> > <secureClientCommunication>false</secureClientCommunication> > <locales>en</locales> > <locales>de</locales> > <mimeTypes>text/html</mimeTypes> > <mode>wsrp:view</mode> > <windowState>wsrp:minimized</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.0 200 OK >Via: HTTP/1.1 ips-ehni-c.ehningen.de.ibm.com (IBM-PROXY-WTE), 1.1 JACOBTP. >Date: Fri, 27 Jun 2003 15:27:15 GMT >Cache-Control: private >SOAPAction: "" >Server: Oracle9iAS/9.0.2 Oracle HTTP Server Oracle9iAS-Web-Cache/Oracl >Content-Length: 676 >Content-Type: text/xml; charset="utf-8" >Set-Cookie: >JSESSIONID=82093d2d77064e84852a9bc3f15a3e57.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:locale>EN</ns0:locale> > <ns0:requiresUrlRewriting>false</ns0:requiresUrlRewriting> > <ns0:cacheControl> > <ns0:expires>-1</ns0:expires> > <ns0:userScope>wsrp:perUser</ns0:userScope> > </ns0:cacheControl> > <ns0:preferredTitle>Hello World 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]