5 Replies Latest reply: Oct 8, 2010 1:59 PM by 653657 RSS

    How would you consume an WLP 8.1.5 WSRP portlet in WebCenter 11g

    Jason Wojnar
      I have search google, forums, blogs, and bought books on WebCenter 11g.

      What I found is how to consume either WLP 10 portlets using the Compatibilty patch or just WebCenter portlets.

      We are planning to create a new WebCenter Framework Federated portal that will consume WLP 8.1.5 portlets to give us time to slowly
      upgrade the 8.1.5 applications to 11g.

      However, I cannot find any example anywhere that can explain how to do this.

      Can anyone help?

      Thank you in advance for any assistance.
        • 1. Re: How would you consume an WLP 8.1.5 WSRP portlet in WebCenter 11g
          Yannick Ongena
          I don't know much about WLP but if you have WSRP portlets, than their shouldn't be any problem consuming them in webcenter because WSRP is a standard and webcenter supports it...
          If however, you are using WLP API's inside your portlets, you are braking the standard based portlets and you will have errors when trying to consume then in another portlet.

          In theory it should be possible to just register a WSRP producer and use the WSRP from WLS but i don't know if this will work in practice....
          • 2. Re: How would you consume an WLP 8.1.5 WSRP portlet in WebCenter 11g
            Jason Wojnar
            Good Day,

            I have deployed a simple WSRP producer portal application (created using Workshop IDE) to our 8.1.5 domain and when I attempt to register it in EM, I recieve the following:

            Unable to access or transform the markup from the WSDL URL

            javax.faces.FacesException: #{emas_fwk_config_ConfigTemplateViewBean.applyAction}: oracle.sysman.emSDK.app.exception.EMSystemException
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
            at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
            at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
            at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
            at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
            at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
            at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
            at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
            at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
            at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
            at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.emSDK.license.LicenseFilter.doFilter(LicenseFilter.java:101)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.emas.fwk.MASConnectionFilter.doFilter(MASConnectionFilter.java:41)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.AuditServletFilter.doFilter(AuditServletFilter.java:179)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:203)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.core.app.perf.PerfFilter.doFilter(PerfFilter.java:141)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:542)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
            Caused by: javax.faces.el.EvaluationException: oracle.sysman.emSDK.app.exception.EMSystemException
            at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
            at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
            ... 56 more
            Caused by: oracle.sysman.emSDK.app.exception.EMSystemException
            at oracle.sysman.emai.model.workplace.ServiceConfigModelBase.throwEMSystemException(ServiceConfigModelBase.java:763)
            at oracle.sysman.emai.model.workplace.ProducerModel.createConnection(ProducerModel.java:340)
            at oracle.sysman.emai.view.workplace.ServiceConfigViewBaseBean.createConnection(ServiceConfigViewBaseBean.java:479)
            at oracle.sysman.emai.view.workplace.ServiceConfigViewBaseBean.createUpdateConnection(ServiceConfigViewBaseBean.java:338)
            at oracle.sysman.emai.view.workplace.ProducersView.createUpdateConnection(ProducersView.java:230)
            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 com.sun.el.parser.AstValue.invoke(AstValue.java:157)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
            at oracle.sysman.emas.fwk.config.ConfigTemplateViewBean$ActionMethod.executeMethod(ConfigTemplateViewBean.java:1319)
            at oracle.sysman.emas.fwk.config.ConfigTemplateViewBean$ActionMethod.execute(ConfigTemplateViewBean.java:1294)
            at oracle.sysman.emas.fwk.config.ConfigTemplateViewBean.executeSaveChanges(ConfigTemplateViewBean.java:1568)
            at oracle.sysman.emas.fwk.config.ConfigTemplateViewBean.saveChangesDuringRequest(ConfigTemplateViewBean.java:1450)
            at oracle.sysman.emas.fwk.config.ConfigTemplateViewBean.applyAction(ConfigTemplateViewBean.java:1211)
            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 com.sun.el.parser.AstValue.invoke(AstValue.java:157)
            at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
            at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
            ... 57 more
            Caused by: oracle.sysman.emSDK.app.exception.EMSystemException
            at oracle.sysman.emai.model.workplace.ServiceConfigModelBase.throwEMSystemException(ServiceConfigModelBase.java:763)
            at oracle.sysman.emai.model.workplace.ProducerModel.getWsdModel(ProducerModel.java:507)
            at oracle.sysman.emai.model.workplace.ProducerModel.setWSConnectionMBean(ProducerModel.java:455)
            at oracle.sysman.emai.model.workplace.ProducerModel.createChildConnection(ProducerModel.java:421)
            at oracle.sysman.emai.model.workplace.ProducerModel.createConnection(ProducerModel.java:291)
            ... 78 more
            Caused by: javax.management.RuntimeMBeanException: javax.management.RuntimeMBeanException: Unable to access or transform the markup from the WSDL URL
            at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
            at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
            at javax.management.remote.rmi.RMIConnectionImpl_1033_WLStub.invoke(Unknown Source)
            at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
            at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
            at weblogic.management.remote.wlx.ClientProvider$WLXMBeanServerConnectionWrapper.invoke(ClientProvider.java:291)
            at oracle.sysman.emai.model.workplace.ProducerModel.getWsdModel(ProducerModel.java:500)
            ... 81 more
            Caused by: javax.management.RuntimeMBeanException: Unable to access or transform the markup from the WSDL URL
            at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:897)
            at oracle.as.jmx.framework.generic.spi.interceptors.ContextClassLoaderMBeanInterceptor.internalInvoke(ContextClassLoaderMBeanInterceptor.java:94)
            at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:245)
            at oracle.as.jmx.framework.generic.spi.interceptors.MBeanRestartInterceptor.internalInvoke(MBeanRestartInterceptor.java:116)
            at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:245)
            at oracle.as.jmx.framework.generic.spi.security.AbstractMBeanSecurityInterceptor.internalInvoke(AbstractMBeanSecurityInterceptor.java:174)
            at oracle.as.jmx.framework.generic.spi.interceptors.AbstractMBeanInterceptor.doInvoke(AbstractMBeanInterceptor.java:245)
            at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.invoke(OracleStandardEmitterMBean.java:803)
            at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
            at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
            at java.security.AccessController.doPrivileged(Native Method)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
            at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
            at java.security.AccessController.doPrivileged(Native Method)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
            at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
            at weblogic.management.mbeanservers.domainruntime.internal.ManagedMBeanServerConnection.invoke(ManagedMBeanServerConnection.java:330)
            at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
            at java.security.AccessController.doPrivileged(Native Method)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
            at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
            at java.security.AccessController.doPrivileged(Native Method)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
            at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
            at java.security.AccessController.doPrivileged(Native Method)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
            at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
            at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
            at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
            at java.security.AccessController.doPrivileged(Native Method)
            at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
            at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
            at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
            at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
            at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
            at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
            at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
            at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
            ... 87 more
            Caused by: java.lang.IllegalArgumentException: Unable to access or transform the markup from the WSDL URL
            at oracle.portlet.client.mbean.ProducerUtils.getWsdlModel(ProducerUtils.java:775)
            at oracle.portlet.client.mbean.ProducerMXBeanImpl.getWsdlModel(ProducerMXBeanImpl.java:234)
            at oracle.portlet.client.mbean.ProducerMXBeanImpl.getWsdlModel(ProducerMXBeanImpl.java:228)
            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 oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.doInvoke(OracleStandardEmitterMBean.java:889)
            ... 133 more


            If I put the WSDL URL in my browser, I get the WSDL information back.

            http://sitportal.accidentfund.com/DonFSimplePortalWeb/producer?WSDL

            Information returned:

            <?xml version="1.0" encoding="UTF-8"?>
            <wsdl:definitions xmlns:urn1="urn:bea:wsrp:ext:v1:bind" xmlns:urn="urn:oasis:names:tc:wsrp:v1:bind" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl">
                 <wsdl:import namespace="urn:oasis:names:tc:wsrp:v1:bind" location="http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl"/>
                 <wsdl:import namespace="urn:bea:wsrp:ext:v1:bind" location="wlp_wsrp_v1_bindings.wsdl"/>
                 <wsdl:service name="WSRPService">
                      <wsdl:port name="WSRPBaseService" binding="urn:WSRP_v1_Markup_Binding_SOAP">
                           <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sitportal.accidentfund.com:7043/DonFSimplePortalWeb/producer"/>
                      </wsdl:port>
                      <wsdl:port name="WSRPServiceDescriptionService" binding="urn:WSRP_v1_ServiceDescription_Binding_SOAP">
                           <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sitportal.accidentfund.com:7043/DonFSimplePortalWeb/producer"/>
                      </wsdl:port>
                      <wsdl:port name="WSRPRegistrationService" binding="urn:WSRP_v1_Registration_Binding_SOAP">
                           <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sitportal.accidentfund.com:7043/DonFSimplePortalWeb/producer"/>
                      </wsdl:port>
                      <wsdl:port name="WSRPPortletManagementService" binding="urn:WSRP_v1_PortletManagement_Binding_SOAP">
                           <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sitportal.accidentfund.com:7043/DonFSimplePortalWeb/producer"/>
                      </wsdl:port>
                      <wsdl:port name="WLP_WSRP_Ext_Service" binding="urn1:WLP_WSRP_v1_Markup_Ext_Binding_SOAP">
                           <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sitportal.accidentfund.com:7043/DonFSimplePortalWeb/producer"/>
                      </wsdl:port>
                 </wsdl:service>
            </wsdl:definitions>

            I have no security around this that I'm aware of.

            I am trying to hit a Load Balancer in front of a clustered environment.
            • 3. Re: How would you consume an WLP 8.1.5 WSRP portlet in WebCenter 11g
              Jason Wojnar
              I will attempt to deploy the sample app to my local single server environment and see what happens.
              • 4. Re: How would you consume an WLP 8.1.5 WSRP portlet in WebCenter 11g
                Jason Wojnar
                I have deployed the sample 8.1.5 application to my local 8.1.5 development domain to eliminate load balancer and cluster issues.

                I can access the WSDL through IE browser:

                http://13299a:7001/DonFSimplePortalWeb/producer?WSDL

                And here are the results:

                <?xml version="1.0" encoding="UTF-8"?>
                <wsdl:definitions xmlns:urn1="urn:bea:wsrp:ext:v1:bind" xmlns:urn="urn:oasis:names:tc:wsrp:v1:bind" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:oasis:names:tc:wsrp:v1:wsdl">
                     <wsdl:import namespace="urn:oasis:names:tc:wsrp:v1:bind" location="http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl"/>
                     <wsdl:import namespace="urn:bea:wsrp:ext:v1:bind" location="wlp_wsrp_v1_bindings.wsdl"/>
                     <wsdl:service name="WSRPService">
                          <wsdl:port name="WSRPBaseService" binding="urn:WSRP_v1_Markup_Binding_SOAP">
                               <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:7001/DonFSimplePortalWeb/producer"/>
                          </wsdl:port>
                          <wsdl:port name="WSRPServiceDescriptionService" binding="urn:WSRP_v1_ServiceDescription_Binding_SOAP">
                               <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:7001/DonFSimplePortalWeb/producer"/>
                          </wsdl:port>
                          <wsdl:port name="WSRPRegistrationService" binding="urn:WSRP_v1_Registration_Binding_SOAP">
                               <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:7001/DonFSimplePortalWeb/producer"/>
                          </wsdl:port>
                          <wsdl:port name="WSRPPortletManagementService" binding="urn:WSRP_v1_PortletManagement_Binding_SOAP">
                               <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:7001/DonFSimplePortalWeb/producer"/>
                          </wsdl:port>
                          <wsdl:port name="WLP_WSRP_Ext_Service" binding="urn1:WLP_WSRP_v1_Markup_Ext_Binding_SOAP">
                               <soap:address xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" location="http://localhost:7001/DonFSimplePortalWeb/producer"/>
                          </wsdl:port>
                     </wsdl:service>
                </wsdl:definitions>



                I started JDeveloper and attempted to register a WSRP Producer through a connector and received the following error:

                Oct 6, 2010 10:04:07 AM oracle.adf.model.connection.webservice
                SEVERE: Failed to create new webservice connection: name=MyTestProducer-wsconn, wsdl=http://13299a:7001/DonFSimplePortalWeb/producer?WSDL, config=oracle.j2ee.ws.wsdl.conn.ConnectionConfigImpl@301314, model=null, definition=null, service=null
                javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of http://13299a:7001/DonFSimplePortalWeb/producer?WSDL: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://13299a:7001/DonFSimplePortalWeb/wlp_wsrp_v1_bindings.wsdl:WSDL not found
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:921)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:797)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:706)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:655)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:368)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:615)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:593)
                     at oracle.adf.model.connection.webservice.util.WsdlUtil.loadWsdl(WsdlUtil.java:83)
                     at oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl.<init>(WebServiceConnectionImpl.java:130)
                     at oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory.newInstance(WebServiceConnectionFactory.java:172)
                     at oracle.portlet.client.connection.wsrp.WSRPProducerConnection.create(WSRPProducerConnection.java:250)
                     at oracle.adfinternal.model.portlet.manager.ProducerConnectionManager.createWSRPProducerConnection(ProducerConnectionManager.java:307)
                     at oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegistrationWizard$4$1.doWork(WSRPProducerRegistrationWizard.java:1601)
                     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:619)
                Caused by: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://13299a:7001/DonFSimplePortalWeb/wlp_wsrp_v1_bindings.wsdl:WSDL not found
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:541)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:427)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:366)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:900)
                     ... 15 more
                Oct 6, 2010 10:04:07 AM oracle.adf.model.connection.webservice
                SEVERE: Failed to create a new webservice connection instance with attributes {minimal-model=minimal-model: true, wsdl=wsdl: http://13299a:7001/DonFSimplePortalWeb/producer?WSDL, wsdl.reader.timeout=wsdl.reader.timeout: 30000, name=name: MyTestProducer-wsconn, all-wsdl-import-services=all-wsdl-import-services: true}
                oracle.webservices.model.SerializationException: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of http://13299a:7001/DonFSimplePortalWeb/producer?WSDL: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://13299a:7001/DonFSimplePortalWeb/wlp_wsrp_v1_bindings.wsdl:WSDL not found
                     at oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl.<init>(WebServiceConnectionImpl.java:160)
                     at oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory.newInstance(WebServiceConnectionFactory.java:172)
                     at oracle.portlet.client.connection.wsrp.WSRPProducerConnection.create(WSRPProducerConnection.java:250)
                     at oracle.adfinternal.model.portlet.manager.ProducerConnectionManager.createWSRPProducerConnection(ProducerConnectionManager.java:307)
                     at oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegistrationWizard$4$1.doWork(WSRPProducerRegistrationWizard.java:1601)
                     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:619)
                Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=INVALID_WSDL: Error reading import of http://13299a:7001/DonFSimplePortalWeb/producer?WSDL: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://13299a:7001/DonFSimplePortalWeb/wlp_wsrp_v1_bindings.wsdl:WSDL not found
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:921)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseDefinition(WSDLReaderImpl.java:797)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:706)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:655)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:368)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:615)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:593)
                     at oracle.adf.model.connection.webservice.util.WsdlUtil.loadWsdl(WsdlUtil.java:83)
                     at oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl.<init>(WebServiceConnectionImpl.java:130)
                     ... 7 more
                Caused by: oracle.j2ee.ws.wsdl.LocalizedWSDLException: WSDLException: faultCode=OTHER_ERROR: Failed to read WSDL from http://13299a:7001/DonFSimplePortalWeb/wlp_wsrp_v1_bindings.wsdl:WSDL not found
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.openAsStreamConnection(WSDLReaderImpl.java:541)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:427)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:366)
                     at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.parseImport(WSDLReaderImpl.java:900)
                     ... 15 more
                • 5. Re: How would you consume an WLP 8.1.5 WSRP portlet in WebCenter 11g
                  653657
                  Jason:

                  Unfortunately, the 8.1.x WSDL is not parsable by non WLP consumers. Your best bet, is to copy the files locally and refer to them with file: URLs.

                  Hope this helps,

                  Nate