weblogic.wsee.codec.CodecException: Failed to encode message

Oracle Community | 666705 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Porting Webservice from WL8.1 SP5 to WL9.2

    Oracle Community | 1 decade ago | 666705
    weblogic.wsee.codec.CodecException: Failed to encode message
  2. 0

    com.bea.xml.XmlException: failed to find a suitable binding type

    Oracle Community | 1 decade ago | 666705
    weblogic.wsee.codec.CodecException: Failed to encode message

    Root Cause Analysis

    1. com.bea.xml.XmlException

      unable to lookup BindingTypeName[com.company.webservice.Moo;t=Goo@java:com.company.webservice] from type com.bea.staxb.buildtime.internal.bts.WrappedArrayType[com.company.webservice.Moo[]; t=Moo@java:com.company.webservice]

      at com.bea.staxb.runtime.internal.WrappedArrayRuntimeBindingType.initialize()
    2. com.bea.staxb
      MarshallerImpl.marshalType
      1. com.bea.staxb.runtime.internal.WrappedArrayRuntimeBindingType.initialize(WrappedArrayRuntimeBindingType.java:74)
      2. com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
      3. com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
      4. com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.<init>(RuntimeBindingType.java:426)
      5. com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.<init>(AttributeRuntimeBindingType.java:333)
      6. com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.<init>(ByNameRuntimeBindingType.java:328)
      7. com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initElementProperty(ByNameRuntimeBindingType.java:192)
      8. com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.initialize(AttributeRuntimeBindingType.java:96)
      9. com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initialize(ByNameRuntimeBindingType.java:127)
      10. com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
      11. com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
      12. com.bea.staxb.runtime.internal.RuntimeBindingType$BeanRuntimeProperty.<init>(RuntimeBindingType.java:426)
      13. com.bea.staxb.runtime.internal.AttributeRuntimeBindingType$QNameRuntimeProperty.<init>(AttributeRuntimeBindingType.java:333)
      14. com.bea.staxb.runtime.internal.ByNameRuntimeBindingType$ElementQNameProperty.<init>(ByNameRuntimeBindingType.java:328)
      15. com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initElementProperty(ByNameRuntimeBindingType.java:192)
      16. com.bea.staxb.runtime.internal.AttributeRuntimeBindingType.initialize(AttributeRuntimeBindingType.java:96)
      17. com.bea.staxb.runtime.internal.ByNameRuntimeBindingType.initialize(ByNameRuntimeBindingType.java:127)
      18. com.bea.staxb.runtime.internal.RuntimeBindingType.external_initialize(RuntimeBindingType.java:152)
      19. com.bea.staxb.runtime.internal.RuntimeBindingTypeTable.createRuntimeType(RuntimeBindingTypeTable.java:111)
      20. com.bea.staxb.runtime.internal.MarshallerImpl.marshalBindingType(MarshallerImpl.java:274)
      21. com.bea.staxb.runtime.internal.MarshallerImpl.marshalType(MarshallerImpl.java:413)
      21 frames
    3. weblogic.wsee.bind
      BaseSerializerContext.serializeType
      1. weblogic.wsee.bind.runtime.internal.LiteralSerializerContext.marshalType(LiteralSerializerContext.java:70)
      2. weblogic.wsee.bind.runtime.internal.BaseSerializerContext.internalSerializeType(BaseSerializerContext.java:178)
      3. weblogic.wsee.bind.runtime.internal.BaseSerializerContext.serializeType(BaseSerializerContext.java:100)
      3 frames
    4. weblogic.wsee.codec
      SoapCodec.encode
      1. weblogic.wsee.codec.soap11.SoapEncoder.encodePart(SoapEncoder.java:267)
      2. weblogic.wsee.codec.soap11.SoapEncoder.encodeReturn(SoapEncoder.java:188)
      3. weblogic.wsee.codec.soap11.SoapEncoder.encodeParts(SoapEncoder.java:175)
      4. weblogic.wsee.codec.soap11.SoapEncoder.encode(SoapEncoder.java:102)
      5. weblogic.wsee.codec.soap11.SoapCodec.encode(SoapCodec.java:102)
      5 frames
    5. weblogic.wsee.ws
      CodecHandler.handleResponse
      1. weblogic.wsee.ws.dispatch.server.CodecHandler.encode(CodecHandler.java:103)
      2. weblogic.wsee.ws.dispatch.server.CodecHandler.handleResponse(CodecHandler.java:50)
      2 frames
    6. weblogic.wsee.handler
      HandlerIterator.handleResponse
      1. weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:242)
      2. weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:226)
      2 frames
    7. weblogic.wsee.ws
      WsSkel.invoke
      1. weblogic.wsee.ws.dispatch.server.ServerDispatcher.callHandleResponse(ServerDispatcher.java:142)
      2. weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:115)
      3. weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
      3 frames
    8. weblogic.wsee.server
      BaseWSServlet.service
      1. weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
      2. weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
      3. weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
      4. weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
      4 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      1 frame
    10. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
      5 frames
    11. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    12. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    13. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
      3 frames
    14. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      2 frames