Guest User

Untitled

a guest
Mar 22nd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. <inSequence>
  2. <validate source="$body/reg:RegistrationServiceRequest">
  3. <on-fail>
  4. <sequence key="registrationFaultSequence"/>
  5. </on-fail>
  6. <schema key="gov:com/testcompany/RegistrationWrapperAttributeTypes.xsd"/>
  7. <schema key="gov:com/testcompany/RegularRegistrationWrapperTypes.xsd"/>
  8. </validate>
  9. .....
  10. </inSequence>
  11.  
  12. <log level="custom">
  13. <property name="MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
  14. </log>
  15.  
  16. <validate cache-schema="true" description="ValidateCustomerRequest" source="//Customer:Customer" xmlns:Customer="some namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  17. <schema key="gov:custom/Customer.xsd"/>
  18. <resource key="gov:custom/Customer.xsd" location="Customer.xsd"/>
  19. <on-fail>
  20. <makefault version="soap11">
  21. <code value="soap11Env:VersionMismatch" xmlns:soap11Env="http://schemas.xmlsoap.org/soap/envelope/"/>
  22. <reason value="Request is Invalid"/>
  23. </makefault>
  24. </on-fail>
  25. </validate>
Add Comment
Please, Sign In to add comment