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

Last updated on JUNE 09, 2017

Applies to:

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

Symptoms

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.

Changes

 SchemaValidation is being used

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