Attached patch for trunk to provide support for validation.
1. <validate> is implemented for variables of complex type, message or element with complex type but not simple types.
2. <assign validate="yes">...</assign> is implemented as above.
3. Inbound and outbound messages of Pick, Invoke, Reply or OnEvent are validated if <validate-messages>true</validate-message> is added to the deploy.xml for that process. See dd.xsd for details.
Used the attached ValidationTests.zip as the basis of testing. Not integrated as unit tests yet.