My Oracle Support Banner

@SchemaValidation Annotation On WebService Does Not Validate Against All The Rules From The Schema (Doc ID 2103600.1)

Last updated on JUNE 12, 2023

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.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.