title: In Spring-WS, while using WS-SecurityPolicy, how do I specify strict layout?
body: <p>I am trying to consume a web-service exposed by Websphere with WS-SecurityPolicy and strict layout. SOAP generated by Spring-WS client fails against due to layout ordering. </p>
  
  <p>The exact error is this (I am using time-stamp, with encryption and signing) : </p>
  
  <pre><code>Signature for timestamp found ahead of timestamp. Strict Layout not followed in incoming message.
  </code></pre>
  
  <p>I am using Wss4jSecurityInterceptor. But I could not find a WSS4J property to enforce a strict layout. </p>
  
  <p>Update : I found a similar query raised in Spring forum <a href="http://forum.spring.io/forum/spring-projects/web-services/71910-ws-security-xwss-and-timestamp-position-in-soap-header" rel="nofollow">here</a>. There is no response to that query. </p>