首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >融合ESB - CXF ESB服务故障

融合ESB - CXF ESB服务故障
EN

Stack Overflow用户
提问于 2014-05-07 14:09:10
回答 2查看 250关注 0票数 0

我在FUSE ESB中公开了一个CXF ESB服务。在发生异常的情况下,应用程序抛出SOAP错误,并且在SOAP UI中响应如下所示。我应该做什么来避免/删除响应中的classContext标记。

代码语言:javascript
复制
<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>
EN

回答 2

Stack Overflow用户

发布于 2016-03-22 00:03:12

这是由于Karaf造成的一个错误,请参阅https://issues.apache.org/jira/browse/KARAF-4429,它使用了一个认可的java.lang.Exception来取代JDK one,以提供增强的日志记录功能。

但是它引入了一个错误,阻止JaxB正确地封送SOAP错误。

在Karaf问题解决之前,您可以通过删除以下文件来解决Fuse ESB实例中的问题:

代码语言:javascript
复制
{FUSE_ESB_HOME}/lib/endorsed/org.apache.karaf.exception-x.x.x.jar

您将在日志中丢失有关StackTrace的某些元素的OSGi信息,但其他一切都应该正常工作。

票数 1
EN

Stack Overflow用户

发布于 2014-05-10 14:27:36

请参阅此页面,位于调试的SOAP错误部分

  • http://cxf.apache.org/docs/debugging-and-logging.html

关于打开|关闭堆栈跟踪之类的选项。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23509989

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档