Class ServiceDescriptionValidator


  • public class ServiceDescriptionValidator
    extends Validator
    • Constructor Detail

      • ServiceDescriptionValidator

        public ServiceDescriptionValidator​(ServiceDescription toValidate)
    • Method Detail

      • validate

        public boolean validate()
        Validate the ServiceDescription as follows 1) Validate that annotations and whatever WSDL is specified is valid 2) Validate that Java implementations are correc a) Service Implementations match SEIs if specified b) Operations match SEI methods
        Specified by:
        validate in class Validator
        Returns:
        true if the ServiceDescription is valid
      • validate

        public boolean validate​(boolean performValidation)
        Description copied from class: Validator
        This validate method gives us flexibility to bypass a validation from set of validation that we need to perform. For example we may skip RespectBinding Validation if this flag is set to false. performVaidation = false - Means validation can be bypassed. performVaidation = true - Means validation cannot be bypassed.
        Overrides:
        validate in class Validator
        Parameters:
        performValidation - - When performVaidation is false we will bypass validation
        Returns: