Results 1 to 2 of 2

Thread: HOWTO Decrypt but keeping signature info

  1. #1
    Join Date
    Jan 2011
    Posts
    2

    Default 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. #2
    Join Date
    Jan 2011
    Posts
    2

    Unhappy

    No one knows how to decrypt without unsigning ?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •