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

Last updated on JUNE 09, 2016

Applies to:

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

Symptoms

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



Cause

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