Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <inSequence>
- <validate source="$body/reg:RegistrationServiceRequest">
- <on-fail>
- <sequence key="registrationFaultSequence"/>
- </on-fail>
- <schema key="gov:com/testcompany/RegistrationWrapperAttributeTypes.xsd"/>
- <schema key="gov:com/testcompany/RegularRegistrationWrapperTypes.xsd"/>
- </validate>
- .....
- </inSequence>
- <log level="custom">
- <property name="MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
- </log>
- <validate cache-schema="true" description="ValidateCustomerRequest" source="//Customer:Customer" xmlns:Customer="some namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <schema key="gov:custom/Customer.xsd"/>
- <resource key="gov:custom/Customer.xsd" location="Customer.xsd"/>
- <on-fail>
- <makefault version="soap11">
- <code value="soap11Env:VersionMismatch" xmlns:soap11Env="http://schemas.xmlsoap.org/soap/envelope/"/>
- <reason value="Request is Invalid"/>
- </makefault>
- </on-fail>
- </validate>
Add Comment
Please, Sign In to add comment