My Oracle Support Banner

Empty Response (HTTP 200) Using @SchemaValidation When passing Long Strings (Doc ID 1576322.1)

Last updated on JUNE 12, 2023

Applies to:

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


A WebService is annotated with SchemaValidation.

In the schema the type has the following or similar restriction:

<xs:restriction base="xs:string">
<xs:pattern value=".*[^\s].*"/><xs:minLength value="1"/>
<xs:maxLength value="5"/>

When large data is provided, WLS does not return the expected Fault Message

expected for example:

When the String is of a very large size for example 5000 Chars, this reproduces directly and all the time.

When the String is of relatively large size for example 800 Chars, this reproduces intermittently or only after executing the method a few times.

This reproduces when WLS is started with JDK 6 but not with JDK 7

There are no Exceptions reported in the Weblogic .out or .log files.


 SchemaValidation is being used


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.