Forum Discussion

damon's avatar
damon
Regular Visitor
7 years ago

SoapUI support for Strict Layout policy

Hi,

 

I have a WSDL defining a policy which includes:

 

            <sp:Layout>
              <wsp:Policy>
                <sp:Strict />
              </wsp:Policy>
            </sp:Layout>
            <sp:IncludeTimestamp />

When I configure an Outgoing WS-Security Configuration in SoapUI, if I put Timestamp entry followed by a Signature entry, my service reports an error:

 

These policy alternatives can not be satisfied: 
{http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}Layout: Layout does not match the requirements

If I swap the order so that Signature is before Timestamp, then it gets worse:

 

These policy alternatives can not be satisfied: 
{http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}TransportBinding: Received Timestamp does not match the requirements
{http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}IncludeTimestamp
{http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}EndorsingSupportingTokens: The received token does not match the endorsing supporting token requirement
{http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}X509Token: The received token does not match the token inclusion requirement

Can you please confirm whether SoapUI supports Strict Layout, and if so how to configure it correctly?  Or if it is not supported, do you have plans to support this in future? (I saw mention of this in an old post with an internal reference of SOAP-2357.)

 

 Thanks, Damon