WSRP ResourceProxyServlet

We are currently developing a federate portal and have run into a problem with resource loading. The WSRP Soap messages seems to work as expected. However, where we are experiencing problems is once the markup is returned and the resources get loaded. From what I can tell, the consumer portal is taking any producer rendered resources like .css and using the ResourceProxyServlet to call back to the producer portal to retrieve the resource. This is where we are experiencing a problem. The resource is taking 1m 24s to return every time. I am using Firebug to verify this information. I have even copied the .css link out of the returned html and pasted directly into our browser like:
http://localhost:7001/webAppA/resource?_portlet.portalUrl=%2FwebAppA%2Fmyportal%2Fmyportal.portal&_windowLabel=myportal_book_xyz_remote_book_book_8_portlet_abc_1&wsrp-urlType=resource&wsrp-url=http%3A%2F%2FINB1C2SPC1.xyz.com%3A7001%2FwebAppB%2Fframework%2Fskins%2Fcss%2Fportlet.css&wsrp-requiresRewrite=true
Inevitably, the .css file returns. However, it always takes 1m 24s. This is true for .js and .png files as well (this is all I have tested to date). In each scenario, the resource inevitably returns, but the performance is always consistently poor. Is there a tuning piece I am missing? Any suggestions.
As far as the SOAP Monitor, all of the WSRP SOAP messages complete in under 2 seconds. All of this delay is happening after the consumer portal receives the markup and tries to retrieve the resources.

I shut down webAppB and it still took 1m 24s for the resource proxy on the consumer side to respond with:
The target url [http://INB1C2SPC1.xyz.com:7001/webAppB/framework/skins/css/portlet.css] is not allowed by the ResourceConnectionFilter.
to provide additional information.

Similar Messages

  • Mime types / wsrp

    Hi all,
    I'm trying to display an excel spreadsheet from within a jsp in a portlet over wsrp.
    Whenever I make a request from the consumer, I get the error:
    java.lang.IllegalArgumentException: MIME type [application/vnd.ms-excel] is not supported by the consumer/portal. Supported types(s) is(are) [ text/html  text/xml  application/xml  application/xhtml+xml  text/plain  image/png  */* ].
    and looking at the wsrp request sent over by the consumer, the mimeTypes it says it supports are:
    <v1:markupParams>
    <v1:secureClientCommunication>false</v1:secureClientCommunication>
    <v1:locales>en-GB</v1:locales>
    <v1:locales>en</v1:locales>
    <v1:mimeTypes>text/html</v1:mimeTypes>
    <v1:mimeTypes>text/xml</v1:mimeTypes>
    <v1:mimeTypes>application/xml</v1:mimeTypes>
    <v1:mimeTypes>application/xhtml+xml</v1:mimeTypes>
    <v1:mimeTypes>text/plain</v1:mimeTypes>
    <v1:mimeTypes>image/png</v1:mimeTypes>
    <v1:mimeTypes>*/*</v1:mimeTypes>
    <v1:mode>wsrp:view</v1:mode>
    My question is how do I get my consumer to support additional mimetypes?
    I am using WLP 10 MP1.
    Thanks

    This can be solved in different ways.
    1) You can use custom data transfer.please go through the below link
    http://edocs.beasys.com/wlp/docs81/wsrp/custxfer.html
    2) Use resource url tag library in your view on producer.
    3) User resource proxy servlet on Consumer.
    <!-- Proxy servlet to serve resources from producers -->
    <servlet>
    <servlet-name>com.bea.wsrp.consumer.resource.ResourceProxyServlet</servlet-name>
    <servlet-class>com.bea.wsrp.consumer.resource.ResourceProxyServlet</servlet-class>
    <init-param>
    <param-name>resourceHeaderFilter</param-name>
    <param-value>com.bea.wsrp.consumer.resource.CustomResourceHeaderFilter</param-value>
    </init-param>
    </servlet>
    CustomResourceHeaderFilter.java:
    package com.bea.wsrp.consumer.resource;
    //import com.bea.p13n.util.debug.*;
    import com.bea.wsrp.consumer.resource.ResourceHeaderFilter;
    import com.bea.wsrp.consumer.resource.ResourceHeaders;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.ServletContext;
    import java.util.*;
    public class CustomResourceHeaderFilter implements ResourceHeaderFilter
    private static final HashSet requestHeadersToSkip = new HashSet();
    // Debug
    //private static final Debug debug =Debug.getInstance(DefaultResourceHeaderFilter.class);
    private static final Logger LOGGER = LoggerHelper.getLogger(CustomResourceHeaderFilter.class);
    // By default, the following request headers will not be proxied private static final HashSet requestHeadersToSkip = new HashSet();
    static
    //requestHeadersToSkip.add("get");
         //requestHeadersToSkip.add("post");
         //requestHeadersToSkip.add("host");
         //requestHeadersToSkip.add("cookie");
         //requestHeadersToSkip.add("expect");
    public ResourceHeaders getPassThroughHeaders(HttpServletRequest request, ServletContext context, String url)
         //request.getSession().getId()
    ResourceHeaders passThroughHeaders = new ResourceHeaders(); List passThroughValues;
    // All headers
    Enumeration headerNames = request.getHeaderNames();
    while(headerNames.hasMoreElements())
    String name = (String) headerNames.nextElement();
    if(requestHeadersToSkip.contains(name.toLowerCase()))
    continue;
    passThroughValues = new LinkedList();
    Enumeration values = request.getHeaders(name);
    while(values.hasMoreElements())
    String value = (String) values.nextElement();
    LOGGER.info("[Sending] " + name + ": " + value);
    passThroughValues.add(value);
    if (passThroughValues.size() > 0)
    passThroughHeaders.addHeader(name, passThroughValues);
    return passThroughHeaders;
    }

  • Need to add as a WSRP Connection in JDev for Weblogic Portal JSF Portlets.

    I am trying to register WLP 10.3.4 JSF Portlets as a WSRP connection in JDev Webcenter 11.1.1.6 Portal Framework application . The below are steps:
    -Created Simple WLP Application with JSF Portlets and deployed them on WLS 10.3.4 domain.
    -The WSDL url available is http://localhost:7003/TEST_WEB_PORTAL/producer?wsdl
    -Now Open JDev and created WCP Framwork app
    -Under Application Resource, right click on Connections -> New Connection -> WSRP Producer.
    -Click Next on step1 -> Enter WSDL URL on Step 2 and then click next on next 3 screens.
    -It tries to register but ended up with below exception:
    3-Dec-2012 12:48:03 oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegUtil registerProducer
    WARNING:
    oracle.portlet.client.persistence.PersistenceException: oracle.mds.core.ConcurrentMOChangeException: MDS-00165: metadata Object "/oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml" has changed
    MDS-00512: failure to create document /oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml because file C:\Oracle\PS5\mywork\testSR3-6514764665\mds\oracle\adf\portlet\WsrpPortletProducer0\portletDefs\portletPortletproducer\markupTypes\markupType0_texthtml.pxml already exists
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.commit(MDSPersistenceContext.java:473)
         at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.commit(PersistenceBeanContext.java:128)
         at oracle.portlet.client.adapter.simple.SimpleAdapter.commit(SimpleAdapter.java:465)
         at oracle.adfinternal.model.portlet.manager.PortletProviderManager.commit(PortletProviderManager.java:1487)
         at oracle.adfinternal.model.portlet.manager.PortletProviderManager.registerPortletProvider(PortletProviderManager.java:1647)
         at oracle.adfinternal.model.portlet.manager.PortletProviderManager.registerPortletProvider(PortletProviderManager.java:597)
         at oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegUtil.registerProducer(WSRPProducerRegUtil.java:308)
         at oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegistrationWizard$1.doWork(WSRPProducerRegistrationWizard.java:863)
         at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.mds.core.ConcurrentMOChangeException: MDS-00165: metadata Object "/oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml" has changed
    MDS-00512: failure to create document /oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml because file C:\Oracle\PS5\mywork\testSR3-6514764665\mds\oracle\adf\portlet\WsrpPortletProducer0\portletDefs\portletPortletproducer\markupTypes\markupType0_texthtml.pxml already exists
         at oracle.mds.core.UpdateableMOContent.constructConcurrentMOChangeException(UpdateableMOContent.java:1376)
         at oracle.mds.core.UpdateableMOContent.saveMOContent(UpdateableMOContent.java:1143)
         at oracle.mds.core.MDSTransaction.flushChangesToPTrans(MDSTransaction.java:851)
         at oracle.mds.core.MDSTransaction.internalCommit(MDSTransaction.java:2928)
         at oracle.mds.core.MDSSession.flushChanges(MDSSession.java:1022)
         at oracle.mds.core.MDSSession.flushChanges(MDSSession.java:850)
         at oracle.portlet.client.persistenceimpl.mds.MDSSessionWrapper.flushChanges(MDSSessionWrapper.java:61)
         at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.commit(MDSPersistenceContext.java:456)
         ... 10 more
    Caused by: oracle.mds.persistence.DocumentExistsException: MDS-00512: failure to create document /oracle/adf/portlet/WsrpPortletProducer0/portletDefs/portletPortletproducer/markupTypes/markupType0_texthtml.pxml because file C:\Oracle\PS5\mywork\testSR3-6514764665\mds\oracle\adf\portlet\WsrpPortletProducer0\portletDefs\portletPortletproducer\markupTypes\markupType0_texthtml.pxml already exists
         at oracle.mds.internal.persistence.file.Fil
    I have followed the steps given in the http://docs.oracle.com/cd/E26806_01/wlp.1034/e14235/chap_webcenter_interop.htm#BABGIIIJ for preventing User Authentication error by creating user of PortalSystemAdministrator group but did not help.
    Please let me know if anyone have faced this exception or any pointers.
    Thanks
    Kamal Gulati

    Hi,
    I tried creating a simple JSF portlet and I can able to register and it is working Fine, but my teammet got the same issue like you :) . While Analyzing what I found is , the location where we created the portlet in weblogic portal. If you created your portlet directly under WebContent folder then this issue is coming up, so try to create the portlet in a folder inside the WebContent folder, say create a folder with name portlets under webcontent and create the JSF portlet inside that portlets folder.
    Now start the server and register the same in WebCenter, you will not get that exception. I am going to raise a ticket with Oracle about this issue and get the root cause.
    Thanks
    Karthikeyan

  • Error while registering a new WSRP provider in Oracle portal

    Hi,
    I'm trying to add a new provider to the portal repository by registering a new WSRP provider in Oracle Portal. I'm getting the following error:
    An error occurred when attempting to call the providers register function. (WWC-43134)
    An error occurred during the call to the WSRP Provider: java.rmi.RemoteException: Runtime exception; nested exception is:
    deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.encoding.DeserializationException: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.encoding.DeserializationException: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.streaming.XMLReaderException: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    Java stack trace from root exception:
    com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2015)
    at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2000)
    at com.sun.xml.rpc.sp.Parser2.processStartElement(Parser2.java:2794)
    at com.sun.xml.rpc.sp.Parser2.parseContent(Parser2.java:3036)
    at com.sun.xml.rpc.sp.Parser2.parse(Parser2.java:2360)
    at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:105)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
    at oracle.webdb.wsrp.PortletDescription_LiteralSerializer.doDeserialize(PortletDescription_LiteralSerializer.java:94)
    at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:174)
    at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:84)
    at oracle.webdb.wsrp.ServiceDescription_LiteralSerializer.doDeserialize(ServiceDescription_LiteralSerializer.java:88)
    at com.sun.xml.rpc.encoding.literal.LiteralObjectSeria (WWC-43273)
    Please help.
    Regards,
    Arunthomas
    Edited by: 845949 on Mar 21, 2011 2:57 AM

    what is the complete version of DS 4.0 ? also check the REPO_TYPE in AL_VERSION table, for local repo this will be NULL

  • JDev 10.1.3.3 and WebCenter - Error running WSRP Standalone Portlet

    Hello: I am working with JDev 10.1.3.3 w/ the WebCenter extension on my WinXP PC. I have viewed the WebCenter How-To Demos (http://www.oracle.com/products/middleware/webcenter.html) and am replicating them in JDev. All is working except for the last in the Veeva Vacation demos (Building & Deploying Standards-Based Portlets). I followed the demo and successfully (so I thought) created an entry point, deployed the standalone portlet and registered the portlet producer. I dragged the VeevaProducer to the JSF page. Then with my Preconfigured OC4J running I tried to run the jspx page. Instead of seeing the application page, an error page appeared "Error instantiating web-application".
    The first error description is:
    "Error compiling :C:\Oracle\jdev10133\jdev\Veeva\ViewController\public_html: Syntax error in source or compilation failed in: C:\Oracle\jdev10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\Project1\oracle\portlet\wsrp\v2\soap\UnsupportedLocale.java C:\Oracle\jdev10133\jdev\system\oracle.j2ee.10.1.3.41.57\embedded-oc4j\application-deployments\current-workspace-app\Project1\oasis\names\tc\wsrp\v1\bind\runtime\WSRP_v1_PortletManagement_Binding_SOAP_Stub.java:35: error #300: WSRP_v1_PortletManagement_PortType not found in class oasis.names.tc.wsrp.v1.bind.runtime.WSRP_v1_PortletManagement_Binding_SOAP_Stub
    implements oracle.portlet.wsrp.v1.soap.WSRP_v1_PortletManagement_PortType { "
    I don't know what that means! Your help will be appreciated.
    Thanks.

    You can create EAR/WAR file from JDeveloper and then use the OC4J 10.1.2 managment console to deploy them to the server, there is no one-click-deploy support from JDev 10.1.3 to OC4J stand-alone 10.1.2

  • Error while registering a WSRP v2 portlet in a Web Center Portal

    I am trying to register WSRP 2 portlet in a WebCenter Application. When I do it I am getting below error:
    #SEARCH_CRITERIA
    #     START_TIME: 2011-11-18T09:05:40.753+05:30
    #     END_TIME: 2011-11-18T10:05:40.753+05:30
    #     MESSAGE_TYPES:INCIDENT_ERROR, ERROR, UNKNOWN
    #SELECTED_TARGETS_LIST
    #     /Farm_base_domain/base_domain/WLS_WC/WCFridayTenClock_application1(V2.0):j2ee_application
    [2011-11-18T10:04:58.506+05:30] [WLS_WC] [ERROR] [] [oracle.wsm.policymanager.bean.util.PolicySetBuilder] [host: STN136B] [nwaddr: 127.0.0.1] [tid: [ACTIVE].ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'] [ecid: 11d1def534ea1be0:1cae2c7:13388b3e331:-8000-000000000000be5f,0] [APP: WCFridayTenClock_application1#V2.0] The policy referenced by URI "oracle/no_authentication_client_policy" could not be retrieved as connection to Policy Manager cannot be established at "t3://STN136B:8890,STN136B:8889,STN136B:8888,STN136B:8895" due to invalid configuration or inactive state.[[
    oracle.wsm.policymanager.PolicyManagerException: WSM-02054 : Failure in looking up EJB component DocumentManager#oracle.wsm.policymanager.bean.ejb.IRemoteDocumentManager.
         at oracle.wsm.policymanager.BeanFactory.getJndiObj(BeanFactory.java:684)
         at oracle.wsm.policymanager.BeanFactory.lookupJndiObj(BeanFactory.java:910)
         at oracle.wsm.policymanager.BeanFactory.getDocumentManagerBeanEJB(BeanFactory.java:567)
         ... 79 more
    Caused by: oracle.fabric.common.PolicyEnforcementException: PolicySet Invalid: WSM-06162 PolicyReference The policy referenced by URI "oracle/no_authentication_client_policy" could not be retrieved as connection to Policy Manager cannot be established at "t3://STN136B:8890,STN136B:8889,STN136B:8888,STN136B:8895" due to invalid configuration or inactive state.
         at oracle.integration.platform.common.InterceptorChainImpl.createPolicyEnforcementException(InterceptorChainImpl.java:282)
    Any hints in solving the same would be helpful. Thanks in advance.

    Want to add some more findings to the above post.
    1) Found that "wsm-pm" was not running on one of the custom created application servers, used for deploying WebCenter Portlets and Application. This app was custom created as we are not supposed to deploy custom portlets to "WC_Collaboration", "WC_Portlet", "WC_Spaces" and "AdminServer".
    2) When I navigate to Oracle EM->base_domain->Web Services->Policy Sets, I get the below error
    Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved '' [Root exception is javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved '']; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'
    Any hints to solve the same would be helpful

  • A strange error while registering WSRP provider

    Hello,
    I have production version of AS (10.1.2) with portal upgrated to 1.4.
    I've installed standart WSRP samples in dedicated OC4j instance.
    When I've tried to register the provider for the samples, I've got this error:
    Internal error (WWC-00006): No default region found (WWC-43000)
    Do you know, what is a region and where can I configure the default one?

    I've tested the server with Oracle remote provider
    (http://portalstandards.oracle.com/portletapp/portlets?WSDL),
    and it was successfully registered, and portlets are working.
    It seems, that that the problem in the provider in that new
    OC4j container. (But wsrp-istall.jar had no errors, and I'v got
    regular WSDL descriptor).

  • Namespace Error, while creating proxy for a WSRP producer(Created on Exo)

    Hi ,
    I have implemented and deployed WSRP producer on Exo portal container. When I was trying to create proxy for the same in weblogic portal 10.2 its giving me the following error. Upon submiting the WSDL URL
    !ENTRY com.bea.wlp.eclipse.common 4 4 2008-12-08 13:46:27.540
    !MESSAGE NAMESPACE_ERR
    !STACK 0
    org.w3c.dom.DOMException: NAMESPACE_ERR
         at weblogic.xml.domimpl.ElementNSImpl.<init>(ElementNSImpl.java:74)
         at weblogic.xml.saaj.SOAPElementImpl.<init>(SOAPElementImpl.java:40)
         at weblogic.xml.saaj.SaajDocument.createElementNS(SaajDocument.java:63)
         at com.bea.wsrp.util.DomUtils.createChildElement(DomUtils.java:386)
         at com.bea.wsrp.util.DomUtils.addChildElement(DomUtils.java:406)
         at com.bea.wsrp.util.DomUtils.addChildElement(DomUtils.java:371)
         at com.bea.wsrp.bind.serviceDescription.GetServiceDescriptionRequest.writeTo(GetServiceDescriptionRequest.java:40)
         at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:129)
         at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:80)
         at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:68)
         at com.bea.wsrp.client.ProducerAgentImpl.getServiceDescription(ProducerAgentImpl.java:57)
         at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.getServiceDescription(ProducerAgent.java:99)
         at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.<init>(ProducerAgent.java:57)
         at com.bea.wlp.eclipse.wsrp.portletbuilder.wsrp.ProducerAgent.<init>(ProducerAgent.java:45)
         at com.bea.wlp.eclipse.wsrp.portletbuilder.wizard.wsrp.SelectProducerPanel$ProducerInfoRunner.run(SelectProducerPanel.java:690)
    Could any one help me to solve this problem.
    Thanks & Regards,
    Naresh

    Hi Nate,
    Please find the following wsdl.
    <?xml version="1.0" encoding="UTF-8" ?>
    <wsdl:definitions targetNamespace="http://localhost:8080/wsrp/services/Version" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/wsrp/services/Version" xmlns:intf="http://localhost:8080/wsrp/services/Version" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--
    WSDL created by Apache Axis version: 1.4
    Built on Nov 19, 2006 (02:31:34 GMT+00:00)
    -->
    <wsdl:message name="getVersionRequest" />
    <wsdl:message name="getVersionResponse">
    <wsdl:part name="getVersionReturn" type="soapenc:string" />
    </wsdl:message>
    <wsdl:portType name="Version">
    <wsdl:operation name="getVersion">
    <wsdl:input message="impl:getVersionRequest" name="getVersionRequest" />
    <wsdl:output message="impl:getVersionResponse" name="getVersionResponse" />
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="VersionSoapBinding" type="impl:Version">
    <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
    <wsdl:operation name="getVersion">
    <wsdlsoap:operation soapAction="" />
    <wsdl:input name="getVersionRequest">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://axis.apache.org" use="encoded" />
    </wsdl:input>
    <wsdl:output name="getVersionResponse">
    <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/wsrp/services/Version" use="encoded" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="VersionService">
    <wsdl:port binding="impl:VersionSoapBinding" name="Version">
    <wsdlsoap:address location="http://localhost:8080/wsrp/services/Version" />
    </wsdl:port>
    </wsdl:service>
    </wsdl:definitions>
    Thanks & Regards,
    Naresh

  • How can I include a JSP, Maximized, and retain look and feel(WSRP)

    I have created a page group and defined a root page with a certain look and feel. There are two portlets on the page. Once the user clicks on a submit button, the portlet performs some action and includes a jsp included in the EAR file. The portlet needs to maximize the UI to display the jsp correctly.
    Once control returns back to the screen, the look and feel is lost and uses Oracle's default style. I have two questions:
    1. From the portlet, how can I retain the look and feel of the page group when referencing "external" jsp (i.e JSPs in the deployed portal EAR file).
    2. How can I "redirect" the user to the home page in a standard way? If there is not a standard way, how do I use the Oracle specific utilities to do it?
    All of my JSPs are developed externally out of the scope of the Oracle Portal.
    Environment - Oracle Portal 10.1.4 on Release 2 using WSRP to contact Oracle Release 3, hosted EAR file (WSRP Producer).
    Thanks in advance.

    Hi José,
    I don't think that is possible. But you can import the css files that ep uses for its look and feel and try to give your web pages similar look and feel. The tables and other controls used in EP are totally different and are done through complex JavaScript coding instead of simple HTML tags. If you want exact lok and feel then i thin you must go for a Webdynpro based application rather then a J2EE application with JSPs.
    Regards,
    Guru.
    PS: Give points for helpful replies.

  • Consuming Websphere Portlets in spaces using WSRP WSDL url gives error.

    Sr#3-6516739281
    Ver- 11.1.1.6.0 spaces.
    Hi ,
    Customer consuming a websphere portlets in spaces
    Producer: Websphere portal server
    Consumer - Webcenter spaces 11.1.1.6.0
    WSDL url - http://192.168.0.50:9080/producer/wsdl/wsrp_service.wsdl
    WSRP 2.0 portlets hosted on IBM WebSpere application server (v. 7.1) are not rendered at all in spaces. Registration part goes fine and when click the test button after registration it says successful.
    but when we go the spaces page the portlet is not rendered and says - Portlet consumer error and the following stack trace traced in spaces server logs .
    The thrown exception is:
    <3-Dec-2012 4:21:33 o'clock PM EST> <Error> <oracle.portlet.binding> <BEA-000000> <An error has occured for Portlet Binding portlet2581387127.
    oracle.adf.model.portlet.binding.PortletModelException: Unable to get portlet response (Internal Error) for portlet binding portlet2581387127.
         at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.getPortletRendition(PortletBinding.java:1476)
         at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:151)
         at oracle.adfinternal.view.faces.renderkit.rich.portlet.PortletRenderer.encodeAll(PortletRenderer.java:916)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeChildrenVertically(PanelCustomizableRenderer.java:1039)
         at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeAll(PanelCustomizableRenderer.java:350)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at org.apache.myfaces.trinidad.rend
    This works fine in .net and other consumers.
    Please see the screen shots attached to SR-
    WCP_PortletProducerRegistration.png - registration screen in spaces
    WCP_Error.png - Error when try to see the portlet in spaces page.
    WC_Spaces.out -logs with the above error.
    We also tried to register this is Jdevelooper. This gives different error in registration it self.
    screen shot- JDeveloper-WSRPProducerRegistration.docx
    Please shed some light on this to proceed further.

    Sr#3-6516739281
    Ver- 11.1.1.6.0 spaces.
    Hi ,
    Customer consuming a websphere portlets in spaces
    Producer: Websphere portal server
    Consumer - Webcenter spaces 11.1.1.6.0
    WSDL url - http://192.168.0.50:9080/producer/wsdl/wsrp_service.wsdl
    WSRP 2.0 portlets hosted on IBM WebSpere application server (v. 7.1) are not rendered at all in spaces. Registration part goes fine and when click the test button after registration it says successful.
    but when we go the spaces page the portlet is not rendered and says - Portlet consumer error and the following stack trace traced in spaces server logs .
    The thrown exception is:
    <3-Dec-2012 4:21:33 o'clock PM EST> <Error> <oracle.portlet.binding> <BEA-000000> <An error has occured for Portlet Binding portlet2581387127.
    oracle.adf.model.portlet.binding.PortletModelException: Unable to get portlet response (Internal Error) for portlet binding portlet2581387127.
         at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.getPortletRendition(PortletBinding.java:1476)
         at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:151)
         at oracle.adfinternal.view.faces.renderkit.rich.portlet.PortletRenderer.encodeAll(PortletRenderer.java:916)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeChildrenVertically(PanelCustomizableRenderer.java:1039)
         at oracle.adfinternal.view.faces.renderkit.rich.customizable.PanelCustomizableRenderer.encodeAll(PanelCustomizableRenderer.java:350)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at org.apache.myfaces.trinidad.rend
    This works fine in .net and other consumers.
    Please see the screen shots attached to SR-
    WCP_PortletProducerRegistration.png - registration screen in spaces
    WCP_Error.png - Error when try to see the portlet in spaces page.
    WC_Spaces.out -logs with the above error.
    We also tried to register this is Jdevelooper. This gives different error in registration it self.
    screen shot- JDeveloper-WSRPProducerRegistration.docx
    Please shed some light on this to proceed further.

  • Error in registering WSRP portlet producer  with Oracle Portal 10.1.4

    Hi all,
    I am using OC4J 10.1.3.4.0 as producer of portlets and Oracle Portal 10.1.4 as consumer. I am encountering error in registering the producer WSDL. Here's the stack trace:
    An error occurred when attempting to call the providers register function. (WWC-43134)
    An error occurred during the call to the WSRP Provider: java.rmi.RemoteException: Runtime exception; nested exception is:
    deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.encoding.DeserializationException: deserialization error: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.encoding.DeserializationException: deserialization error: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    com.sun.xml.rpc.streaming.XMLReaderException: XML parsing error: com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    Java stack trace from root exception:
    com.sun.xml.rpc.sp.ParseException:1: com.sun.xml.rpc.sp/Illegal Namespace prefix: xml
    at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2015)
    at com.sun.xml.rpc.sp.Parser2.fatal(Parser2.java:2000)
    at com.sun.xml.rpc.sp.Parser2.processStartElement(Parser2.java:2794)
    at com.sun.xml.rpc.sp.Parser2.parseContent(Parser2.java:3036)
    at com.sun.xml.rpc.sp.Parser2.parse(Parser2.java:2360)
    at com.sun.xml.rpc.streaming.XMLReaderImpl.next(XMLReaderImpl.java:105)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextContent(XMLReaderBase.java:23)
    at com.sun.xml.rpc.streaming.XMLReaderBase.nextElementContent(XMLReaderBase.java:41)
    at oracle.webdb.wsrp.PortletDescription_LiteralSerializer.doDeserialize(PortletDescription_LiteralSerializer.java:94)
    at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.internalDeserialize(LiteralObjectSerializerBase.java:174)
    at com.sun.xml.rpc.encoding.literal.LiteralObjectSerializerBase.deserialize(LiteralObjectSerializerBase.java:84)
    at oracle.webdb.wsrp.ServiceDescription_LiteralSerializer.doDeserialize(ServiceDescription_LiteralSerializer.java:88)
    at com.sun.xml.rpc.encoding.literal. (WWC-43273)
    Note that when the producer is OC4J 10.1.3.1.1 then it works fine. The OC4J log file is also not throwing any exception. So, i think some problem with Oracle Portal 10.1.4.
    Thanks
    Tarun

    Please follow the instructions given in https://metalink.oracle.com/help/usaeng/Search/search.html#file with document id 341922.1

  • How to handle session-timeout in producer-consumer(wsrp) environment.

    Hi
    We are using weblogic portal 9.2 in federated environment (wsrp) .
    We have one consumer Ear and some producer Ear .
    we want if session is time out ,then user should direct to some default page .
    For that we are firing event in Base Exception handler where we caught all exceptions.
    that event is listen by consumer side ,(when session time out producer raise event).
    event is fired , every thing looks fine but we are not able to redirect page from producer to consumer (which should not be happen )
    I think we are doing something wrong .
    Any suggestion/ guidance will help us lot
    thanks in advance

    Hello,
    Probably the easiest way for you to get the behaviour you want would be to put a event handler on a .portlet file (on the consumer) that lives on the page you want to activate if the producer session has timed out. For example:
    <netuix:handleCustomEvent event="eventNameComingFromProducer" eventLabel="sessionTimeoutPageActivation">
    <netuix:activatePage/>
    </netuix:handleCustomEvent>
    When your producer portlet sends an event "eventNameComingFromProducer" the portlet on the page you want to activate will pick it up and automatically activate the page.
    Kevin

  • Java.lang.NullPointerException consuming wsrp

    We are using wci 10g to consume a wsrp from peoplesoft 9.1 and peopletools 8.5. We can import the wsdl in the portlet settings and can pick the pagelet we want to run, but when we view the portlet is gives us a java.lang.NullPointerException.
    WCI support has identified the problem as bug 8413287 that was logged in April 2009, but does not have a fix for it.
    My question is has anyone found this bug and have a way around it? We are looking at deploying a open source wsrp consumer to the portal, but would like to get any feedback.

    Support had a "secret" patch for the wci wsrp consumer.
    Ask for wsrp comsumber version 10.3.0.346382

  • How to show the logged in User's displayName in a custom wsrp portlet

    Hi,
    I have a custom wsrp portlet added to webcenter space. Within the portlet I need to show the logged in(sso) user's displayName. I have tried using #{webCenterProfile[securityContext.userName].displayName} but its not working. Any pointers would be highly appreciated.
    Regards,
    Ann

    You might want to post that in the [WebCenter Suite - Framework|http://forums.oracle.com/forums/forum.jspa?forumID=354] discussion board.
    This area is strictly WebCenter Interaction which is a completely different product than Spaces.

  • WSRP Portlets - HTML elements renamed

    Moved from Webcenter Spaces.
    All,
    I have a JSR-168 portlet that I WSRP-ed using the wsrp-predeploy tool. I have this registered in Weblogic as a WSRP producer and added to Webcenter Spaces. What I notice is that when rendered on Spaces, the HTML elements including javascript function names are renamed and prefixed with some string values. For e.g. my input fields have "_adfp_portlet_field___adfpfp_f1723360181_adfpsep_f0_adfpsep_" added at the beginning and my javascript function names (within the script tag) have "adfp1723360181_" added.
    The portlet I have (it's the JasperServer portlet fwiw) uses Javascript functions for navigation. As a result of this renaming, none of the button controls work in the portlet.
    Is there anything I can do about this?
    Bijesh

    Yannick,
    That was brilliant. It worked.
    BTW, I notice that the edit mode of my portlet always opens in the Maximized state. This happens even though the portlet render url is constructed with "normal" window state. Is there anything else I need to do so Webcenter displays the portlet in normal mode?
    Edited by: Bijesh Krishnadas on Dec 5, 2010 7:33 PM

Maybe you are looking for

  • Need advice on how to import / store existing image files into LR etc.

    Hi, I am just beginning to use LR 2.3 and I want to start correctly.... I have been pondering how to begin and I was hoping some of you might point me in the right direction. 1. I have all of my RAW files on my Mac's desktop and they are organized at

  • Must I buy something in order to share (via email etc.) an Adobe  pdf file created on my computer?

    I downloaded Adobe Reader X.  I created docs in Word and saved it as a pdf file.  I tried to send the doc by email.When the doc is opened, it is gibberish.  Must I buy something for the document to be shared and read?  Is it a setting issue?  I am us

  • How to debug flash remoting?

    Hi I am using -  flashremoting.jar 1.0.52502 on tomcat. I have a 3 year old application that is running on 1 server, it works fine there, the flash client can connect to the java tomcat server and call methods and all is well. We are trying to stand

  • Font too small

    I downloaded the book Software Engineering for Internet Applications from Ebsco via my local library.  I have a 7 day check-out.  The fonts are WAY too small and clearly don't match what they are supposed to be since the pagination appears to lock th

  • Webpage loading

    Good evening, Over the past month or so, I have been having very slow internet connection. Actually, webpage loading is the problem. If I can explain so you understand: when I have a website entered for search in the address bar, for instance: http:/