error info:
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=&quot;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]
-------------------------------------------------------
camel-config.xml info:

&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>

<beans xmlns="http://www.springframework.org/schema/beans";
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
       xmlns:camel="http://camel.apache.org/schema/spring";
       xmlns:cxf="http://camel.apache.org/schema/cxf";
       xmlns:context="http://www.springframework.org/schema/context";
       xmlns:jaxws="http://cxf.apache.org/jaxws";
       xmlns:xs="http://www.w3.org/2001/XMLSchema";
       xsi:schemaLocation="
       http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
       http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
       http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
       http://camel.apache.org/schema/cxf
http://camel.apache.org/schema/cxf/camel-cxf.xsd";>

 <import resource="classpath:META-INF/cxf/cxf.xml" /> 

  
  <context:property-placeholder
location="classpath:incident.properties,file:target/custom.properties"/>
  
  
  <bean id="realWebService"
class="org.apache.camel.example.cxf.proxy.RealWebServiceBean"
init-method="start" destroy-method="stop">
    
  </bean>
        <bean id="logIn" 
class="org.apache.cxf.interceptor.LoggingInInterceptor" />
        <bean id="logOut" 
class="org.apache.cxf.interceptor.LoggingOutInterceptor"
/>
        <bean id="saajOut"
class="org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor" />
        <bean id="wss4jOut"
class="org.apache.cxf.ws.security.wss4j.WSS4JOutInterceptor">
                <constructor-arg>
                        <map>
                                <entry key="action" value="UsernameToken 
Timestamp" />
                                <entry key="mustUnderstand" value="0" />
                                <entry key="passwordType" 
value="PasswordDigest" />
                                <entry key="user" value="iloyal-web" />
                                <entry key="passwordCallbackRef">
                                        <ref bean="clientPasswordCallback" />
                                </entry>
                        </map>
                </constructor-arg>
        </bean>
        <bean id="clientPasswordCallback"
class="com.ibsplc.iloyal.ClientPasswordCallback">
            <property name="passwords">
                    <map>
                                        <entry key="iloyal-web" 
value="iloyal123" />
                                        <entry key="travel-sky" 
value="CEAEMsky" />
                        </map>
            </property>
        </bean>
  
  <bean id="enrichBean"
class="org.apache.camel.example.cxf.proxy.EnrichBean"/>

  
   <cxf:cxfEndpoint id="reportAuthIncident"
                  
address="http://172.21.127.200:${proxy.port}/camel-example-cxf-proxy/webservices/authMember";
                   endpointName="s:AuthenticateMember"
                   serviceName="s:AuthenticateMemberService"
                   wsdlURL="etc/AuthenticateMemberService.wsdl"
                  
xmlns:s="http://www.ibsplc.com/iloyal/member/authenticatemember/wsdl"; >
                     <cxf:properties> 
                                            <entry key="dataFormat" 
value="CXF_MESSAGE" /> 
                                       </cxf:properties> 
                     
                   <cxf:inInterceptors>
                                                <ref bean="logIn" />
                                        </cxf:inInterceptors>
                                        <cxf:outInterceptors>
                                                <ref bean="saajOut" />
                                                <ref bean="wss4jOut" />
                                                <ref bean="logOut" />
                                        </cxf:outInterceptors>
   </cxf:cxfEndpoint> 
   <cxf:cxfEndpoint id="realreportAuthIncident" 
                  
address="http://172.20.35.232:5220/cea-ws/services/AuthenticateMemberService";
>
                       <cxf:properties> 
                                            <entry key="dataFormat" 
value="CXF_MESSAGE" /> 
                                       </cxf:properties> 
                     
                   <cxf:inInterceptors>
                                                <ref bean="logIn" />
                                        </cxf:inInterceptors>
                                        <cxf:outInterceptors>
                                                <ref bean="saajOut" />
                                                <ref bean="wss4jOut" />
                                                <ref bean="logOut" />
                                        </cxf:outInterceptors>
                                        
   </cxf:cxfEndpoint> 

  
  <camel:camelContext xmlns="http://camel.apache.org/schema/spring";
id="context1">
        
    <propertyPlaceholder id="properties"
location="classpath:incident.properties,file:target/custom.properties"/>
    
    <camel:endpoint id="callRealWebService"
uri="http://172.17.64.133:8080/sdk/SDKService?throwExceptionOnFailure=false"/>
    
        <camel:endpoint id="callAuthRealWebService"
uri="http://172.20.35.232:5220/cea-ws/services/AuthenticateMemberService?throwExceptionOnFailure=false";
/>
    <camel:route trace="true">
      
      <camel:from uri="cxf:bean:reportAuthIncident"/>
      
      <camel:to uri="log:input"/>
      <camel:to uri="bean:enrichBean"/>
      <camel:to uri="cxf:bean:realreportAuthIncident" />
      
       <to uri="log:output"/>
    </camel:route>
  </camel:camelContext>
</beans>








--
View this message in context: 
http://camel.465427.n5.nabble.com/About-CXF-Camel-Security-header-error-tp5739241.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to