@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 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.
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