@SchemaValidation Annotation On WebService Does Not Validate Against All The Rules From The Schema
Last updated on JUNE 09, 2016
Applies to:Oracle WebLogic Server - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
On : 188.8.131.52.0 version, WLS-WebServices
@SchemaValidation annotation on WebService does not validate against all the rules from the schema.
WSDL/XSD describes input parameter number as mandatory:
MinOccurs="1" means that XML message must contain <number> tag and WebLogic has to validate all requests and server error response should be thrown when request is invalid.
Unfortunately, your SOAP client is able to send SOAP request without <number> tag and your Webservice implementation receives such an invalid request.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms