My Oracle Support Banner

Requests Sent to the Oracle API Gateway from SoapUI Fail with XSD Error in Schema Validation Filter (Doc ID 1604257.1)

Last updated on JULY 29, 2019

Applies to:

Oracle API Gateway - Version 11.1.1.6.1 and later
Information in this document applies to any platform.

Symptoms

A backend web service is registered with the Oracle API Gateway (OAG).
The backend web service is secured with a policy which contains a "Configure the connection to the back-end Web Service" filter.
A WSDL is exported from the Gateway.

Problem:

The service cannot be accessed from SoapUI.  The user only gets an error message, similar to "message blocked" (this is the default message).

The Gateway logs show that the policy fails in the Schema Validation Filter:

ERROR   <TIMESTAMP> [<THREAD ID>]             XSD Error: incomplete date value '?' (line: 0, column: xx)
ERROR   <TIMESTAMP> [<THREAD ID>] The message [<MESSAGE ID>] logged Failure at <TIMESTAMP> with log description: Filter failed
ERROR   <TIMESTAMP> [<THREAD ID>] Filter that caused failure: Schema Validation Filter
ERROR   <TIMESTAMP> [<THREAD ID>] Policy '<POLICY>' {
ERROR   <TIMESTAMP> [<THREAD ID>]     Filter 'Service Handler for '<SERVICE>'' Status:  FAILED
ERROR   <TIMESTAMP> [<THREAD ID>]         Filter '1. Request from Client' Status:  FAILED
ERROR   <TIMESTAMP> [<THREAD ID>]            Filter 'SOAP Action Processor' Status:  PASSED
ERROR   <TIMESTAMP> [<THREAD ID>]             Filter 'Schema Validation Filter' Status:  FAILED
ERROR   <TIMESTAMP> [<THREAD ID>] }
ERROR   <TIMESTAMP> [<THREAD ID>] Service Handler for '<SERVICE>' filter failed

Various XSD errors and schema validation errors are observed, for example:

ERROR   <TIMESTAMP> [<THREAD ID>]             XSD Error: buffer not initialized (line: 18, column: xx)
DATA    <TIMESTAMP> [<THREAD ID>]             getting class java.util.Collection with classLoader.loadClass()
DATA    <TIMESTAMP> [<THREAD ID>]             loaded class java.util.Collection
DEBUG   <TIMESTAMP> [<THREAD ID>]             ErrorCount after schema validation: 1


ERROR   <TIMESTAMP> [<THREAD ID>]             XSD Error: incomplete date value '?' (line: 0, column: xx)
ERROR   <TIMESTAMP> [<THREAD ID>] The message [<MESSAGE ID>] logged Failure at <TIMESTAMP> with log description: Filter failed
ERROR   <TIMESTAMP> [<THREAD ID>] Filter that caused failure: Schema Validation Filter

  

Changes

In the Validation tab of the "Configure the connection to the back-end Web Service" filter, XSD schema validation is enabled; for example by selecting "Use WSDL Schema".

Cause

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
Symptoms
Changes
Cause
Solution


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