@SchemaValidation Annotation On WebService Does Not Validate Against All The Rules From The Schema

(Doc ID 2103600.1)

Last updated on APRIL 15, 2018

Applies to:

Oracle WebLogic Server - Version and later
Information in this document applies to any platform.


On : 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