Right, but the error message indicates an Axis error, so you must not be
using CXF on the recipient side.

Colm.


On Thu, Sep 12, 2013 at 10:34 AM, hutao1 <279125...@qq.com> wrote:

> hi,Colm
>
> use cxf 2.6.9 version
>
> error:
> Stacktrace
>
> ---------------------------------------------------------------------------------------------------------------------------------------
> org.apache.camel.CamelExecutionException: Exception occurred during
> execution on the exchange: Exchange[Message: <soap:Envelope
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/
> "><soap:Header><wsse:Security
> xmlns:wsse="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
> "
> xmlns:wsu="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
> "><wsu:Timestamp
>
> wsu:Id="TS-2"><wsu:Created>2013-09-12T09:04:19.842Z</wsu:Created><wsu:Expires>2013-09-12T09:09:19.842Z</wsu:Expires></wsu:Timestamp><wsse:UsernameToken
>
> wsu:Id="UsernameToken-1"><wsse:Username>iloyal-web</wsse:Username><wsse:Password
> Type="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest
> ">MgAqAFHtbnYbQxSucZKsvssi2QU=</wsse:Password><wsse:Nonce
> EncodingType="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary
> ">rtFaCVGcBvCyi38ysiYmxQ==</wsse:Nonce><wsu:Created>2013-09-12T09:04:19.841Z</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><ns2:AuthenticateMemberRequest
> xmlns:ns2="h... [Body clipped after 1000 chars, total length is 1414]]
>         at
>
> org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1360)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.builder.ExpressionBuilder$38.evaluate(ExpressionBuilder.java:938)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.support.ExpressionAdapter.evaluate(ExpressionAdapter.java:36)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.bean.MethodInfo$2.evaluateParameterBinding(MethodInfo.java:571)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.bean.MethodInfo$2.evaluate(MethodInfo.java:466)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.bean.MethodInfo.createMethodInvocation(MethodInfo.java:239)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.bean.BeanInfo.createInvocation(BeanInfo.java:278)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.bean.BeanInfo.createInvocation(BeanInfo.java:180)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:143)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:105)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:67)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.impl.ProcessorEndpoint.onExchange(ProcessorEndpoint.java:103)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:71)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.processor.SendProcessor.process(SendProcessor.java:110)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:72)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:398)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.processor.Pipeline.process(Pipeline.java:118)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:191)[camel-core-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.cxf.CxfConsumer$1.asyncInvoke(CxfConsumer.java:92)[camel-cxf-2.12.0.jar:2.12.0]
>         at
>
> org.apache.camel.component.cxf.CxfConsumer$1.invoke(CxfConsumer.java:72)[camel-cxf-2.12.0.jar:2.12.0]
>         at
>
> org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:57)[cxf-2.6.9.jar:2.6.9]
>         at
>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_21]
>         at
>
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_21]
>         at
> java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_21]
>         at
>
> org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)[cxf-2.6.9.jar:2.6.9]
>         at
>
> org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)[cxf-2.6.9.jar:2.6.9]
>         at
>
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)[cxf-2.6.9.jar:2.6.9]
>         at
>
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)[cxf-2.6.9.jar:2.6.9]
>         at
>
> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.serviceRequest(JettyHTTPDestination.java:348)[cxf-rt-transports-http-jetty-2.6.2.jar:2.6.2]
>         at
>
> org.apache.cxf.transport.http_jetty.JettyHTTPDestination.doService(JettyHTTPDestination.java:312)[cxf-rt-transports-http-jetty-2.6.2.jar:2.6.2]
>         at
>
> org.apache.cxf.transport.http_jetty.JettyHTTPHandler.handle(JettyHTTPHandler.java:72)[cxf-rt-transports-http-jetty-2.6.2.jar:2.6.2]
>         at
>
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:943)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:879)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.server.Server.handle(Server.java:349)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)[jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:224)[jetty-http-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:51)[jetty-server-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:586)[jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:44)[jetty-io-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)[jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at
>
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)[jetty-util-7.5.4.v20111024.jar:7.5.4.v20111024]
>         at java.lang.Thread.run(Thread.java:619)[:1.6.0_21]
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/WSDoAllReceiver-Incoming-message-does-not-contain-required-Security-header-tp5739114p5739243.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to