@SchemaValidation annotation is not validating schema
This is my web service implementation.
@WebService(serviceName = "Service", portName = "ServicePPort", endpointInterface = "my.endpoint.ServicesSOAP", targetNamespace = "http://ws.my.endpoint/", wsdlLocation = "META-INF/wsdl/Services.wsdl")
@SchemaValidation(handler = MyErrorHandler.class)
public class TestServices
I have a wsdl which imports the schema from an xsd.
No matter what type of data I send to this implementation it is never validated. It does not match max/min occurs or dataTypes.
I am running this on Glassfish v3 -- JAX-WS RS 2.2.1