Portlet Consumer Error - WSRP Portlet Consumed By Particular Application Not Working - An error has occured for Portlet Binding ... (Doc ID 1504580.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 and later
Information in this document applies to any platform.
***Checked for Currency 19-Feb-2015***

Symptoms

When attempting to run a JDeveloper application which consumes a portlet, the portlet will not render and the following error is seen in the logs when run in debug mode. Creating a new application from scratch works fine, but the existing application is complex and not simple to re-create.

An error has occured for Portlet Binding MyApplicationtitle1_1.
oracle.adf.model.portlet.binding.PortletModelException: Portlet-sidokselle MyApplicationtitle1_1 ei voi hakea portlet-vastausta (sisäinen virhe).
at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.getPortletRendition(PortletBinding.java:1323)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:149)
at oracle.adfinternal.view.faces.renderkit.rich.portlet.PortletRenderer.encodeAll(PortletRenderer.java:814)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
...
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: java.lang.RuntimeException: Error converting the following bean from JAXB package 'oracle.portlet.wsrp.v2' to SOAP:
oracle.portlet.wsrp.v2.impl.InitCookieElementImpl {0}
  [UserContext] oracle.portlet.wsrp.v2.impl.UserContextImpl {1}
    [UserContextKey] "extad2"
    [Profile] oracle.portlet.wsrp.v2.impl.UserProfileImpl {2}
      [Gender] (null)
      [Extensions] array {3}
      [Bdate] (null)
      [Name] (null)
      [EmployerInfo] (null)
      [ExtensionsLength] 0
      [HomeInfo] (null)
      [BusinessInfo] (null)
    [UserCategories] array {4}
    [ExtensionsLength] 0
    [Extensions] array {5}
    [UserCategoriesLength] 0
  [RegistrationContext] oracle.portlet.wsrp.v2.impl.RegistrationContextImpl {6}
    [Extensions] array {7}
    [ScheduledDestruction] (null)
    [RegistrationState] array {8} [-84,-19,0,5,119,44,69,-83,18,-18,0,38,67,58,56,100,52,54,52,98,55,97,45,99,50,97,48,45,52,98,102,51,45,56,57,52,55,45,99,49,49,55,53,99,49,49,57,51,101,54,115,114,0,17,106,97,118,97,46,117,116,105,108,46,72,97,115,104,77,97,112,5,7,-38,-63,-61,22,96,-47,3,0,2,70,0,10,108,111,97,100,70,97,99,116,111,114,73,0,9,116,104,114,101,115,104,111,108,100,120,112,63,64,0,0,0,0,0,12,119,8,0,0,0,16,0,0,0,0,120,119,44,0,9,87,72,75,73,80,53,55,55,53,0,30,79,114,97,99,108,101,80,111,114,116,108,101,116,67,108,105,101,110,116,46,49,49,46,49,46,49,46,52,46,48,0,115,114,0,37,106,97,118,97,46,117,116,105,108,46,67,111,108,108,101,99,116,105,111,110,115,36,85,110,109,111,100,105,102,105,97,98,108,101,83,101,116,-128,29,-110,-47,-113,-101,-128,85,2,0,0,120,114,0,44,106,97,118,97,46,117,116,105,108,46,67,111,108,108,101,99,116,105,111,110,115,36,85,110,109,111,100,105,102,105,97,98,108,101,67,111,108,108,101,99,116,105,111,110,25,66,0,-128,-53,94,-9,30,2,0,1,76,0,1,99,116,0,22,76,106,97,118,97,47,117,116,105,108,47,67,111,108,108,101,99,116,105,111,110,59,120,112,115,114,0,17,106,97,118,97,46,117,116,105,108,46,72,97,115,104,83,101,116,-70,68,-123,-107,-106,-72,-73,52,3,0,0,120,112,119,12,0,0,0,8,63,64,0,0,0,0,0,6,116,0,32,106,97,118,97,120,58,112,111,114,116,108,101,116,58,109,111,100,101,58,101,100,105,116,95,100,101,102,97,117,108,116,115,116,0,12,119,115,114,112,58,112,114,101,118,105,101,119,116,0,43,117,114,110,58,106,97,118,97,120,58,112,111,114,116,108,101,116,58,109,111,100,101,58,99,117,115,116,111,109,58,101,100,105,116,95,100,101,102,97,117,108,116,115,116,0,9,119,115,114,112,58,118,105,101,119,116,0,9,119,115,114,112,58,104,101,108,112,116,0,9,119,115,114,112,58,101,100,105,116,120,115,113,0,126,0,2,115,113,0,126,0,6,119,12,0,0,0,8,63,64,0,0,0,0,0,4,116,0,11,119,115,114,112,58,110,111,114,109,97,108,116,0,14,119,115,114,112,58,109,105,110,105,109,105,122,101,100,116,0,9,119,115,114,112,58,115,111,108,111,116,0,14,119,115,114,112,58,109,97,120,105,109,105,122,101,100,120,115,113,0,126,0,2,115,113,0,126,0,6,119,12,0,0,0,1,63,64,0,0,0,0,0,0,120,112,]
    [ExtensionsLength] 0
    [RegistrationHandle] "C:8d464b7a-c2a0-4bf3-8947-c1175c1193e6"

Validation output:

at oracle.portlet.utils.SoapJaxbTranslationUtils.jaxbToSoap(SoapJaxbTranslationUtils.java:152)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.toSoap(WSRP_v2_Markup_PortTypeJaxbToSoap.java:43)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.initCookie(WSRP_v2_Markup_PortTypeJaxbToSoap.java:601)
at oracle.portlet.wsrp.v2.ServerToWSRPv2.initCookie(ServerToWSRPv2.java:18434)
...
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:391)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:416)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1
at weblogic.webservice.core.soap.SOAPMessageImpl.getSOAPBody(SOAPMessageImpl.java:631)
at oracle.portlet.utils.SoapJaxbTranslationUtils.jaxbToSoap(SoapJaxbTranslationUtils.java:135)
... 27 more
An error has occured for Portlet Binding portlet1.
oracle.adf.model.portlet.binding.PortletModelException: Portlet-sidokselle MyPortalApplicationtitle1_1 ei voi hakea portlet-vastausta (sisäinen virhe).
at oracle.adf.model.portlet.binding.PortletBinding$InnerPortletModel.getPortletRendition(PortletBinding.java:1323)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getPortletRendition(ActivityPortletModelWrapper.java:149)
at oracle.adfinternal.view.faces.renderkit.rich.portlet.PortletRenderer.encodeAll(PortletRenderer.java:814)
at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
...
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: java.lang.RuntimeException: Error converting the following bean from JAXB package 'oracle.portlet.wsrp.v2' to SOAP:
oracle.portlet.wsrp.v2.impl.InitCookieElementImpl {0}
  [UserContext] oracle.portlet.wsrp.v2.impl.UserContextImpl {1}
    [UserContextKey] "extad2"
    [Profile] oracle.portlet.wsrp.v2.impl.UserProfileImpl {2}
      [Gender] (null)
      [Extensions] array {3}
      [Bdate] (null)
      [Name] (null)
      [EmployerInfo] (null)
      [ExtensionsLength] 0
      [HomeInfo] (null)
      [BusinessInfo] (null)
    [UserCategories] array {4}
    [ExtensionsLength] 0
    [Extensions] array {5}
    [UserCategoriesLength] 0
  [RegistrationContext] oracle.portlet.wsrp.v2.impl.RegistrationContextImpl {6}
    [Extensions] array {7}
    [ScheduledDestruction] (null)
    [RegistrationState] array {8} [-84,-19,0,5,119,44,69,-83,18,-18,0,38,67,58,56,100,52,54,52,98,55,97,45,99,50,97,48,45,52,98,102,51,45,56,57,52,55,45,99,49,49,55,53,99,49,49,57,51,101,54,115,114,0,17,106,97,118,97,46,117,116,105,108,46,72,97,115,104,77,97,112,5,7,-38,-63,-61,22,96,-47,3,0,2,70,0,10,108,111,97,100,70,97,99,116,111,114,73,0,9,116,104,114,101,115,104,111,108,100,120,112,63,64,0,0,0,0,0,12,119,8,0,0,0,16,0,0,0,0,120,119,44,0,9,87,72,75,73,80,53,55,55,53,0,30,79,114,97,99,108,101,80,111,114,116,108,101,116,67,108,105,101,110,116,46,49,49,46,49,46,49,46,52,46,48,0,115,114,0,37,106,97,118,97,46,117,116,105,108,46,67,111,108,108,101,99,116,105,111,110,115,36,85,110,109,111,100,105,102,105,97,98,108,101,83,101,116,-128,29,-110,-47,-113,-101,-128,85,2,0,0,120,114,0,44,106,97,118,97,46,117,116,105,108,46,67,111,108,108,101,99,116,105,111,110,115,36,85,110,109,111,100,105,102,105,97,98,108,101,67,111,108,108,101,99,116,105,111,110,25,66,0,-128,-53,94,-9,30,2,0,1,76,0,1,99,116,0,22,76,106,97,118,97,47,117,116,105,108,47,67,111,108,108,101,99,116,105,111,110,59,120,112,115,114,0,17,106,97,118,97,46,117,116,105,108,46,72,97,115,104,83,101,116,-70,68,-123,-107,-106,-72,-73,52,3,0,0,120,112,119,12,0,0,0,8,63,64,0,0,0,0,0,6,116,0,32,106,97,118,97,120,58,112,111,114,116,108,101,116,58,109,111,100,101,58,101,100,105,116,95,100,101,102,97,117,108,116,115,116,0,12,119,115,114,112,58,112,114,101,118,105,101,119,116,0,43,117,114,110,58,106,97,118,97,120,58,112,111,114,116,108,101,116,58,109,111,100,101,58,99,117,115,116,111,109,58,101,100,105,116,95,100,101,102,97,117,108,116,115,116,0,9,119,115,114,112,58,118,105,101,119,116,0,9,119,115,114,112,58,104,101,108,112,116,0,9,119,115,114,112,58,101,100,105,116,120,115,113,0,126,0,2,115,113,0,126,0,6,119,12,0,0,0,8,63,64,0,0,0,0,0,4,116,0,11,119,115,114,112,58,110,111,114,109,97,108,116,0,14,119,115,114,112,58,109,105,110,105,109,105,122,101,100,116,0,9,119,115,114,112,58,115,111,108,111,116,0,14,119,115,114,112,58,109,97,120,105,109,105,122,101,100,120,115,113,0,126,0,2,115,113,0,126,0,6,119,12,0,0,0,1,63,64,0,0,0,0,0,0,120,112,]
    [ExtensionsLength] 0
    [RegistrationHandle] "C:8d464b7a-c2a0-4bf3-8947-c1175c1193e6"

Validation output:

at oracle.portlet.utils.SoapJaxbTranslationUtils.jaxbToSoap(SoapJaxbTranslationUtils.java:152)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.toSoap(WSRP_v2_Markup_PortTypeJaxbToSoap.java:43)
at oracle.portlet.wsrp.v2.WSRP_v2_Markup_PortTypeJaxbToSoap.initCookie(WSRP_v2_Markup_PortTypeJaxbToSoap.java:601)
at oracle.portlet.wsrp.v2.ServerToWSRPv2.initCookie(ServerToWSRPv2.java:18434)
...
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.runTask(ModifiedThreadPoolExecutor.java:391)
at oracle.portlet.client.service.pipeline.ModifiedThreadPoolExecutor$Worker.run(ModifiedThreadPoolExecutor.java:416)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.UnsupportedOperationException: This class does not support SAAJ 1.1
at weblogic.webservice.core.soap.SOAPMessageImpl.getSOAPBody(SOAPMessageImpl.java:631)
at oracle.portlet.utils.SoapJaxbTranslationUtils.jaxbToSoap(SoapJaxbTranslationUtils.java:135)
... 27 more

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms