Getting a SoapFault "A header representing a Message Addressing Property is not valid and the message cannot be processed" during CXF webservice call
Issue
During webservice call camel route threw an error below:
2013-10-07 09:22:40,159 | WARN | qtp389752099-507 | PhaseInterceptorChain | ache.cxf.common.logging.LogUtils 405 | 554 - org.apache.cxf.cxf-api - 2.6.0.redhat-60024 | Interceptor for
{http:/xxx.myorg.org/contract/xxxSearch/v1}searchProducer#{http://xxx.myorg.org/contract/xxxSearch/v1}searchByReferenceRequest has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: A header representing a Message Addressing Property is not valid and the message cannot be processed
at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.mediate(MAPAggregatorImpl.java:490)[628:org.apache.cxf.cxf-rt-ws-addr:2.6.0.redhat-60024]
at org.apache.cxf.ws.addressing.impl.MAPAggregatorImpl.handleMessage(MAPAggregatorImpl.java:141)[628:org.apache.cxf.cxf-rt-ws-addr:2.6.0.redhat-60024]
at org.apache.cxf.ws.addressing.MAPAggregator.handleMessage(MAPAggregator.java:203)[554:org.apache.cxf.cxf-api:2.6.0.redhat-60024]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[554:org.apache.cxf.cxf-api:2.6.0.redhat-60024]
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[554:org.apache.cxf.cxf-api:2.6.0.redhat-60024]
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:348)[590:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]
at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:312)[590:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]
at org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[590:org.apache.cxf.cxf-rt-transports-http-jetty:2.6.0.redhat-60024]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1040)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:976)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.Server.handle(Server.java:363)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)[85:org.eclipse.jetty.http:7.6.7.v20120910]
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)[85:org.eclipse.jetty.http:7.6.7.v20120910]
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[89:org.eclipse.jetty.server:7.6.7.v20120910]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)[84:org.eclipse.jetty.io:7.6.7.v20120910]
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)[84:org.eclipse.jetty.io:7.6.7.v20120910]
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[83:org.eclipse.jetty.util:7.6.7.v20120910]
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[83:org.eclipse.jetty.util:7.6.7.v20120910]
at java.lang.Thread.run(Thread.java:662)[:1.6.0_31]
Environment
- Red Hat JBoss Fuse 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
