Class ServiceDescriptionValidator
java.lang.Object
org.apache.axis2.jaxws.description.validator.Validator
org.apache.axis2.jaxws.description.validator.ServiceDescriptionValidator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.axis2.jaxws.description.validator.Validator
Validator.ValidationLevel -
Field Summary
Fields inherited from class org.apache.axis2.jaxws.description.validator.Validator
INVALID, VALID, validationFailures -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvalidate()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 methodsbooleanvalidate(boolean performValidation) This validate method gives us flexibility to bypass a validation from set of validation that we need to perform.
-
Constructor Details
-
ServiceDescriptionValidator
-
-
Method Details
-
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 -
validate
public boolean validate(boolean performValidation) Description copied from class:ValidatorThis 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.
-