Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1296

CXF throwing UnsupportedOperationException when including header.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3
    • 2.0.4
    • Aegis Databinding
    • None
    • Weblogic

    • Advanced

    Description

      Dec 12, 2007 8:07:31 PM org.apache.cxf.interceptor.LoggingInInterceptor handleMessage
      INFO: Inbound Message
      --------------------------------------
      Encoding: UTF-8
      Headers:

      {Host=[localhost:7001], User-Agent=[Java/1.5.0_06], connection=[keep-alive], transfer-encoding=[chunked], Pragma=[no-cache], content-type=[application/soap+xml; charset=UTF-8], Cache-Control=[no-cache], Accept=[*]}

      Message:
      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><ns4:header xmlns:ns4="http://user.blogic.contract.services.ivr.itg.marsh.com/" xmlns:ns3="http://user.blogic.local.services.ivr.itg.marsh.com/" xmlns:ns2="http://tobject.contract.services.ivr.itg.marsh.com"><ns2:clientCode>111</ns2:clientCode><ns2:productCode>222</ns2:productCode></ns4:header></soap:Header><soap:Body><ns4:getIdentification xmlns:ns2="http://tobject.contract.services.ivr.itg.marsh.com" xmlns:ns3="http://user.blogic.local.services.ivr.itg.marsh.com/" xmlns:ns4="http://user.blogic.contract.services.ivr.itg.marsh.com/"><employeeID>1</employeeID><ssn>2</ssn><productFlag>P</productFlag></ns4:getIdentification></soap:Body></soap:Envelope>
      --------------------------------------
      Dec 12, 2007 8:07:31 PM org.apache.cxf.phase.PhaseInterceptorChain doIntercept
      INFO: Interceptor has thrown exception, unwinding now
      java.lang.UnsupportedOperationException
      at org.apache.cxf.aegis.databinding.AegisDatabinding.createReader(AegisDatabinding.java:109)
      at org.apache.cxf.interceptor.AbstractInDatabindingInterceptor.getDataReader(AbstractInDatabindingInterceptor.java:69)
      at org.apache.cxf.interceptor.AbstractInDatabindingInterceptor.getNodeDataReader(AbstractInDatabindingInterceptor.java:87)
      at org.apache.cxf.binding.soap.interceptor.SoapHeaderInterceptor.handleMessage(SoapHeaderInterceptor.java:94)
      at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
      at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
      at org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:79)
      at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:256)
      at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
      at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
      at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(Unknown Source)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
      Dec 12, 2007 8:07:31 PM org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptor handleMessage
      INFO: class org.apache.cxf.binding.soap.interceptor.Soap12FaultOutInterceptorapplication/soap+xml
      Dec 12, 2007 8:07:31 PM org.apache.cxf.interceptor.LoggingOutInterceptor$LoggingCallback onClose
      INFO: Outbound Message:
      --------------------------------------
      <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Body><soap:Fault><soap:Code><soap:Value>soap:Receiver</soap:Value></soap:Code><soap:Reason><soap:Text xml:lang ="en">Fault occurred while processing.</soap:Text></soap:Reason></soap:Fault></soap:Body></soap:Envelope>--------------------------------------

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            cooldeepak Deepak Mishra
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: