You should have some "in" configuration somewhere that configures how
security should be applied to a received message. See for example the
"wss4jInInterceptor" bean here:

http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-reportincident-wssecurity/src/main/resources/META-INF/spring/camel-context.xml?view=markup

Colm.




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

> <cxf:cxfEndpoint id=&quot;reportAuthIncident&quot;
>                    address=&quot;&lt;a
> href=&quot;http://172.21.127.200:$&quot;>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>
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/About-CXF-Camel-Security-header-error-tp5739241p5739249.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