2014-05-07 73 views
0

我有一个CXF web服务暴露在FUSE ESB中。如果发生异常,SOAP应用程序会抛出SOAP Fault,并且SOAP UI中的响应如下所示。我该怎么做才能避免/删除响应中的classContext标签。关闭踪迹和诸如此类的东西|FUSE ESB - CXF Web服务错误

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> 
    <soap:Body> 
     <soap:Fault> 
    <faultcode>soap:Server</faultcode> 
    <faultstring>8001 - The request context failed authentication policy!</faultstring> 
    <detail> 
     <PolicyException xmlns="http://www.example.com/com/xyz/sdp/api/ws"/> 
     <ns1:PolicyException xmlns:ns1="http://www.example.com/com/xyz/sdp/api/ws"> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">com.xyz.sdp.api.processors.request.AuthenticationProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.component.bean.BeanProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.util.AsyncProcessorHelper</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.component.bean.BeanProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.impl.ProcessorEndpoint</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.impl.ProcessorEndpoint$1</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.SendProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.management.InstrumentationProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.CamelInternalProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.Pipeline</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.Pipeline</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.management.InstrumentationProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.CamelInternalProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.TryProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.TryProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.management.InstrumentationProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.CamelInternalProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.CamelInternalProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.util.AsyncProcessorHelper</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.processor.DelegateAsyncProcessor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.component.cxf.CxfConsumer$1</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.camel.component.cxf.CxfConsumer$1</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.interceptor.ServiceInvokerInterceptor$1</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">java.util.concurrent.Executors$RunnableAdapter</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">java.util.concurrent.FutureTask$Sync</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">java.util.concurrent.FutureTask</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.workqueue.SynchronousExecutor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.interceptor.ServiceInvokerInterceptor</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.phase.PhaseInterceptorChain</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.ChainInitiationObserver</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.http.AbstractHTTPDestination</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.ServletController</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.ServletController</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.ServletController</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.CXFNonSpringServlet</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.AbstractHTTPServlet</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.AbstractHTTPServlet</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">javax.servlet.http.HttpServlet</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.apache.cxf.transport.servlet.AbstractHTTPServlet</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.servlet.ServletHolder</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.servlet.ServletHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.ScopedHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.security.SecurityHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.session.SessionHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.ContextHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.ops4j.pax.web.service.jetty.internal.HttpServiceContext</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.servlet.ServletHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.session.SessionHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.ContextHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.ScopedHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.handler.HandlerWrapper</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.Server</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.AbstractHttpConnection</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.AbstractHttpConnection</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.http.HttpParser</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.http.HttpParser</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.server.AsyncHttpConnection</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.io.nio.SelectChannelEndPoint</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.io.nio.SelectChannelEndPoint$1</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.util.thread.QueuedThreadPool</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">org.eclipse.jetty.util.thread.QueuedThreadPool$3</classContext> 
      <classContext xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/">java.lang.Thread</classContext> 
      <faultInfo xsi:type="ns2:PFaultInfo" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns6="http://ws.hij.com/mno/mci" xmlns:ns5="http://www.hij.com/mno/service/management-v8" xmlns:ns4="http://ws.hij.com/mno/userprofile-v2" xmlns:ns3="http://ws.hij.com/mno/commerce/v6" xmlns:ns2="http://ca.abc.sdp.xyz.com/"> 
       <code>8001</code> 
       <message>The request context failed authentication policy!</message> 
      </faultInfo> 
     </ns1:PolicyException> 
    </detail> 
     </soap:Fault> 
    </soap:Body> 
</soap:Envelope> 
+0

我认为有一些选项,您可以在CXF关闭不包括在SOAP错误堆栈跟踪。 –

回答

1

这是一个由于Karaf引起的错误,参见https://issues.apache.org/jira/browse/KARAF-4429, ,它使用一个背书的java.lang.Exception替换JDK,以提供增强的日志功能。

感谢此功能,您可以在日志中的StackTrace条目上获得完整的OSGi信息(当您发送log:display命令时是否看到了方括号和[bundleId:bundleSymbolicName:bundleVersion]?)但它引入了一个错误,可以防止JaxB正确编组SOAP错误。

直到Karaf问题就解决了,你可以通过删除文件替代方法在您的保险丝ESB实例的问题:

{FUSE_ESB_HOME}/lib/endorsed/org.apache.karaf.exception-x.x.x.jar 

,你会在日志中的堆栈跟踪的一些元素松动OSGi的信息,但其他一切都应该正确。