servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pchakinala <>
Subject RE: CXFBC Consumer signature or decryption was invalid
Date Wed, 20 Apr 2011 06:34:47 GMT
I Have enclosed my information below.


From: Freeman-2 [via ServiceMix] []

Sent: Wednesday, April 20, 2011 11:43 AM
To: pchakinala
Subject: Re: CXFBC Consumer signature or
decryption was invalid


I understand you append client request in client.html, I guess you   
dump onwire request from your java code client, right? 

[praveen] its right. I have written client  which has worked fine with other CXF Service [deployed
in tomcat ].This java client generates SOAP Request with signature.

I have extracted SOAP header from generated soap XML and was used in client.html .The keystore
 which I used for CXF Service deployed in tomcat ,same used in servicemix also.

So SOAP Header has extracted from my own client.

I'd like see you append your java code client with ws-security   
configuration,  that would be much helpful. 
Below configuration has worked fine with CXF Service.

Client Configuration:

<bean id="client" class="demo.order.OrderProcess" 

      factory-bean="clientFactory" factory-method="create"/>

                <bean id="clientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">

                  <property name="serviceClass" value="demo.order.OrderProcess"/>

                  <property name="address" value="http://localhost:2000/orderapp/OrderProcess"/>

                  <property name="outInterceptors">


                                                <bean class="org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor"

                                                <ref bean="wss4jOutConfiguration" />





                  <bean id="wss4jOutConfiguration" class="">

                                                <property name="properties">


                <entry key="action" value="Signature"/>


      <entry key="user" value="myAlias" />





      <ref bean="passwordCallback"/>


      <entry key="signaturePropFile" value=""/> 

      <entry key="signatureKeyIdentifier" value="DirectReference"/>





                <bean id="passwordCallback" class="demo.order.client.PasswordCallbackHandler"/>




On 2011-4-20, at 下午12:14, pchakinala wrote: 

> Hi, 
> I am using servicemix 4.3 and JDK Version 6  are  using. 
> Regards, 
> Praveen Chakinala 
> -- 
> View this message in context:

> Sent from the ServiceMix - User mailing list archive at 

Freeman Fang 

Email:[hidden email] 
Twitter: freemanfang 
Connect at CamelOne May 24-26 
The Open Source Integration Conference 


If you reply to this email, your message will be added to the discussion below:

To unsubscribe from CXFBC Consumer The signature
or decryption was invalid, click here <>

View this message in context:
Sent from the ServiceMix - User mailing list archive at
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message