Remote portlet

Hi..
I got some problems with remote portlets. Both my producer and consumer is a weblogic portal. When i look at my remote portlet, a lot of information is missing, like pictures, etc..
I assume that this has something to do with url templates, but i've tried a lot of things but i can't get it to work.
Ex.
This is the original codeline:
img src="/myPortal/img/trans.gif"
When i tried this i got a wrong domain and port number in my url at the consumer side.
Therefore i tried something like:
img src="<render:resourceUrl template="wsrp-default" path="/myPortal/img/trans.gif""/>
But now i got a error message at the consumer.
I also tried <netui:image src="/myPortal/img/trans.gif" and that worked, but when i read articles on the net, it seems to me that it should have been working with render tags ass well. What am i doing wrong, can somebody help me.. Please..

You had 6.1 MP1 running on SQL 2000? If you pulled off that sql magic, this issue should be peanuts. ;-)
Seriously, though, when we went from 6.1 to 6.1 MP1, all of our apps using the native API's IPTSearchRequest broke. Notice I said 'IPT' not just 'I' - again, I'm talking about the native api, not the remote. Though come to think of it, the remote search api calls may have broken, too. That was the whole reason we put off the MP1 upgrade - it broke the search in all our tests. I don't think it was until the patch 1 for MP1 came out that we moved forward.
Enough of my yapping, our fix for the native api apps - those using IPTSearchRequest - was to simply recompile the apps using the MP1 assemblies. Whatever the handful of assemblies you may have referenced in your project to get the native api working, just change their ref path to the newer MP1 assemblies - or in your case the new 6.5 versions. That fixed us right up.
Edited by tjannotta at 06/12/2008 7:36 AM

Similar Messages

  • Returning to different community pages from remote portlet

    Hi,
    I'm trying to determine the options available if we'd like to a remote portlet on one community page to return to a different page within the community on post back. We're able to dynamically build out a redirect string using parts of the request's hostpage properties, but we know that the page id of the community will probably change between different environments (dev/staging/live). I understand that pages don't have UUIDs so that's out.I'm sure there are some kludgey workarounds like keeping track of the different pageIDs as preferences or an external file, but we'd like to do this the "right" way if possible so we don't have to separately maintain that info.
    Any help is appreciated, thanks!

    hi,
    i don't think producer can access consumer's backing contexts.
    but you can use backing files on the proxy portlets and retrieve desktop, page names in the backing file and pass the data to producer using custom data transfer technique. For further info, pl. refer to the below link.
    http://edocs.bea.com/wlp/docs81/wsrp/custxfer.html
    -sampath

  • Multiple form parameters with the same name not passed to remote portlet

    I have an html select box that contains several values, and multiple
    selection is enabled. When my code runs as a remote portlet, the
    following is showing up in the soap monitor when I select multiple
    values and submit the form:
    <urn:interactionParams>
    <urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
    <urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
    <urn:value>true</urn:value>
    </urn:formParameters>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}">
    <urn:value>beatest1</urn:value>
    </urn:formParameters>
    In this case, I selected beatest1 and beatest2, but only beatest1 comes
    through to the remote portlet. Is this a known bug, and, if so, is
    there a patch or workaround available?
    Thanks in advance,
    Andy

    If you're not on 8.1.4 move there. 8.1.3 had limitations in the wsrp
    release.
    wrote:
    I have an html select box that contains several values, and multiple
    selection is enabled. When my code runs as a remote portlet, the
    following is showing up in the soap monitor when I select multiple
    values and submit the form:
    <urn:interactionParams>
    <urn:portletStateChange>cloneBeforeWrite</urn:portletStateChange>
    <urn:interactionState>_action=addEmployeesToGroup</urn:interactionState>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}OldValue">
    <urn:value>true</urn:value>
    </urn:formParameters>
    <urn:formParameters
    name="P62005wlw-select_key:{actionForm.selectedEmployees}">
    <urn:value>beatest1</urn:value>
    </urn:formParameters>
    In this case, I selected beatest1 and beatest2, but only beatest1 comes
    through to the remote portlet. Is this a known bug, and, if so, is
    there a patch or workaround available?
    Thanks in advance,
    Andy

  • Portlet Edit Mode in a Remote Portlet doesn't work with JSP

    I am facing a strange problem. I created a protelet and attached the edit to a JSP Page(edit.jsp). When I create a portlet of this and display in a portal, the edit works fine in case of a local portlet. But when the same is made as a remote portlet, I get an Operation failed fault.
    The exception is:
    Fault: {urn:oasis:names:tc:wsrp:v1:types}OperationFailed
    Internal Server Error: Page Flow [testPortlet.edit.edit.jsp] is invalid..; nested exception is: java.lang.IllegalStateException: Page Flow [testPortlet.edit.edit.jsp] is invalid
    Does anyone know why the edit in a remote portlet works only with a page flow?

    There is no edit mode defined in this portlet.
    Subbu
    Chandra Mouli Parameswaran wrote:
    Here you go!. This is the portlet file on the producer side.
    <?xml version="1.0" encoding="UTF-8"?>
    <portal:root xmlns:netuix="http://www.bea.com/servers/netuix/xsd/controls/netuix/1.0.0"
    xmlns:portal="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bea.com/servers/netuix/xsd/portal/support/1.0.0 portal-support-1_0_0.xsd">
    <netuix:portlet definitionLabel="portlet_2" title="ViewQuotesController">
    <netuix:titlebar/>
    <netuix:content>
    <netuix:pageflowContent contentUri="/viewQuotes/ViewQuotesController.jpf"/>
    </netuix:content>
    </netuix:portlet>
    </portal:root>

  • Problem consuming ADF/Webcenter Portlet in Worskshop for as remote portlet

    hi,
    I am using Jdeveloper 11g and creating a portlet of a full fledged application with model and data control.
    I am consuming this portlet in Workshop for Weblogic 10gR3 as remote portlet through registering it as wsrp.
    The problem i am facing is the images doesn't get displayed..also the functionality like page navigation don't work!!
    The same portlet works fine in jdeveloper web center environment when consumed with same wsdl.
    Please help
    Regards
    Ajinkya.

    Hi,
    please try the WebCenter forum WebCenter Portal
    Frank

  • WSRP - Changing the css of remote portlets

    Hi,
    Consumer: WLP 10.2
    Producer: Websphere Portal 6
    I need to apply css files of the consumer to the remote portlets (not the shell, but to the content inside the actual portlets). Is there any way to override the producer portlet stylesheets before rendering at consumer side?
    I thought of creating same stylesheets at consumer side with same class names and with different attributes (according to requirements) inside the classes.While rendering, in the interceptor class I am planning to read markup data using response and try to change the css name to consumer side css name and again writing the markupdata. Is it possible or is there any other best solution for this. Please help me.
    Thanks,
    Sid

    Hi George,
    We tried to apply "!important" declaration for each rule in css file.Its not picking from local CSS (Consumer) file.But What i feel like remote portlet is not picking up the local css file when get the viewsource on remote portlet the css file path is producers.as below.
    &lt;link rel="stylesheet" type="text/css"
    href='http://localhost:7001/WsrpConsumerWeb/resource;SSPXYYSESSIONID=gDQ5JH9V2TYtzph1XhpgsC301Qbbp516f0nCTFxmgQnqsgM0Qtl6!30602842?_pageLabel=voipTrunk_portal_page_10&_portlet.portalUrl=%2FWsrpConsumerWeb%2FvoipTrunk.portal&_windowLabel=portlet_6_1&_nfpb=true&_portlet.renderResource=true&wsrp-urlType=resource&wsrp-url=http%3a%2f%2faiomt991.dev.qintra.com%3a1080%2foneflex%2fPA_SIPInventory%2ftheme%2fstylesheet.css&wsrp-requiresRewrite=false&wsrp-resourceID=&wsrp-preferOperation=&wsrp-resourceState=&wsrp-resourceCacheability='
    title="Style"&gt;
    wsrp-url=http%3a%2f%2faiomt991.dev.qintra.com%3a1080%2foneflex%2fPA_SIPInventory%2ftheme%2fstylesheet.css
    should be replaced with local css file path right.Which we are trying to do in interceptor file.But we are unable to replace existing path to local path If you any other way to do this please let us know.
    Thanks
    Kalpana,Sid & Anu.

  • Oracle BPEL Worklist application as a remote portlet in ALUI portal

    Hi,
    I am integrating the Oracle BPEL sample worklist application as a remote portlet in ALUI in a community page.
    I have 2 urgent queries...and desperate to look for a resolution...
    1) On opening the page where the remote portlet is placed ,it is very very slow to open the firt login screen in IE6.However the page is loading fast in IE7 or netscape.Every time the login page is hit we need to refresh the page to load it quickly..
    2)on thewebservice configuration section for portlet -- > http Configuration ,I have created a gateway and added our Oracle BPEL worklist context to gateway the request.There is a option like Inline refresh..
    a)If inline refresh is unchecked ,the BPEL worklist is not retaining the portlet nature like minimize ,maximize and the top community navigation is lost.
    b)however if inline refesh is checked..The portlet nature is retained ,however there is javascript error coming in the page which is not allowing some of the vanilla features of BPEL worklist is working properly like clicking some buttons and taking actions...
    Is this some configuration to be made in the ALUI side or some thing else...Please let me know if there is any solution to this...
    Regards
    Ashif

    Now I am able to display the initial page of the remote portlet. However, when I try to do some operations I m running into one more issue:
    [WSRP-Consumer:420733]No markup received from the producer [oraclePortal_producer] for portlet with portletHandle[E:3:default].
    Is there anything futher I need to do?
    regards,
    Ansuman

  • NPE while registering Remote Portlet in Weblogic Portal 10.3

    Hi,
    I am on Weblogic Portal 10.3 and am trying to create a remote portlet in my portal application. The remote Portlet is hosted on OC4J 10.3.1.1.1 and is consumed properly on Oracle Portal without any errors, however, when I try to access the portlet's wsdl via the Remote Portlet Wizard, I get the following exception while registering.
    bq. {color:#3366ff}!ENTRY com.bea.wlp.eclipse.common 1 1 2008-10-06 11:37:28.938{color} \\ {color:#3366ff} \\ !MESSAGE [Portal-ERROR|http://forums.oracle.com/forums/] There was a problem submitting registration for this producer.{color} \\ {color:#3366ff} \\ Reason = ProducerAgent::java.lang.NullPointerException: null{color} \\ {color:#3366ff} \\ !ENTRY com.bea.wlp.eclipse.common 4 4 2008-10-06 11:37:28.938{color} \\ {color:#3366ff} \\ !MESSAGE {color} \\ {color:#3366ff} \\ !STACK 0{color} \\ {color:#3366ff} \\ java.lang.NullPointerException{color} \\ {color:#3366ff} \\ at weblogic.utils.encoders.CharacterDecoder.decodeBuffer(CharacterDecoder.java:188){color} \\ {color:#3366ff} \\ at com.bea.wsrp.util.XmlUtils.decodeBASE64(XmlUtils.java:270){color} \\ {color:#3366ff} \\ at com.bea.wsrp.bind.RegistrationContextImpl.&lt;init&gt;(RegistrationContextImpl.java:44){color} \\ {color:#3366ff} \\ at com.bea.wsrp.client.ProducerAgentImpl.register(ProducerAgentImpl.java:258){color} \\ {color:#3366ff} \\ at com.bea.wsrp.client.ProducerAgentImpl.register(ProducerAgentImpl.java:221){color} \\ {color:#3366ff} \\ at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.submitRegistrationDocument(ProducerAgent.java:384){color} \\ {color:#3366ff} \\ at com.bea.wlp.eclipse.wsrp.portletbuilder.wizard.wsrp.SelectProducerPanel$RegistrationRunner.run(SelectProducerPanel.java:1425){color} \\ {color:#3366ff} \\ !ENTRY com.bea.wlp.eclipse.common 1 1 2008-10-06 11:37:28.953{color} \\ {color:#3366ff} \\ !MESSAGE [Portal-DEBUG|http://forums.oracle.com/forums/] RegistrationPanel::could not submit registration document: null{color}
    {color:#3366ff}
    {color}
    {color:#000000}This producer is fully WSRP compliant and works perfectly fine with Oracle Portal. Any pointers of where it might go wrong?{color}
    Ansuman

    Now I am able to display the initial page of the remote portlet. However, when I try to do some operations I m running into one more issue:
    [WSRP-Consumer:420733]No markup received from the producer [oraclePortal_producer] for portlet with portletHandle[E:3:default].
    Is there anything futher I need to do?
    regards,
    Ansuman

  • ALUI-Create Web Service - Remote Portlet Error 401:Unauthorized

    I have some problems during user ALUI(AquaLogic User Interaction 6.1).
    I created a Web Service - Remote Portlet,then set value of Basic Authentication Settings is "User's Basic Authentication Information". When related remote server refer to tomcat5.5,the Web Service - Remote Portlet is fine to run,but not when the related remote server refer to weblogic9.2.
    When value of Basic Authentication Settings is "Use Remote Server Basic Authentication Information", related remote server refer to weblogic9.2 or tomcate5.5, the portlet is fine.
    error detail:
    Error
    sso Portlet cannot be displayed because the remote server returned an invalid HTTP response code.
    We recommend:
    • Refresh sso Portlet
    • Accessing this portlet at a later time.
    • Contacting your portal administrator if problems persist.
    Detailed error information
    • Response status: 401
    • Response body:
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.

    How to configure remote server to accept authorization header?
    I set value of Basic Authentication Settings is "User's Basic Authentication Information" because the Web Service - Remote Portlet need to get the portal's login user infomation.If the value is "Use Remote Server Basic Authentication Information",the application is fine to run.
    The follow is the way to get login user infomation.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request, response);
    ICredentialProvider cProvider = portletContext.getCredentialProvider();
    String username = cProvider.getUsername();
    String password = cProvider.getPassword();
    Do you have other way to authenticate users?
    Thanks.
    Edited by: user2233298 on 2009-4-22 下午8:25

  • How to put a remote portlets server in maintenance mode

    Hi,
    We are running Plumtree Portal 5.0.4 on Windows 2000 Server SP4. We have a remote portlets server which hosts a lot of portlets' webservices.
    We need to put the remote server in maintenance mode.
    How can we disable all webservices hosted by this remote server without disabling each webservices manually (which will be painful) ?
    Regards,
    Qué Son PHAM VAN

    I don't want to encourage you to modify your database directly, but it seems to be the only way to do this easily. Try:
    update ptwebservices
    set enabled = 0, disabledmsg = 'This portlet has been disabled. Blah blah blah.'
    where gadgetserverid = 200;
    Replace 200 with the ID of your remote server.
    HTH,
    Chris Bucchere | bdg | [email protected] | http://www.bdg-online.com

  • Name of Lockbox set in Remote Portlet Web Service?

    Using the ALUI 6.0 IDK API, does anybody know how to get the name of the Lockbox a Remote Portlet Web Service is using?
    Authentication Settings / Credential Vault Settings / Lockbox

    Hello,
    first: I don´t know anything about the right solution. I am unaware of the existence of the solution, because there were quite many of question about this multiple selection problem and I don´t remember a single "answer".
    I can recommend you to simplify everything and create the functionality yourself. I have done that before to avoid these "Adobe-standard" problems. If you have a problem with autofill of the object, ask your WS to send you a single string and pass it yourself using scripting (JS).
    And if you have problems with multiple selection, create your own field/ object. Get the string of values, parse it, create multiple lines of the dynamic table with some suitable tool to check/ select the rows you need (use checkbox for example, and your text as a table row). This way you can selected anything you want with no problems at all. It wil only cost you some extra work.
    Regards, Otto

  • Using different namespaces in ALUI remote portlets

    I'm trying to incorporate AJAX technology into our ALUI remote portlets. I'm using Backbase tools to try to do this. However, these Backbase tools have their own namespace defined for their custom tags. When I try to access the remote portlet, I get 'unrecognized namespace prefix' errors in PTSpy. Is there something special I need to do to get ALUI to recognize different namespaces? I have the following line in my remote portlet:
    <pt:namespace pt:token="$PORTLET_ID$" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/" />
    Do I need to do something with this line to use different namespaces?

    I was able to get basic Backbase functionality running inside of ALUI. Since Backbase is booted from the onload method of the body tag, I had to create a Javascript method and call window.onLoad on that method to get Backbase to boot (it wouldn't recognize the onload method in my remote portlet).
    Also, since I'm using remote portlets, I had to gateway the calls to Backbase using the Remote Portlet's Web Service settings.
    In case anyone is interested, my remote portlet looks like this (where the server listening on port 7001 is the gateway server, and the server listening on port 7021 is the server running Backbase):
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <pt:namespace pt:token="$$PORTLET_ID$$" xmlns:pt="http://www.plumtree.com/xmlschemas/ptui/" />
    <style type="text/css"> #pt-portlet-$$PORTLET_ID$$ {border: solid 0px;}</style>
    <script type="text/javascript" src="http://localhost:7001/portal/server.pt/gateway/PTARGS_0_0_299_209_0_43/http%3B/localhost%3B7021/Backbase/3_1_6/bpc/boot.js"></script>
    <script language="javascript">
    function runBPC()
              bpc.boot("<pt:url pt:href='http://localhost:7021/Backbase/3_1_6' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>");
    window.onload=runBPC;
    </script>
    <div
    xmlns:b="http://www.backbase.com/b"
    xmlns:s="http://www.backbase.com/s"
    >
              <xmp b:backbase="true">
              <b:button>test</b:button>
              </xmp>
    </div>

  • Expose JSF app as a remote portlet on OAS 10.1.3.1

    Hello,
    We have a requirement to expose our JSF app as a remote portlet via WSRP.
    Our production platform is OAS 10.1.3.1 SOA and we are using JDeveloper 10.1.3.1 for the development.
    We are new to the portal technologies, but what we understood reading the docs is that we must use WEB Center framework to expose the JSF app as a remote portlet. Is this correct?
    Also, how can we install the WEB Center to our OAS 10.1.3.1 SOA ?
    thank you

    Hi, to expose your JSF application as a portlet you wil need to use the WebCenter Portlet Bridge, this is our implementation of JSR 301:
    - http://download.oracle.com/docs/cd/B32110_01/webcenter.1013/b31074/jpsdg_java_adv.htm#BABBFDHA
    Oracle WebCenter was released with OracleAS 10.1.3.2 and requires a minimum of ADF 10.1.3.2 runtime libraries, you can either deploy the required ADF Runtime Libraries to your 10.1.3.1 OC4J or upgrade to OracleAS 10.1.3.3 which is the latest release. You can find more information here:
    - http://www.oracle.com/technology/software/products/jdev/htdocs/adfinstaller.html
    Cheers,
    Mick.

  • JSF app as a remote portlet on OAS 10.1.3.1

    Hello,
    We have a requirement to expose our JSF app as a remote portlet via WSRP.
    Our production platform is OAS 10.1.3.1 SOA and we are using JDeveloper 10.1.3.1 for the development.
    We are new to the portal technologies, but what we understood reading the docs is that we must use WEB Center framework to expose the JSF app as a remote portlet. Is this correct?
    Also, how can we install the WEB Center to our OAS 10.1.3.1 SOA ?
    thank you

    Hi,
    In one of our current projects we're using SOA Suite and WebCenter. For example, we're exposing a JSF page containing a custom-built human workflow tasklist as remote portlet.
    We have installed a separate WebCenter AS 10.1.3.2.0 besides the AS SOA Suite. (See: http://www.oracle.com/technology/software/products/ias/htdocs/101320ws.html) and patched it to 10.1.3.3.0. For development we use JDeveloper 10.1.3.3.0 and its pre-configured WebCenter OC4J.
    We had some issues with the JSF portlet-bridge and opened tar's, but these we're resolved by Oracle.
    Regards, Ronald

  • PreferenceStoreException when selecting a Remote Portlet

    I endup in this error when I add a non-weblogic Producer to Portal Admin console Library.
    The producer gets added correctly and lists all the protlets from the producer.
    Here are the steps I follow.
    1.Click on the Producer just added under Left navigation tree under library.
    2.Producer summary page lists all the portlets form producer
    3. Goto 'Selected Portlets' tab and Click on a particular portlet
    4, For this particular portlet, Under "Portlet Preferences" tab, I see below error: Same is the case with all portlets in this producer.
    Any ideas?
    com.bea.portlet.prefs.spi.PreferenceStoreException: Received a response from url: http://producerserver/producer/wsrp/router/v2/portletmanagement/MyProducer with HTTP status 200 and SOAP content-type: text/html. Set -Dweblogic.wsee.verbose=weblogic.wsee.connection.transport.http.HttpClientTransport to see the full response stream.
         at com.bea.wsrp.consumer.adapter.customization.RemotePreferencePersistenceDelegate.getPropertiesInternal(RemotePreferencePersistenceDelegate.java:800)
         at com.bea.wsrp.consumer.adapter.customization.RemotePreferencePersistenceDelegate.getPreferences(RemotePreferencePersistenceDelegate.java:121)
         at com.bea.portlet.prefs.spi.PreferencePersistenceDelegate.getPreferences(PreferencePersistenceDelegate.java:101)
         at com.bea.portlet.prefs.spi.PreferencePersistenceDelegate.getPreferences(PreferencePersistenceDelegate.java:80)
         at com.bea.jsptools.portal.helpers.PortletHelper.getPortletPreferences(PortletHelper.java:1221)
         at com.bea.jsptools.portal.helpers.PortletHelper.doShowDetails(PortletHelper.java:462)
         at com.bea.jsptools.portal.helpers.PortletHelper.doShowDetails(PortletHelper.java:406)
         at portalTools.definitions.portlets.details.DetailsController.getResources(DetailsController.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
         at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
         at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)For above error, is it something to do with the content type? I tried setting this in startup -Dweblogic.wsee.verbose=weblogic.wsee.connection.transport.http.HttpClientTransport but nothing happening in the log.
    I also see this error when i add another producer by following the same steps mentioned above.
    com.bea.portlet.prefs.spi.PreferenceStoreException: java.lang.NullPointerException
         at com.bea.wsrp.consumer.adapter.customization.RemotePreferencePersistenceDelegate.getPropertiesInternal(RemotePreferencePersistenceDelegate.java:800)
         at com.bea.wsrp.consumer.adapter.customization.RemotePreferencePersistenceDelegate.getPreferences(RemotePreferencePersistenceDelegate.java:121)
         at com.bea.portlet.prefs.spi.PreferencePersistenceDelegate.getPreferences(PreferencePersistenceDelegate.java:101)
         at com.bea.portlet.prefs.spi.PreferencePersistenceDelegate.getPreferences(PreferencePersistenceDelegate.java:80)
         at com.bea.jsptools.portal.helpers.PortletHelper.getPortletPreferences(PortletHelper.java:1221)
         at com.bea.jsptools.portal.helpers.PortletHelper.doShowDetails(PortletHelper.java:462)
         at com.bea.jsptools.portal.helpers.PortletHelper.doShowDetails(PortletHelper.java:406)
         at portalTools.definitions.portlets.details.DetailsController.getResources(DetailsController.java:90)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)Vijay

    Hello,
    It is possible for a WSRP producer to support portlet preferences, but not support accessing or changing portlet preferences through the WSRP portlet management port. The WSRP portlet management port is an optional portion of the WSRP specification, and what portions of the portlet management port are supported should be declared in the producer's WSDL document. From the behavior you're describing, I would guess that the portlet management port for the producer isn't supporting the preferences management portions.
    The best way to tell exactly what is going on would be to use the WSRP monitor on your consumer, and look at the SOAP messages that are being returned from the producer. Examining the producer's WSDL document for the "portlet management port" would also be useful.
    As for hiding the minimize / maximize buttons on a streamed remote portlet, I don't have any specific ideas. Since it is a streaming remote portlet, there is no way to attach a backing file to it, so anything you did would need to be done in a WSRP interceptor. But I don't know of any way to suppress the minimize / maximize buttons from the interceptor's context objects or the PortletPresentationContext-- this doesn't mean it can't be done, I just don't know how-- it isn't my area of expertise.
    Kevin

  • Timeout during a remote portlet request

    I'm facing a problem on portal consuming a remote portlet on wlp 8.1 SP4/5.
    We ask me to prevent a communication leak during a wsrp communication between me (the consumer) and a producer.
    I have seen this parameter that can be add to my wsrp-producer-registry.xml :
    connection-establishment-timeout-msecs
    connection-timeout-msecs
    This is a container way to change the parameter but what do you suggest to manage the error when it appears. Is their and error page on portlet ? in web.xml?
    Thanks for any suggestion.
    Yo.

    In G6, we have provided a way for a remote portlet to grab the parameters from the URL. If you go to the user info page for the web service, you will see a new option: "Host Page URL Query String". If you check that box, the remote tier will get the full query string, as typed into the browser, as a user info parameter. You can then parse that query string and get any additional arguments that you have passed in.
    We realize that this will not work in 5.x, which most of you use. Below you will find the code that you can put into your 5.0 portaluiinfrastructure.jar/dll to make the same change as what we did with G6. That way, if you write your portlets to this feature now, when you upgrade to G6 they will continue working and you shouldn't have to do any modifications to the portal UI.
    Locate AppDataObject file, which should be in portaluiinfrastructure.statichelpers package. Find this function:
    public static IPTState GetAppDataObject(int iCommunityID, int iPageID, int iGWParams, String strHostPageURI, AActivitySpace asOwner, boolean bResolveSecureBase)
    It should be a pretty long function that adds all sorts of stuff to objAppDataObject. At the very end of this function, immediately before the log.Debug statements, add the following line of code:
    //set the query string on UserInfoptSession.GetUserInfo().AddUserInfoSetting("HostPageQueryString", asOwner.GetCurrentHTTPRequest().GetQueryString());
    Build and deploy a new portaluiinfrastructure.jar/dll according to instructions published on the dev center.
    Start the portal, open the web service object corresponding to the portlet which should have access to query string parameters from the URL. On the User Info page, add user info setting name "HostPageQueryString". In your portlet, get the user info setting with that name - you will have the query string as entered in the browser.
    Feel free to post in this thread if you encounter any difficulties with this approach.

Maybe you are looking for

  • Error while creating a Message Area

    Hi All, When I create a Message Area using the UI element 'MessageArea', I get the following error message at the bottom of the screen: "Note: Multiple message areas have been implemented, but only one is supported" I just have only one Message Area

  • Help Configuring my New Mac Pro

    I just purchased a new Mac Pro (early 2009 Quad Core" 2.66 (2009/Nehalem), and a second (1 TB) internal hard drive. I would like to transfer my applications, files, and profile from my Macbook Pro (early 2008 Core 2 Duo" 2.5) to the Mac Pro. I also w

  • DC Activation Problem in CBS

    Hello, I am facing DC Activation problems in CBS. - We have two DC utils and config. The config DC uses utils DC and everything is working fine locally - Today we are migrating these local projects in NWDI. - I created new DCs in NWDI and copied the

  • How to perform aritmetic operations on interna table's fields ?

    i have an internal table containing entries from ekpo table. while displaying the internal table's entries i would like to add the field containing net price for the same po numbers. so, how do i perform arithmetic operations on this itab ? plz help.

  • Semi-transparent JToolBar = strange behaviour?

    I need to have semi-transparent toolbar in the application I am making. I am using toolbar.setBackground(new Color(0, 0, 0, 50)); to do so. At start the icon looks like this: [Screenshot1|http://i29.tinypic.com/j66cky.jpg] After a few mouse transitio