Announcement Announcement Module
Collapse
No announcement yet.
HOWTO Decrypt but keeping signature info Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • HOWTO Decrypt but keeping signature info

    Hi all,

    As a first question I have a difficulty using WebServiceTemplate + XwsSecurityInterceptor with signing AND encrypting of SOAP messages.

    Everything works but I need something particular, I need to keep a trace of the requests and responses signed but not encrypted.

    So I did this kind of thing :

    Code:
    	<bean id="webServiceTemplate" class="org.springframework.ws.client.core.WebServiceTemplate" parent="abstractWst">
    		<property name="interceptors">
    			<list>
    				<ref bean="payloadValidatingInterceptor" /> <!-- XML validation check -->
    				<ref bean="wsSecurityInterceptorSign" /> <!-- XwsSecurityInterceptor for signing -->
    				<ref bean="soapFileInterceptor" /> <!-- custom interceptor reading "signed-only" soapmessages -->
    				<ref bean="wsSecurityInterceptorEncrypt" /> <!-- XwsSecurityInterceptor for encryption -->
    			</list>
    		</property>
    	</bean>
    It works well for the request, but the response is unsigned when handled by the wsSecurityInterceptorEncrypt.

    I really need to have a signed-decrypted response...

    Thanks,
    Natha

  • #2
    No one knows how to decrypt without unsigning ?

    Comment

    Working...
    X