Syvizo

SOAP Validation



When to use

Use this policy when you want to validate SOAP message against a WSDL



Details

SOAP messages are validated against a WSDL by a server that implements SOAP services. WSDL (Web Services Definition Language) defines the structure of the SOAP message. Usually applications throw an error if the SOAP message is not valid for the WSDL. 

You can use “SOAP Validation” policy when you want to validate the SOAP message before sending it to another service or before processing it.


Configuration

The configuration fields for the policy are:

[* Indicates a mandatory field]

Name *: Display name of the policy

Description: Description of policy

Enabled: Flag to indicate if the policy is enabled. If this field is not checked, the policy will be ignored at runtime and any fields from its output will contain a default initial value

Continue on Error: Flag to indicate that the flow should continue even if this policy throws an error

WSDL: WSDL against which SOAP message needs to be validated. Past the contents of WSDL in this field. The value in this field is used only if the corresponding field in policy inputs is not specified



Input fields

soapRequest: The SOAP request that needs to be validated

wsdlString: The WDSL string that will be used to validate the SOAP request



Output fields

isValid: A boolean value true denotes that the SOAP request is valid for the provided WSDL